CMS 3D CMS Logo

Services_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # random numbers initialization service
6 from IOMC.RandomEngine.IOMC_cff import *
7 
8 # DQM store service
10 
11 # load ProcessAccelerators (that set the e.g. the necessary CUDA
12 # stuff) when the "gpu" or "pixelNtupletFit" modifiers are enabled
14  process.load("Configuration.StandardSequences.Accelerators_cff")
15 
17 from Configuration.ProcessModifiers.pixelNtupletFit_cff import pixelNtupletFit
19 
20 modifyConfigurationStandardSequencesServicesAddProcessAccelerators_ = (gpu | pixelNtupletFit | alpaka).makeProcessModifier(_addProcessAccelerators)
21 
22 # load TritonService when SONIC workflow is enabled
23 def _addTritonService(process):
24  process.load("HeterogeneousCore.SonicTriton.TritonService_cff")
25 from Configuration.ProcessModifiers.enableSonicTriton_cff import enableSonicTriton
26 modifyConfigurationStandardSequencesServicesAddTritonService_ = enableSonicTriton.makeProcessModifier(_addTritonService)
def _addTritonService(process)
Definition: Services_cff.py:23
def _addProcessAccelerators(process)
Definition: Services_cff.py:13