Skip to content

Commit

Permalink
Remove the CUDAService from the HLT configuration
Browse files Browse the repository at this point in the history
Remove the explicit CUDAService from the HLT configuration, and rely on
ProcessAcceleratorCUDA to load it if necessary.
  • Loading branch information
fwyzard committed Feb 22, 2023
1 parent fbc7890 commit c258024
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Expand Up @@ -211,6 +211,15 @@ def customiseForOffline(process):
return process


# Remove the explicit CUDAService from the HLT configuration, and
# rely on ProcessAcceleratorCUDA to load it if necessary
def customizeHLTfor40852(process):
if hasattr(process, 'CUDAService'):
del process.CUDAService

return process


# CMSSW version specific customizations
def customizeHLTforCMSSW(process, menuType="GRun"):

Expand All @@ -219,4 +228,6 @@ def customizeHLTforCMSSW(process, menuType="GRun"):
# add call to action function in proper order: newest last!
# process = customiseFor12718(process)

process = customizeHLTfor40852(process)

return process

0 comments on commit c258024

Please sign in to comment.