20 template<
typename TElem, std::
size_t Tsize>
27 template<
typename TElem, std::
size_t Tsize>
28 struct GetDev<std::array<TElem, Tsize>>
39 template<
typename TElem, std::
size_t Tsize>
46 template<
typename TElem, std::
size_t Tsize>
52 template<
typename TElem, std::
size_t Tsize>
58 return {std::size(a)};
63 template<
typename TElem, std::
size_t Tsize>
68 return std::data(view);
73 return std::data(view);
78 template<
typename TElem, std::
size_t Tsize>
89 template<
typename TElem, std::
size_t Tsize>
typename trait::IdxType< T >::type Idx
ALPAKA_FN_HOST auto getDevByIdx(TPlatform const &platform, std::size_t const &devIdx) -> Dev< TPlatform >
std::integral_constant< std::size_t, N > DimInt
The dimension getter type trait.
static ALPAKA_FN_HOST auto getDev(std::array< TElem, Tsize > const &) -> DevCpu
constexpr ALPAKA_FN_HOST auto operator()(std::array< TElem, Tsize > const &a) -> Vec< DimInt< 1 >, Idx< std::array< TElem, Tsize >>>
The GetExtents trait for getting the extents of an object as an alpaka::Vec.
ALPAKA_FN_HOST auto operator()(std::array< TElem, Tsize > const &) -> Vec< DimInt< 1 >, Idx< std::array< TElem, Tsize >>>
The GetOffsets trait for getting the offsets of an object as an alpaka::Vec.
static ALPAKA_FN_HOST auto getPtrNative(std::array< TElem, Tsize > &view) -> TElem *
static ALPAKA_FN_HOST auto getPtrNative(std::array< TElem, Tsize > const &view) -> TElem const *
The native pointer get trait.