26 template<concepts::Acc TAcc>
37 return acc.m_item_workdiv.get_global_linear_id() == 0;
50 template<concepts::Acc TAcc>
ALPAKA_NO_HOST_ACC_WARNING static ALPAKA_FN_HOST_ACC constexpr auto zeros() -> Vec< TDim, TVal >
Zero value constructor.
#define ALPAKA_FN_ACC
All functions that can be used on an accelerator have to be attributed with ALPAKA_FN_ACC or ALPAKA_F...
The alpaka accelerator library.
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC auto getIdx(TIdx const &idx, TWorkDiv const &workDiv) -> Vec< Dim< TWorkDiv >, Idx< TIdx > >
Get the indices requested.
ALPAKA_FN_ACC constexpr bool oncePerGrid(TAcc const &acc)
typename trait::IdxType< T >::type Idx
ALPAKA_FN_ACC constexpr bool oncePerBlock(TAcc const &acc)
constexpr bool accMatchesTags
typename trait::DimType< T >::type Dim
The dimension type trait alias template to remove the ::type.