Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-07 14:23:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def AlpakaServiceROCmAsync(*args, **kwargs):
0004   mod = cms.Service('AlpakaServiceROCmAsync',
0005     enabled = cms.untracked.bool(True),
0006     verbose = cms.untracked.bool(False),
0007     hostAllocator = cms.untracked.PSet(
0008       binGrowth = cms.untracked.uint32(2),
0009       minBin = cms.untracked.uint32(8),
0010       maxBin = cms.untracked.uint32(30),
0011       maxCachedBytes = cms.untracked.uint64(0),
0012       maxCachedFraction = cms.untracked.double(0.8),
0013       fillAllocations = cms.untracked.bool(False),
0014       fillAllocationValue = cms.untracked.uint32(165),
0015       fillReallocations = cms.untracked.bool(False),
0016       fillReallocationValue = cms.untracked.uint32(105),
0017       fillDeallocations = cms.untracked.bool(False),
0018       fillDeallocationValue = cms.untracked.uint32(90),
0019       fillCaches = cms.untracked.bool(False),
0020       fillCacheValue = cms.untracked.uint32(150)
0021     ),
0022     deviceAllocator = cms.untracked.PSet(
0023       binGrowth = cms.untracked.uint32(2),
0024       minBin = cms.untracked.uint32(8),
0025       maxBin = cms.untracked.uint32(30),
0026       maxCachedBytes = cms.untracked.uint64(0),
0027       maxCachedFraction = cms.untracked.double(0.8),
0028       fillAllocations = cms.untracked.bool(False),
0029       fillAllocationValue = cms.untracked.uint32(165),
0030       fillReallocations = cms.untracked.bool(False),
0031       fillReallocationValue = cms.untracked.uint32(105),
0032       fillDeallocations = cms.untracked.bool(False),
0033       fillDeallocationValue = cms.untracked.uint32(90),
0034       fillCaches = cms.untracked.bool(False),
0035       fillCacheValue = cms.untracked.uint32(150)
0036     )
0037   )
0038   for a in args:
0039     mod.update_(a)
0040   mod.update_(kwargs)
0041   return mod