1 #ifndef DataFormats_RecHits_interface_alpakaTrackingRecHitsSoACollection 2 #define DataFormats_RecHits_interface_alpakaTrackingRecHitsSoACollection 5 #include <alpaka/alpaka.hpp> 15 template <
typename TrackerTraits>
28 template <
typename TrackerTraits,
typename TDevice>
30 template <
typename TQueue>
33 alpaka::memcpy(
queue, hostData.buffer(), deviceData.
buffer());
35 printf(
"TrackingRecHitsSoACollection: I'm copying to host.\n");
46 #endif // DataFormats_RecHits_interface_alpakaTrackingRecHitsSoACollection
#define ASSERT_DEVICE_MATCHES_HOST_COLLECTION(DEVICE_COLLECTION, HOST_COLLECTION)
TrackingRecHitsSoACollection< pixelTopology::Phase2 > TrackingRecHitSoAPhase2
TrackingRecHitsSoACollection< pixelTopology::Phase1 > TrackingRecHitSoAPhase1
TrackingRecHitsSoACollection< pixelTopology::HIonPhase1 > TrackingRecHitSoAHIonPhase1
std::conditional_t< std::is_same_v< Device, alpaka::DevCpu >, TrackingRecHitHost< TrackerTraits >, TrackingRecHitDevice< TrackerTraits, Device > > TrackingRecHitsSoACollection