Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def ROCmService(*args, **kwargs):
0004   mod = cms.Service('ROCmService',
0005     enabled = cms.untracked.bool(True),
0006     verbose = cms.untracked.bool(False),
0007     limits = cms.untracked.PSet(
0008       hipLimitStackSize = cms.untracked.int32(-1),
0009       hipLimitMallocHeapSize = cms.untracked.int32(-1)
0010     )
0011   )
0012   for a in args:
0013     mod.update_(a)
0014   mod.update_(kwargs)
0015   return mod