1 #ifndef DataFormats_SiPixelDigiSoA_interface_alpaka_SiPixelDigiErrorsSoACollection_h 2 #define DataFormats_SiPixelDigiSoA_interface_alpaka_SiPixelDigiErrorsSoACollection_h 6 #include <alpaka/alpaka.hpp> 23 template <
typename TDevice>
25 template <
typename TQueue>
28 alpaka::memcpy(
queue, dstData.buffer(), srcData.
buffer());
30 printf(
"SiPixelDigiErrorsSoACollection: I'm copying to host.\n");
39 #endif // DataFormats_SiPixelDigiSoA_interface_alpaka_SiPixelDigiErrorsSoACollection_h
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
std::conditional_t< std::is_same_v< Device, alpaka::DevCpu >, SiPixelDigiErrorsHost, SiPixelDigiErrorsDevice< Device > > SiPixelDigiErrorsSoACollection