alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::GetExtent< TIdxIntegralConst, TExtent, TSfinae > Struct Template Reference

The extent get trait. More...

#include <Traits.hpp>

Static Public Member Functions

ALPAKA_NO_HOST_ACC_WARNING static ALPAKA_FN_HOST_ACC auto getExtent (TExtent const &) -> Idx< TExtent >
 

Detailed Description

template<typename TIdxIntegralConst, typename TExtent, typename TSfinae = void>
struct alpaka::trait::GetExtent< TIdxIntegralConst, TExtent, TSfinae >

The extent get trait.

If not specialized explicitly it returns 1.

Definition at line 27 of file Traits.hpp.

Member Function Documentation

◆ getExtent()

template<typename TIdxIntegralConst , typename TExtent , typename TSfinae = void>
ALPAKA_NO_HOST_ACC_WARNING static ALPAKA_FN_HOST_ACC auto alpaka::trait::GetExtent< TIdxIntegralConst, TExtent, TSfinae >::getExtent ( TExtent const &  ) -> Idx<TExtent>
inlinestatic

Definition at line 29 of file Traits.hpp.


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