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>.");
55 <<
label_ <<
" TestCUDAProducerGPU::produce end event " << iEvent.
id().
event() <<
" stream " << iEvent.
streamID();
Log< level::Info, true > LogVerbatim
EventNumber_t event() const
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const float * get() const
TestCUDAProducerGPUKernel const gpuAlgo_
#define DEFINE_FWK_MODULE(type)
edm::EDPutTokenT< cms::cuda::Product< cms::cudatest::Thing > > const dstToken_
static std::string const input
cms::cuda::device::unique_ptr< float[]> runAlgo(const std::string &label, cudaStream_t stream) const
bool get(ProductID const &oid, Handle< PROD > &result) const
void produce(edm::StreamID streamID, edm::Event &iEvent, edm::EventSetup const &iSetup) const override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
~TestCUDAProducerGPU() override=default
void setComment(std::string const &value)
edm::EDGetTokenT< cms::cuda::Product< cms::cudatest::Thing > > const srcToken_
TestCUDAProducerGPU(const edm::ParameterSet &iConfig)
StreamID streamID() const