diff --git a/Configuration/ProcessModifiers/python/alpaka_cff.py b/Configuration/ProcessModifiers/python/alpaka_cff.py new file mode 100644 index 0000000000000..8073154217e61 --- /dev/null +++ b/Configuration/ProcessModifiers/python/alpaka_cff.py @@ -0,0 +1,5 @@ +import FWCore.ParameterSet.Config as cms + +# This modifier is for enabling alpaka modules + +alpaka = cms.Modifier() diff --git a/Configuration/StandardSequences/python/Accelerators_cff.py b/Configuration/StandardSequences/python/Accelerators_cff.py index f313750526119..764a80abbd772 100644 --- a/Configuration/StandardSequences/python/Accelerators_cff.py +++ b/Configuration/StandardSequences/python/Accelerators_cff.py @@ -5,3 +5,4 @@ from HeterogeneousCore.CUDACore.ProcessAcceleratorCUDA_cfi import ProcessAcceleratorCUDA from HeterogeneousCore.ROCmCore.ProcessAcceleratorROCm_cfi import ProcessAcceleratorROCm +from HeterogeneousCore.AlpakaCore.ProcessAcceleratorAlpaka_cfi import ProcessAcceleratorAlpaka diff --git a/Configuration/StandardSequences/python/Services_cff.py b/Configuration/StandardSequences/python/Services_cff.py index c8c0b1e63b226..d7530b51f0ed9 100644 --- a/Configuration/StandardSequences/python/Services_cff.py +++ b/Configuration/StandardSequences/python/Services_cff.py @@ -15,7 +15,9 @@ def _addProcessAccelerators(process): from Configuration.ProcessModifiers.gpu_cff import gpu from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit -modifyConfigurationStandardSequencesServicesAddProcessAccelerators_ = (gpu | pixelNtupletFit).makeProcessModifier(_addProcessAccelerators) +from Configuration.ProcessModifiers.alpaka_cff import alpaka + +modifyConfigurationStandardSequencesServicesAddProcessAccelerators_ = (gpu | pixelNtupletFit | alpaka).makeProcessModifier(_addProcessAccelerators) # load TritonService when SONIC workflow is enabled def _addTritonService(process):