alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::GetIdx< bt::IdxBtZero< TDim, TIdx >, origin::Block, unit::Threads > Struct Template Reference

The zero block thread index provider block thread index get trait specialization. More...

#include <IdxBtZero.hpp>

Static Public Member Functions

template<typename TWorkDiv >
static ALPAKA_FN_HOST auto getIdx (bt::IdxBtZero< TDim, TIdx > const &, TWorkDiv const &) -> Vec< TDim, TIdx >
 

Detailed Description

template<typename TDim, typename TIdx>
struct alpaka::trait::GetIdx< bt::IdxBtZero< TDim, TIdx >, origin::Block, unit::Threads >

The zero block thread index provider block thread index get trait specialization.

Definition at line 34 of file IdxBtZero.hpp.

Member Function Documentation

◆ getIdx()

template<typename TDim , typename TIdx >
template<typename TWorkDiv >
static ALPAKA_FN_HOST auto alpaka::trait::GetIdx< bt::IdxBtZero< TDim, TIdx >, origin::Block, unit::Threads >::getIdx ( bt::IdxBtZero< TDim, TIdx > const &  ,
TWorkDiv const &   
) -> Vec<TDim, TIdx>
inlinestatic
Returns
The index of the current thread in the block.

Definition at line 38 of file IdxBtZero.hpp.


The documentation for this struct was generated from the following file: