Skip to content

Commit

Permalink
Merge pull request #40852 from fwyzard/HLT_remove_CUDAService_131x
Browse files Browse the repository at this point in the history
Remove the CUDAService from the HLT configuration
  • Loading branch information
cmsbuild committed Feb 23, 2023
2 parents e173cc8 + c258024 commit 378b0c7
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 378b0c7

Please sign in to comment.