46 for (
int i = 0;
i <
size; ++
i) {
55 auto const& hostProduct = *hostHandle;
57 alpaka::memcpy(iRecord.
queue(), deviceProduct.buffer(), hostProduct.buffer());
std::optional< AlpakaESTestDataCDevice > produceDevice(device::Record< AlpakaESTestRecordC > const &iRecord)
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
std::optional< AlpakaESTestDataCHost > produceHost(AlpakaESTestRecordC const &iRecord)
edm::ESGetToken< AlpakaESTestDataCHost, AlpakaESTestRecordC > hostToken_
static std::string const input
edm::ESGetToken< cms::alpakatest::ESTestDataC, AlpakaESTestRecordC > token_
PRODUCT const & get(ESGetToken< PRODUCT, T > const &iToken) const
TestAlpakaESProducerC(edm::ParameterSet const &iConfig)
auto setWhatProduced(T *iThis, edm::es::Label const &label={})
#define DEFINE_FWK_EVENTSETUP_ALPAKA_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESTransientHandle< TProduct > getTransientHandle(edm::ESGetToken< TProduct, TDepRecord > const &iToken) const