2 #include "DataFormats/TestObjects/interface/ToyProducts.h" 44 auto deviceProduct = std::make_unique<portabletest::TestDeviceCollection>(
size_,
iEvent.queue());
45 auto deviceProductMulti2 = std::make_unique<portabletest::TestDeviceMultiCollection2>(
46 portabletest::TestDeviceMultiCollection2::SizesArray{{
size_,
size2_}},
iEvent.queue());
47 auto deviceProductMulti3 = std::make_unique<portabletest::TestDeviceMultiCollection3>(
67 psetSize.
add<int32_t>(
"alpaka_serial_sync");
68 psetSize.add<int32_t>(
"alpaka_cuda_async");
69 psetSize.add<int32_t>(
"alpaka_rocm_async");
70 desc.add(
"size", psetSize);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< edmtest::IntProduct > getToken_
void fillMulti2(Queue &queue, portabletest::TestDeviceMultiCollection2 &collection, double xvalue=0.) const
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)
device::EDPutToken< portabletest::TestDeviceMultiCollection3 > devicePutTokenMulti3_
device::EDPutToken< portabletest::TestDeviceMultiCollection2 > devicePutTokenMulti2_
auto produces(std::string instanceName) noexcept
declare what type of product will make and with which optional label
#define DEFINE_FWK_ALPAKA_MODULE(name)
void fillMulti3(Queue &queue, portabletest::TestDeviceMultiCollection3 &collection, double xvalue=0.) const