16 template<
bool T_multiDimensional = true>
24 typename T_ThreadIdxOrOrigin,
25 typename T_NumThreadsOrUnit,
26 typename T_MultiDimensional = MultiDimensional<true>>
37 T_ThreadIdxOrOrigin threadIdxOrOrigin,
38 T_NumThreadsOrUnit numThreadsOrUnit,
45 constexpr auto size(
auto const& acc)
const
50 constexpr auto idx(
auto const& acc)
const
56 template<
typename T_ThreadGroup,
typename T_ThreadIdxOrOriginRange>
66 if constexpr(T_MultiDimensional::value ==
false)
92 if constexpr(T_MultiDimensional::value ==
false)
#define ALPAKA_TYPEOF(...)
Get the type of instance.
constexpr auto blocksInGrid
constexpr auto threadsInGrid
constexpr auto linearWarpsInGrid
Representation of all warps in the grid as a linearized worker group.
constexpr auto linearThreadsInGrid
constexpr auto linearBlocksInGrid
constexpr auto allThreads
Represent the identity of the executor thread.
constexpr auto linearThreadsInBlock
constexpr auto linearWarpsInBlock
Representation of all warps in a thread block as a linearized worker group.
constexpr auto linearThreadsInWarp
Representation of all threads in a warp as a linearized worker group.
constexpr auto threadsInBlock
functionality which is usable on the accelerator compute device from within a kernel.
constexpr bool isOrigin_v
constexpr auto linearized
constexpr T_IntegralType linearize(Vec< T_IntegralType, T_dim - 1u, T_Storage > const &dim, Vec< T_IntegralType, T_dim, T_OtherStorage > const &idx)
Give the linear index of an N-dimensional index within an N-dimensional index space.
constexpr bool isVector_v
T_ThreadIdxOrOrigin m_threadIdxOrOrigin
constexpr WorkerGroup(T_ThreadIdxOrOrigin threadIdxOrOrigin, T_NumThreadsOrUnit numThreadsOrUnit, T_MultiDimensional=MultiDimensional< true >{})
WorkerGroup constructor.
constexpr auto getThreadSpace(auto const &acc) const
get the thread configuration
constexpr auto size(auto const &acc) const
T_NumThreadsOrUnit m_numThreadsOrUnit
constexpr auto idx(auto const &acc) const
constexpr auto getThreadSpace(auto const &acc) const
get the thread configuration