Skip to content

Commit

Permalink
Load alpaka process accelerator with other accelerators
Browse files Browse the repository at this point in the history
  • Loading branch information
jsamudio committed Nov 10, 2023
1 parent 1af1c01 commit 11e604f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions Configuration/StandardSequences/python/Accelerators_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions Configuration/StandardSequences/python/Services_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@
def _addProcessAccelerators(process):
process.load("Configuration.StandardSequences.Accelerators_cff")

def _addProcessAcceleratorsAlpaka(process):
process.load("HeterogeneousCore.AlpakaCore.ProcessAcceleratorAlpaka_cfi")

from Configuration.ProcessModifiers.gpu_cff import gpu
from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit
from Configuration.ProcessModifiers.alpaka_cff import alpaka

modifyConfigurationStandardSequencesServicesAddProcessAccelerators_ = (gpu | pixelNtupletFit | alpaka).makeProcessModifier(_addProcessAccelerators)
modifyConfigurationStandardSequencesServicesAddProcessAcceleratorsAlpaka_ = alpaka.makeProcessModifier(_addProcessAcceleratorsAlpaka)

# load TritonService when SONIC workflow is enabled
def _addTritonService(process):
Expand Down

0 comments on commit 11e604f

Please sign in to comment.