StaticallyIndexedArray_v2< T, N > Struct Template Reference#
ck::StaticallyIndexedArray_v2< T, N > Struct Template Reference
#include <statically_indexed_array.hpp>
Public Member Functions | |
| __host__ __device__ constexpr | StaticallyIndexedArray_v2 ()=default |
| template<index_t I> | |
| __host__ __device__ constexpr const auto & | At (Number< I >) const |
| template<index_t I> | |
| __host__ __device__ constexpr auto & | At (Number< I >) |
| template<index_t I> | |
| __host__ __device__ constexpr const auto & | operator[] (Number< I > i) const |
| template<index_t I> | |
| __host__ __device__ constexpr auto & | operator() (Number< I > i) |
Static Public Member Functions | |
| __host__ static __device__ constexpr index_t | Size () |
| __host__ static __device__ constexpr bool | IsStaticBuffer () |
Public Attributes | |
| T | data_ [N] |
Constructor & Destructor Documentation
◆ StaticallyIndexedArray_v2()
template<typename T, index_t N>
|
constexprdefault |
Member Function Documentation
◆ At() [1/2]
template<typename T, index_t N>
template<index_t I>
|
inlineconstexpr |
◆ At() [2/2]
template<typename T, index_t N>
template<index_t I>
|
inlineconstexpr |
◆ IsStaticBuffer()
template<typename T, index_t N>
|
inlinestaticconstexpr |
◆ operator()()
template<typename T, index_t N>
template<index_t I>
|
inlineconstexpr |
◆ operator[]()
template<typename T, index_t N>
template<index_t I>
|
inlineconstexpr |
◆ Size()
template<typename T, index_t N>
|
inlinestaticconstexpr |
Member Data Documentation
◆ data_
template<typename T, index_t N>
| T ck::StaticallyIndexedArray_v2< T, N >::data_[N] |
The documentation for this struct was generated from the following file: