static_buffer.hpp Source File#
static_buffer.hpp
Go to the documentation of this file.
Definition ck.hpp:268
__host__ __device__ constexpr auto make_static_buffer(Number< N >)
Definition static_buffer.hpp:186
typename detail::StaticallyIndexedArrayImpl< T, N >::type StaticallyIndexedArray
Definition utility/statically_indexed_array.hpp:45
Definition static_buffer.hpp:16
__host__ __device__ constexpr StaticBuffer()
Definition static_buffer.hpp:20
AccDataType type
Definition static_buffer.hpp:17
__host__ static __device__ constexpr bool IsDynamicBuffer()
Definition static_buffer.hpp:42
__host__ __device__ constexpr StaticBuffer & operator=(const T &y)
Definition static_buffer.hpp:31
__host__ __device__ constexpr StaticBuffer & operator=(const Tuple< Ys... > &y)
Definition static_buffer.hpp:23
StaticallyIndexedArray< AccDataType, N > base
Definition static_buffer.hpp:18
__host__ __device__ constexpr T & operator()(Number< I > i)
Definition static_buffer.hpp:53
__host__ __device__ constexpr const T & operator[](Number< I > i) const
Definition static_buffer.hpp:46
__host__ static __device__ constexpr bool IsStaticBuffer()
Definition static_buffer.hpp:40
__host__ static __device__ constexpr AddressSpaceEnum GetAddressSpace()
Definition static_buffer.hpp:38
__host__ static __device__ constexpr bool IsDynamicBuffer()
Definition static_buffer.hpp:89
__host__ __device__ constexpr void SetAsType(Number< I > i, X x)
Definition static_buffer.hpp:140
__host__ static __device__ constexpr index_t Size()
Definition static_buffer.hpp:91
__host__ __device__ void Clear()
Definition static_buffer.hpp:177
StaticallyIndexedArray< vector_type< S, ScalarPerVector >, NumOfVector > base
Definition static_buffer.hpp:77
__host__ __device__ constexpr auto & GetVectorTypeReference(Number< I > i)
Definition static_buffer.hpp:168
__host__ __device__ constexpr const S & operator[](Number< I > i) const
Definition static_buffer.hpp:96
__host__ static __device__ constexpr bool IsStaticBuffer()
Definition static_buffer.hpp:87
__host__ __device__ constexpr auto GetAsType(Number< I > i) const
Definition static_buffer.hpp:121
__host__ __device__ constexpr S & operator()(Number< I > i)
Definition static_buffer.hpp:107
__host__ __device__ constexpr const auto & GetVectorTypeReference(Number< I > i) const
Definition static_buffer.hpp:156
typename vector_type< S, ScalarPerVector >::type V
Definition static_buffer.hpp:76
static constexpr auto s_per_buf
Definition static_buffer.hpp:81
__host__ static __device__ constexpr AddressSpaceEnum GetAddressSpace()
Definition static_buffer.hpp:85
__host__ __device__ constexpr StaticBufferTupleOfVector()
Definition static_buffer.hpp:83
static constexpr auto num_of_v_
Definition static_buffer.hpp:80
Definition utility/tuple.hpp:117
Definition functional2.hpp:33
Definition dtype_vector.hpp:10