Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from HeterogeneousCore.CUDATest.prod1CPU_cfi import prod1CPU as _prod1CPU
0004 from HeterogeneousCore.CUDATest.prod1CUDA_cfi import prod1CUDA
0005 from HeterogeneousCore.CUDATest.prod1FromCUDA_cfi import prod1FromCUDA as _prod1FromCUDA
0006 
0007 from HeterogeneousCore.CUDACore.SwitchProducerCUDA import SwitchProducerCUDA
0008 
0009 prod1 = SwitchProducerCUDA(
0010     cpu = _prod1CPU.clone(),
0011     cuda = _prod1FromCUDA.clone()
0012 )
0013 
0014 prod1Task = cms.Task(
0015     prod1CUDA,
0016     prod1
0017 )