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 f2463be commit 237e5ce
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforCMSSW.py
Original file line number Diff line number Diff line change
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 customizeHLTfor40851(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 = customizeHLTfor40851(process)

return process

0 comments on commit 237e5ce

Please sign in to comment.