30 : label_(iConfig.getParameter<
std::
string>(
"@module_label")),
31 dstToken_{produces<cms::cuda::Product<cms::cudatest::Thing>>()} {}
37 "This EDProducer is part of the TestCUDAProducer* family. It models a GPU algorithm this the first algorithm in " 38 "the chain of the GPU EDProducers. Produces cms::cuda::Productcms::cudatest::Thing>.");
44 edm::LogVerbatim(
"TestCUDAProducerGPUFirst") <<
label_ <<
" TestCUDAProducerGPUFirst::produce begin event " 45 <<
iEvent.id().event() <<
" stream " <<
iEvent.streamID();
53 <<
iEvent.id().event() <<
" stream " <<
iEvent.streamID();
Log< level::Info, true > LogVerbatim
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
TestCUDAProducerGPUKernel const gpuAlgo_
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID stream, edm::Event &iEvent, edm::EventSetup const &iSetup) const override
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
void setComment(std::string const &value)
edm::EDPutTokenT< cms::cuda::Product< cms::cudatest::Thing > > const dstToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
cms::cuda::device::unique_ptr< float[]> runAlgo(const std::string &label, cudaStream_t stream) const
TestCUDAProducerGPUFirst(edm::ParameterSet const &iConfig)
~TestCUDAProducerGPUFirst() override=default