1 #ifndef DataFormats_SiPixelDigiSoA_interface_alpaka_SiPixelDigisSoACollection_h 2 #define DataFormats_SiPixelDigiSoA_interface_alpaka_SiPixelDigisSoACollection_h 6 #include <alpaka/alpaka.hpp> 22 template <
typename TDevice>
24 template <
typename TQueue>
27 alpaka::memcpy(
queue, dstData.buffer(), srcData.
buffer());
36 #endif // DataFormats_SiPixelDigiSoA_interface_alpaka_SiPixelDigisSoACollection_h
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
uint32_t nModules() const
std::conditional_t< std::is_same_v< Device, alpaka::DevCpu >, SiPixelDigisHost, SiPixelDigisDevice< Device > > SiPixelDigisSoACollection
void setNModules(uint32_t nModules)