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.prod5CPU_cfi import prod5CPU as _prod5CPU
0004 from HeterogeneousCore.CUDATest.prod5CUDA_cfi import prod5CUDA
0005 from HeterogeneousCore.CUDATest.prod5FromCUDA_cfi import prod5FromCUDA as _prod5FromCUDA
0006 
0007 from HeterogeneousCore.CUDACore.SwitchProducerCUDA import SwitchProducerCUDA
0008 
0009 prod5 = SwitchProducerCUDA(
0010     cpu = _prod5CPU.clone(),
0011     cuda = _prod5FromCUDA.clone()
0012 )
0013 
0014 prod5Task = cms.Task(
0015     prod5CUDA,
0016     prod5
0017 )