Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-02 00:53:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process( "TEST" )
0004 
0005 process.options = cms.untracked.PSet(
0006     numberOfThreads = cms.untracked.uint32( 4 ),
0007     numberOfStreams = cms.untracked.uint32( 0 ),
0008 )
0009 
0010 process.load('FWCore.MessageService.MessageLogger_cfi')
0011 process.MessageLogger.ROCmService = {}
0012 process.MessageLogger.AlpakaService = {}
0013 
0014 process.load('HeterogeneousCore.ROCmServices.ROCmService_cfi')
0015 
0016 from HeterogeneousCore.AlpakaServices.AlpakaServiceROCmAsync_cfi import AlpakaServiceROCmAsync as _AlpakaServiceROCmAsync
0017 process.AlpakaServiceROCmAsync = _AlpakaServiceROCmAsync.clone(
0018     verbose = True,
0019     hostAllocator = cms.untracked.PSet(
0020       binGrowth = cms.untracked.uint32(2),
0021       minBin = cms.untracked.uint32(8),
0022       maxBin = cms.untracked.uint32(30),
0023       maxCachedBytes = cms.untracked.uint64(0),
0024       maxCachedFraction = cms.untracked.double(0.8),
0025       fillAllocations = cms.untracked.bool(True),
0026       fillAllocationValue = cms.untracked.uint32(165),
0027       fillReallocations = cms.untracked.bool(True),
0028       fillReallocationValue = cms.untracked.uint32(90),
0029       fillDeallocations = cms.untracked.bool(True),
0030       fillDeallocationValue = cms.untracked.uint32(105),
0031       fillCaches = cms.untracked.bool(True),
0032       fillCacheValue = cms.untracked.uint32(150)
0033     ),
0034     deviceAllocator = cms.untracked.PSet(
0035       binGrowth = cms.untracked.uint32(2),
0036       minBin = cms.untracked.uint32(8),
0037       maxBin = cms.untracked.uint32(30),
0038       maxCachedBytes = cms.untracked.uint64(0),
0039       maxCachedFraction = cms.untracked.double(0.8),
0040       fillAllocations = cms.untracked.bool(True),
0041       fillAllocationValue = cms.untracked.uint32(165),
0042       fillReallocations = cms.untracked.bool(True),
0043       fillReallocationValue = cms.untracked.uint32(90),
0044       fillDeallocations = cms.untracked.bool(True),
0045       fillDeallocationValue = cms.untracked.uint32(105),
0046       fillCaches = cms.untracked.bool(True),
0047       fillCacheValue = cms.untracked.uint32(150)
0048     )
0049 )
0050 
0051 process.source = cms.Source("EmptySource")
0052 
0053 process.maxEvents = cms.untracked.PSet(
0054     input = cms.untracked.int32( 0 )
0055 )