1 import FWCore.ParameterSet.Config
as cms
4 from RecoVertex.BeamSpotProducer.offlineBeamSpotToCUDA_cfi
import offlineBeamSpotToCUDA
6 offlineBeamSpotTask = cms.Task(offlineBeamSpot)
8 from Configuration.ProcessModifiers.gpu_cff
import gpu
9 _offlineBeamSpotTask_gpu = offlineBeamSpotTask.copy()
10 _offlineBeamSpotTask_gpu.add(offlineBeamSpotToCUDA)
11 gpu.toReplaceWith(offlineBeamSpotTask, _offlineBeamSpotTask_gpu)