File indexing completed on 2024-08-27 22:59:13
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TestAlpakaStreamProducer_alpaka(**kwargs):
0004 mod = cms.EDProducer('TestAlpakaStreamProducer@alpaka',
0005 source = cms.required.InputTag,
0006 eventSetupSource = cms.ESInputTag('', ''),
0007 productInstanceName = cms.string(''),
0008 size = cms.PSet(
0009 alpaka_serial_sync = cms.required.int32,
0010 alpaka_cuda_async = cms.required.int32,
0011 alpaka_rocm_async = cms.required.int32
0012 ),
0013 mightGet = cms.optional.untracked.vstring,
0014 alpaka = cms.untracked.PSet(
0015 backend = cms.untracked.string('')
0016 )
0017 )
0018 for k,v in kwargs.items():
0019 setattr(mod, k, v)
0020 return mod