alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::test::Array< TType, TSize > Struct Template Reference

#include <Array.hpp>

Public Member Functions

template<typename T_Idx >
ALPAKA_FN_HOST_ACC auto operator[] (const T_Idx idx) const -> TType const &
 
template<typename TIdx >
ALPAKA_FN_HOST_ACC auto operator[] (const TIdx idx) -> TType &
 

Public Attributes

TType m_data [TSize]
 

Detailed Description

template<typename TType, size_t TSize>
struct alpaka::test::Array< TType, TSize >

Definition at line 13 of file Array.hpp.

Member Function Documentation

◆ operator[]() [1/2]

template<typename TType , size_t TSize>
template<typename T_Idx >
ALPAKA_FN_HOST_ACC auto alpaka::test::Array< TType, TSize >::operator[] ( const T_Idx  idx) const -> TType const&
inline

Definition at line 18 of file Array.hpp.

◆ operator[]() [2/2]

template<typename TType , size_t TSize>
template<typename TIdx >
ALPAKA_FN_HOST_ACC auto alpaka::test::Array< TType, TSize >::operator[] ( const TIdx  idx) -> TType&
inline

Definition at line 24 of file Array.hpp.

Member Data Documentation

◆ m_data

template<typename TType , size_t TSize>
TType alpaka::test::Array< TType, TSize >::m_data[TSize]

Definition at line 15 of file Array.hpp.


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