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();
Log< level::Info, true > LogVerbatim
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TestCUDAProducerGPUKernel const gpuAlgo_
#define DEFINE_FWK_MODULE(type)
edm::EDPutTokenT< cms::cuda::Product< cms::cudatest::Thing > > const dstToken_
static std::string const input
void produce(edm::StreamID streamID, edm::Event &iEvent, edm::EventSetup const &iSetup) const override
~TestCUDAProducerGPU() override=default
Namespace of DDCMS conversion namespace.
void setComment(std::string const &value)
edm::EDGetTokenT< cms::cuda::Product< cms::cudatest::Thing > > const srcToken_
TestCUDAProducerGPU(const edm::ParameterSet &iConfig)
cms::cuda::device::unique_ptr< float[]> runAlgo(const std::string &label, cudaStream_t stream) const