Go to the documentation of this file.
31 : label_(iConfig.getParameter<
std::
string>(
"@module_label")),
32 srcToken_(consumes<
cms::
cuda::Product<
cms::cudatest::Thing>>(iConfig.getParameter<
edm::
InputTag>(
"src"))),
33 dstToken_(produces<
cms::
cuda::Product<
cms::cudatest::Thing>>()) {}
40 "This EDProducer is part of the TestCUDAProducer* family. It models a GPU algorithm this is not the first "
41 "algorithm in the chain of the GPU EDProducers. Produces cms::cuda::Product<cms::cudatest::Thing>.");
46 <<
iEvent.id().event() <<
" stream " <<
iEvent.streamID();
55 <<
label_ <<
" TestCUDAProducerGPU::produce end event " <<
iEvent.id().event() <<
" stream " <<
iEvent.streamID();
void produce(edm::StreamID streamID, edm::Event &iEvent, edm::EventSetup const &iSetup) const override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static const std::string input
cms::cuda::device::unique_ptr< float[]> runAlgo(const std::string &label, cudaStream_t stream) const
~TestCUDAProducerGPU() override=default
const edm::EDGetTokenT< cms::cuda::Product< cms::cudatest::Thing > > srcToken_
TestCUDAProducerGPU(const edm::ParameterSet &iConfig)
const TestCUDAProducerGPUKernel gpuAlgo_
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void setComment(std::string const &value)
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
const edm::EDPutTokenT< cms::cuda::Product< cms::cudatest::Thing > > dstToken_
Namespace of DDCMS conversion namespace.