/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/ops/batched_contraction/utils/tensor_descriptor_utils.hpp Source File#
tensor_descriptor_utils.hpp
Go to the documentation of this file.
Definition: cluster_descriptor.hpp:13
constexpr CK_TILE_HOST_DEVICE auto make_naive_tensor_descriptor(const tuple< Lengths... > &lengths, const tuple< Strides... > &strides, number< GuaranteedLastDimensionVectorLength >=number<-1 >{}, number< GuaranteedLastDimensionVectorStride >=number<-1 >{})
Definition: tensor_descriptor.hpp:274
constexpr CK_TILE_HOST_DEVICE auto make_merge_transform(const LowLengths &low_lengths)
Definition: coordinate_transform.hpp:1615
constexpr CK_TILE_HOST_DEVICE auto transform_tensor_descriptor(const OldTensorDescriptor &old_tensor_desc, const NewTransforms &new_transforms, NewLowerDimensionOldTopIdss, NewUpperDimensionNewTopIdss)
Definition: tensor_descriptor.hpp:203
constexpr CK_TILE_HOST_DEVICE auto generate_tuple(F &&f, number< N >)
Definition: tuple.hpp:429
constexpr CK_TILE_HOST_DEVICE auto make_tuple(Xs &&... xs)
Definition: tuple.hpp:360
constexpr CK_TILE_HOST_DEVICE auto get_container_subset(const array< T, N > &arr, sequence< Is... >)
Definition: container_helper.hpp:389
Utility class for creating tensor descriptors in batched contraction operations.
Definition: tensor_descriptor_utils.hpp:35
static constexpr CK_TILE_HOST auto Make_B_GridDescriptor_N_K(const std::vector< ck_tile::index_t > &B_dims={}, const std::vector< ck_tile::index_t > &B_strides={})
Creates a tensor descriptor for input tensor B with batch dimensions removed.
Definition: tensor_descriptor_utils.hpp:87
static constexpr CK_TILE_HOST auto Make_A_GridDescriptor_M_K(const std::vector< ck_tile::index_t > &A_dims={}, const std::vector< ck_tile::index_t > &A_strides={})
Creates a tensor descriptor for input tensor A with batch dimensions removed.
Definition: tensor_descriptor_utils.hpp:43
static constexpr CK_TILE_HOST auto Make_E_GridDescriptor_M_N(const std::vector< ck_tile::index_t > &E_dims={}, const std::vector< ck_tile::index_t > &E_strides={})
Creates a tensor descriptor for output tensor E with batch dimensions removed.
Definition: tensor_descriptor_utils.hpp:131
typename std::conditional< kHasContent, type0, type1 >::type type
Definition: sequence.hpp:302