2 #include "DataFormats/TestObjects/interface/ToyProducts.h" 38 auto deviceProduct = std::make_unique<portabletest::TestDeviceCollection>(
size_,
iEvent.queue());
53 psetSize.
add<int32_t>(
"alpaka_serial_sync");
54 psetSize.add<int32_t>(
"alpaka_cuda_async");
55 desc.add(
"size", psetSize);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< edmtest::IntProduct > getToken_
device::EDPutToken< portabletest::TestDeviceCollection > devicePutToken_
device::ESGetToken< cms::alpakatest::AlpakaESTestDataB< Device >, AlpakaESTestRecordB > esToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void produce(device::Event &iEvent, device::EventSetup const &iSetup) override
TestAlpakaStreamProducer(edm::ParameterSet const &config)
T const & getData(edm::ESGetToken< T, R > const &iToken) const
void fill(Queue &queue, portabletest::TestDeviceCollection &collection, double xvalue=0.) const
#define EDM_STRINGIZE(token)
#define DEFINE_FWK_ALPAKA_MODULE(name)