alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::GetOffset< TIdx, TOffsets, TSfinae > Struct Template Reference

The x offset get trait. More...

#include <Traits.hpp>

Static Public Member Functions

ALPAKA_NO_HOST_ACC_WARNING static ALPAKA_FN_HOST_ACC auto getOffset (TOffsets const &) -> Idx< TOffsets >
 

Detailed Description

template<typename TIdx, typename TOffsets, typename TSfinae = void>
struct alpaka::trait::GetOffset< TIdx, TOffsets, TSfinae >

The x offset get trait.

If not specialized explicitly it returns 0.

Definition at line 23 of file Traits.hpp.

Member Function Documentation

◆ getOffset()

template<typename TIdx , typename TOffsets , typename TSfinae = void>
ALPAKA_NO_HOST_ACC_WARNING static ALPAKA_FN_HOST_ACC auto alpaka::trait::GetOffset< TIdx, TOffsets, TSfinae >::getOffset ( TOffsets const &  ) -> Idx<TOffsets>
inlinestatic

Definition at line 25 of file Traits.hpp.


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