Skip to content

Commit

Permalink
Enable the CUDAService in the MEssageLogger by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Sep 2, 2021
1 parent 998a785 commit 0147cfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Configuration/StandardSequences/python/Services_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

# load CUDA services when the "gpu" or "pixelNtupletFit" modifiers are enabled
def _addCUDAServices(process):
process.load("HeterogeneousCore.CUDAServices.CUDAService_cfi")
process.load("HeterogeneousCore.CUDAServices.CUDAService_cfi")
if 'MessageLogger' in process.__dict__:
process.MessageLogger.CUDAService = cms.untracked.PSet()

from Configuration.ProcessModifiers.gpu_cff import gpu
from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit
Expand Down
4 changes: 3 additions & 1 deletion HLTrigger/Configuration/python/customizeHLTforPatatrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ def customiseCommon(process):
# Services

process.load("HeterogeneousCore.CUDAServices.CUDAService_cfi")
if 'MessageLogger' in process.__dict__:
process.MessageLogger.CUDAService = cms.untracked.PSet()

# NVProfilerService is broken in CMSSW 12.0,x and later
# NVProfilerService is broken in CMSSW 12.0.x and later
#process.load("HeterogeneousCore.CUDAServices.NVProfilerService_cfi")


Expand Down

0 comments on commit 0147cfe

Please sign in to comment.