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

The CPU threads accelerator block thread index get trait specialization. More...

#include <IdxBtRefThreadIdMap.hpp>

Static Public Member Functions

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

Detailed Description

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

The CPU threads accelerator block thread index get trait specialization.

Definition at line 53 of file IdxBtRefThreadIdMap.hpp.

Member Function Documentation

◆ getIdx()

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

Definition at line 57 of file IdxBtRefThreadIdMap.hpp.


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