/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck/tensor/static_tensor.hpp Source File#
static_tensor.hpp
Go to the documentation of this file.
__host__ constexpr __device__ auto integer_divide_ceil(X x, Y y)
Definition: math.hpp:72
Definition: ck.hpp:264
__host__ constexpr __device__ auto make_static_tensor(TensorDesc)
Definition: static_tensor.hpp:255
__host__ constexpr __device__ auto to_multi_index(const T &x)
Definition: array_multi_index.hpp:28
__host__ constexpr __device__ auto make_tensor_coordinate(const TensorDesc &tensor_desc, const VisibleIndex &idx_visible)
Definition: tensor_descriptor.hpp:407
__host__ constexpr __device__ bool coordinate_has_valid_offset(const TensorDesc &tensor_desc, const TensorCoord &coord)
Definition: tensor_descriptor.hpp:587
__host__ constexpr __device__ const auto & GetVectorTypeReference(Number< I > i) const
Definition: static_buffer.hpp:156
Definition: static_tensor.hpp:16
static constexpr T zero_scalar_value_
Definition: static_tensor.hpp:80
__host__ constexpr __device__ StaticTensor(T invalid_element_value)
Definition: static_tensor.hpp:23
__host__ constexpr __device__ T & operator()(Idx)
Definition: static_tensor.hpp:61
static constexpr index_t element_space_size_
Definition: static_tensor.hpp:19
const T invalid_element_scalar_value_
Definition: static_tensor.hpp:81
__host__ constexpr __device__ const T & operator[](Idx) const
Definition: static_tensor.hpp:32
__host__ constexpr __device__ StaticTensor()
Definition: static_tensor.hpp:21
StaticBuffer< AddressSpace, T, element_space_size_, true > data_
Definition: static_tensor.hpp:79
Definition: static_tensor.hpp:93
static constexpr index_t num_of_vector_
Definition: static_tensor.hpp:98
__host__ constexpr __device__ S & operator()(Idx)
Definition: static_tensor.hpp:148
const S invalid_element_scalar_value_
Definition: static_tensor.hpp:247
__host__ constexpr __device__ void SetAsType(Idx, X x)
Definition: static_tensor.hpp:207
S ignored_element_scalar_
Definition: static_tensor.hpp:248
static constexpr S zero_scalar_value_
Definition: static_tensor.hpp:246
__host__ constexpr __device__ StaticTensorTupleOfVectorBuffer()
Definition: static_tensor.hpp:103
__host__ constexpr __device__ const S & operator[](Idx) const
Definition: static_tensor.hpp:118
__host__ constexpr __device__ const V & GetVectorTypeReference(Idx) const
Definition: static_tensor.hpp:224
StaticBufferTupleOfVector< AddressSpace, S, num_of_vector_, ScalarPerVector, true > data_
Definition: static_tensor.hpp:245
__host__ constexpr __device__ V & GetVectorTypeReference(Idx)
Definition: static_tensor.hpp:236
__host__ constexpr __device__ X GetAsType(Idx) const
Definition: static_tensor.hpp:173
static constexpr index_t element_space_size_
Definition: static_tensor.hpp:96
static constexpr auto desc_
Definition: static_tensor.hpp:94
__host__ constexpr __device__ StaticTensorTupleOfVectorBuffer(S invalid_element_value)
Definition: static_tensor.hpp:108
static constexpr index_t ndim_
Definition: static_tensor.hpp:95
Definition: integral_constant.hpp:10
Definition: is_known_at_compile_time.hpp:14
Definition: type.hpp:177
Definition: data_type.hpp:347