CMS 3D CMS Logo

prod5Switch_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from HeterogeneousCore.CUDATest.prod5CPU_cfi import prod5CPU as _prod5CPU
4 from HeterogeneousCore.CUDATest.prod5CUDA_cfi import prod5CUDA
5 from HeterogeneousCore.CUDATest.prod5FromCUDA_cfi import prod5FromCUDA as _prod5FromCUDA
6 
7 from HeterogeneousCore.CUDACore.SwitchProducerCUDA import SwitchProducerCUDA
8 
10  cpu = _prod5CPU.clone(),
11  cuda = _prod5FromCUDA.clone()
12 )
13 
14 prod5Task = cms.Task(
15  prod5CUDA,
16  prod5
17 )