1 #ifndef DataFormats_Portable_interface_PortableCollection_h 2 #define DataFormats_Portable_interface_PortableCollection_h 4 #include <alpaka/alpaka.hpp> 14 template <
typename T,
typename TDev,
typename = std::enable_if_t<alpaka::isDevice<TDev>>>
26 template <
typename TDev,
typename T0,
typename... Args>
32 template <
typename T0,
typename... Args>
40 template <
typename T,
typename TDev,
typename = std::enable_if_t<alpaka::isDevice<TDev>>>
44 template <
typename TDev,
typename T0,
typename... Args>
49 template <
typename TLayout,
typename TDevice>
51 template <
typename TQueue>
54 alpaka::memcpy(
queue, dstData.buffer(), srcData.
buffer());
59 template <
typename TDev,
typename T0,
typename... Args>
61 template <
typename TQueue>
64 alpaka::memcpy(
queue, dstData.buffer(), srcData.
buffer());
69 template <
typename TLayout>
71 template <
typename TQueue>
75 alpaka::memcpy(
queue, dstData.buffer(), srcData.
buffer());
80 template <
typename TDev,
typename T0,
typename... Args>
82 template <
typename TQueue>
86 alpaka::memcpy(
queue, dstData.buffer(), srcData.
buffer());
92 #endif // DataFormats_Portable_interface_PortableCollection_h
typename traits::PortableMultiCollectionTrait< TDev, T0, Args... >::CollectionType PortableMultiCollection
typename traits::PortableCollectionTrait< T, TDev >::CollectionType PortableCollection