7 process.load(
'HeterogeneousCore.AlpakaServices.AlpakaServiceSerialSync_cfi')
11 process.load(
'HeterogeneousCore.CUDAServices.CUDAService_cfi')
12 process.load(
'HeterogeneousCore.AlpakaServices.AlpakaServiceCudaAsync_cfi')
18 process.load(
'HeterogeneousCore.ROCmServices.ROCmService_cfi')
19 process.load(
'HeterogeneousCore.AlpakaServices.AlpakaServiceROCmAsync_cfi')
24 for name
in process.services_():
25 if name.startswith(
'AlpakaService'):
26 service = getattr(process, name)
28 service.hostAllocator.fillAllocations =
True 29 service.hostAllocator.fillAllocationValue = 0xB4
30 service.hostAllocator.fillReallocations =
True 31 service.hostAllocator.fillReallocationValue = 0x78
32 service.hostAllocator.fillDeallocations =
True 33 service.hostAllocator.fillDeallocationValue = 0x4B
34 service.hostAllocator.fillCaches =
True 35 service.hostAllocator.fillCacheValue = 0x87
37 service.deviceAllocator.fillAllocations =
True 38 service.deviceAllocator.fillAllocationValue = 0xA5
39 service.deviceAllocator.fillReallocations =
True 40 service.deviceAllocator.fillReallocationValue = 0x69
41 service.deviceAllocator.fillDeallocations =
True 42 service.deviceAllocator.fillDeallocationValue = 0x5A
43 service.deviceAllocator.fillCaches =
True 44 service.deviceAllocator.fillCacheValue = 0x96
47 def customiseAlpakaServiceMemoryFilling(process)