1 #ifndef HeterogeneousCore_AlpakaTest_interface_AlpakaESTestData_h 2 #define HeterogeneousCore_AlpakaTest_interface_AlpakaESTestData_h 17 template <
typename TDev>
30 auto size()
const {
return alpaka::getExtentProduct(
buffer_); }
43 template <
typename TQueue>
55 auto dstBuffer = cms::alpakatools::make_device_buffer<int[]>(
queue, srcData.
size());
cms::alpakatools::const_device_buffer< TDev, int[]> ConstBuffer
Namespace of DDCMS conversion namespace.
ConstBuffer const_buffer() const
AlpakaESTestDataB(Buffer buffer)
ConstBuffer buffer() const
cms::alpakatools::device_buffer< TDev, int[]> Buffer