CMS 3D CMS Logo

EcalMonitorTask_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 # Customization to run the CPU vs GPU comparison task if the job runs on a GPU enabled machine
7 from DQM.EcalMonitorTasks.ecalGpuTask_cfi import ecalGpuTask
8 
9 gpuValidationEcal.toModify(ecalGpuTask.params, runGpuTask = True)
10 gpuValidationEcal.toModify(ecalMonitorTask.workers, func = lambda workers: workers.append("GpuTask"))
11 gpuValidationEcal.toModify(ecalMonitorTask, workerParameters = dict(GpuTask = ecalGpuTask))