StaticBuffer< AddressSpace, T, N, InvalidElementUseNumericalZeroValue > Struct Template Reference#
ck::StaticBuffer< AddressSpace, T, N, InvalidElementUseNumericalZeroValue > Struct Template Reference
#include <static_buffer.hpp>
Inheritance diagram for ck::StaticBuffer< AddressSpace, T, N, InvalidElementUseNumericalZeroValue >:
Public Types | |
| using | type = T |
| using | base = StaticallyIndexedArray<T, N> |
Public Member Functions | |
| __host__ __device__ constexpr | StaticBuffer () |
| template<typename... Ys> | |
| __host__ __device__ constexpr StaticBuffer & | operator= (const Tuple< Ys... > &y) |
| __host__ __device__ constexpr StaticBuffer & | operator= (const T &y) |
| template<index_t I> | |
| __host__ __device__ constexpr const T & | operator[] (Number< I > i) const |
| template<index_t I> | |
| __host__ __device__ constexpr T & | operator() (Number< I > i) |
| __host__ __device__ void | Set (T x) |
| __host__ __device__ void | Clear () |
Static Public Member Functions | |
| __host__ static __device__ constexpr AddressSpaceEnum | GetAddressSpace () |
| __host__ static __device__ constexpr bool | IsStaticBuffer () |
| __host__ static __device__ constexpr bool | IsDynamicBuffer () |
Member Typedef Documentation
◆ base
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
| using ck::StaticBuffer< AddressSpace, T, N, InvalidElementUseNumericalZeroValue >::base = StaticallyIndexedArray<T, N> |
◆ type
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
| using ck::StaticBuffer< AddressSpace, T, N, InvalidElementUseNumericalZeroValue >::type = T |
Constructor & Destructor Documentation
◆ StaticBuffer()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
|
inlineconstexpr |
Member Function Documentation
◆ Clear()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
|
inline |
◆ GetAddressSpace()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
|
inlinestaticconstexpr |
◆ IsDynamicBuffer()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
|
inlinestaticconstexpr |
◆ IsStaticBuffer()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
|
inlinestaticconstexpr |
◆ operator()()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
template<index_t I>
|
inlineconstexpr |
◆ operator=() [1/2]
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
|
inlineconstexpr |
◆ operator=() [2/2]
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
template<typename... Ys>
|
inlineconstexpr |
◆ operator[]()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
template<index_t I>
|
inlineconstexpr |
◆ Set()
template<AddressSpaceEnum AddressSpace, typename T, index_t N, bool InvalidElementUseNumericalZeroValue>
|
inline |
The documentation for this struct was generated from the following file: