alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::trait Namespace Reference

Classes

struct  GetAdjustedAlignment
 Adjusting the requested in alignment in order to meet device specific constraints. More...
struct  GetArchSimdWidth
struct  GetCachelineSize
struct  GetDim
struct  GetDim< alpaka::Simd< T_Type, T_width, T_Storage > >
struct  GetDim< alpaka::SimdMask< T_Type, T_width, T_Storage > >
struct  GetDim< alpaka::Vec< T_Type, T_dim, T_Storage > >
struct  GetDim< std::array< T_Type, T_size > >
struct  GetDim< std::span< T_Type, T_size > >
struct  GetDim< std::vector< T_Type, T_Allocator > >
struct  GetDim< T >
struct  GetIntrinsicImpl
 Defines the implementation used for intrinsics. More...
struct  GetMathImpl
 Map's all API's by default to stl math functions. More...
struct  GetNumPipelines
 Number of commands a CPU can issue at the same time. More...
struct  GetSimdMaskStorageType
 Get the storage type for a SIMD mask pack. More...
struct  GetSimdStorageType
 Get the storage type for a SIMD pack. More...
struct  GetValueType
struct  GetValueType< alpaka::Simd< T_Type, T_width, T_Storage > >
struct  GetValueType< alpaka::SimdMask< T_Type, T_width, T_Storage > >
struct  GetValueType< math::internal::Complex< T > >
struct  GetValueType< std::array< T_Type, T_size > >
struct  GetValueType< std::span< T_Type, T_size > >
struct  GetValueType< std::vector< T_Type, T_Allocator > >
struct  GetValueType< T >
struct  GetValueType< Vec< T_Type, T_dim, T_Storage > >
struct  GetVec
struct  GetVec< alpaka::Vec< T_Type, T_dim, T_Storage > >
struct  GetVec< T >
struct  IsAlignment
struct  IsAlignment< Alignment< T_byte > >
struct  IsApi
struct  IsBoundaryDirection
struct  IsBoundaryDirection< BoundaryDirection< T_dim, T_LowHaloVec, T_UpHaloVec > >
struct  IsCVector
struct  IsCVector< Vec< T_Type, T_dim, detail::CVec< T_Type, T_values... > > >
struct  IsExecutor
struct  IsExecutor< exec::AnyExecutor >
struct  IsExecutor< exec::CpuOmpBlocks >
struct  IsExecutor< exec::CpuSerial >
struct  IsExecutor< exec::CpuTbbBlocks >
struct  IsExecutor< exec::GpuCuda >
struct  IsExecutor< exec::GpuHip >
struct  IsExecutor< exec::OneApi >
struct  IsIndexRange
struct  IsIndexRange< T >
struct  IsKernelArgumentTriviallyCopyable
 Check if a type used as kernel argument is trivially copyable. More...
struct  IsKernelBundle
struct  IsKernelTriviallyCopyable
 Check if the kernel type is trivially copyable. More...
struct  IsLazyIndexRange
struct  IsLazyIndexRange< T >
struct  IsSimd
struct  IsSimd< Simd< T_Type, T_width, T_Storage > >
struct  IsSimdMask
struct  IsSimdMask< SimdMask< T_Type, T_width, T_Storage > >
struct  IsSimdPtr
struct  IsSimdPtr< T >
struct  IsTag
struct  IsTag< Tag< T_Id > >
struct  IsVector
struct  IsVector< Vec< T_Type, T_dim, T_Storage > >
struct  ToDictEntry

Typedefs

template<typename T>
using GetValueType_t = typename GetValueType<T>::type
template<typename T>
using getVec_t = typename GetVec<T>::type

Functions

template<alpaka::concepts::Api T_Api>
constexpr decltype(auto) getIntrinsicImpl (T_Api const api)
template<alpaka::concepts::Api T_Api>
constexpr decltype(auto) getMathImpl (T_Api const api)

Variables

template<typename T>
constexpr uint32_t getDim_v = GetDim<T>::value
template<typename T_Id>
constexpr bool isTag_v = IsTag<T_Id>::value

Typedef Documentation

◆ GetValueType_t

template<typename T>
using alpaka::trait::GetValueType_t = typename GetValueType<T>::type

Definition at line 65 of file trait.hpp.

◆ getVec_t

template<typename T>
using alpaka::trait::getVec_t = typename GetVec<T>::type

Definition at line 948 of file Vec.hpp.

Function Documentation

◆ getIntrinsicImpl()

template<alpaka::concepts::Api T_Api>
decltype(auto) alpaka::trait::getIntrinsicImpl ( T_Api const api)
constexpr

Definition at line 55 of file trait.hpp.

◆ getMathImpl()

template<alpaka::concepts::Api T_Api>
decltype(auto) alpaka::trait::getMathImpl ( T_Api const api)
constexpr

Definition at line 33 of file trait.hpp.

Variable Documentation

◆ getDim_v

template<typename T>
uint32_t alpaka::trait::getDim_v = GetDim<T>::value
constexpr

Definition at line 41 of file trait.hpp.

◆ isTag_v

template<typename T_Id>
bool alpaka::trait::isTag_v = IsTag<T_Id>::value
constexpr

Definition at line 34 of file Tag.hpp.