CMS 3D CMS Logo

prod1Switch_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from HeterogeneousCore.CUDATest.prod1CPU_cfi import prod1CPU as _prod1CPU
4 from HeterogeneousCore.CUDATest.prod1CUDA_cfi import prod1CUDA
5 from HeterogeneousCore.CUDATest.prod1FromCUDA_cfi import prod1FromCUDA as _prod1FromCUDA
6 
7 from HeterogeneousCore.CUDACore.SwitchProducerCUDA import SwitchProducerCUDA
8 
10  cpu = _prod1CPU.clone(),
11  cuda = _prod1FromCUDA.clone()
12 )
13 
14 prod1Task = cms.Task(
15  prod1CUDA,
16  prod1
17 )
SwitchProducerCUDA
Definition: SwitchProducerCUDA.py:1