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

The OpenMP accelerator block thread index get trait specialization. More...

#include <IdxBtOmp.hpp>

Static Public Member Functions

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

Detailed Description

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

The OpenMP accelerator block thread index get trait specialization.

Definition at line 41 of file IdxBtOmp.hpp.

Member Function Documentation

◆ getIdx()

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

Definition at line 45 of file IdxBtOmp.hpp.


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