Go to the documentation of this file.
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();
cms::cuda::device::unique_ptr< float[]> runAlgo(const std::string &label, cudaStream_t stream) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID stream, edm::Event &iEvent, edm::EventSetup const &iSetup) const override
~TestCUDAProducerGPUFirst() override=default
TestCUDAProducerGPUFirst(edm::ParameterSet const &iConfig)
void setComment(std::string const &value)
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
Log< level::Info, true > LogVerbatim
const TestCUDAProducerGPUKernel gpuAlgo_
const edm::EDPutTokenT< cms::cuda::Product< cms::cudatest::Thing > > dstToken_
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)