alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::GetIdx< bt::IdxBtLinear< DimInt< 1u >, TIdx >, origin::Block, unit::Threads > Struct Template Reference

#include <IdxBtLinear.hpp>

Static Public Member Functions

template<typename TWorkDiv >
static auto getIdx (bt::IdxBtLinear< DimInt< 1u >, TIdx > const &idx, TWorkDiv const &) -> Vec< DimInt< 1u >, TIdx >
 

Detailed Description

template<typename TIdx>
struct alpaka::trait::GetIdx< bt::IdxBtLinear< DimInt< 1u >, TIdx >, origin::Block, unit::Threads >

Definition at line 55 of file IdxBtLinear.hpp.

Member Function Documentation

◆ getIdx()

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

Definition at line 59 of file IdxBtLinear.hpp.


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