/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/docs-6.4.3/include/ck_tile/ops/image_to_column/kernel/image_to_column_kernel.hpp Source File#
image_to_column_kernel.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:255
constexpr CK_TILE_HOST_DEVICE auto integer_divide_ceil(X x, Y y)
Definition: math.hpp:149
constexpr CK_TILE_HOST_DEVICE auto make_merge_transform(const LowLengths &low_lengths)
Definition: coordinate_transform.hpp:1672
constexpr CK_TILE_HOST_DEVICE auto pad_tensor_view(const TensorView &tensor_view, const TileLengths &tile_lengths, DoPads)
Definition: tensor_view.hpp:480
constexpr CK_TILE_HOST_DEVICE auto make_pass_through_transform(const LowLength &low_length)
Definition: coordinate_transform.hpp:1615
remove_cv_t< std::remove_reference_t< T > > remove_cvref_t
Definition: type_traits.hpp:20
constexpr CK_TILE_HOST_DEVICE auto make_pad_transform(const LowLength &low_length, const LeftPad &left_pad, const RightPad &right_pad, bool_constant< SkipIsValidCheck >=bool_constant< false >{})
Definition: coordinate_transform.hpp:1622
CK_TILE_DEVICE auto load_tile(const tile_window_with_static_distribution< BottomTensorView_, WindowLengths_, TileDistribution_, NumCoord > &tile_window, number< i_access >={}, bool_constant< oob_conditional_check >={})
Definition: load_tile.hpp:27
constexpr CK_TILE_HOST_DEVICE auto transform_tensor_descriptor(const OldTensorDescriptor &old_tensor_desc, const NewTransforms &new_transforms, NewLowerDimensionOldTopIdss, NewUpperDimensionNewTopIdss)
Definition: tensor_descriptor.hpp:184
constexpr CK_TILE_DEVICE auto make_tile_window(null_tensor_view, const WindowLengths &window_lengths, const multi_index< WindowLengths::size()> &, Ts &&...)
Definition: null_tile_window.hpp:72
constexpr CK_TILE_HOST_DEVICE auto make_tuple(Xs &&... xs)
Definition: tuple.hpp:337
CK_TILE_DEVICE void store_tile(tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ > &tile_window_tmp, const static_distributed_tensor< DataType_, TileDistribution_ > &dstr_tensor)
Definition: store_tile.hpp:23
constexpr CK_TILE_HOST_DEVICE auto make_static_tile_distribution(StaticTileDistributionEncoding_)
Definition: tile_distribution.hpp:498
constexpr CK_TILE_HOST_DEVICE auto make_embed_transform(const UpLengths &up_lengths, const Coefficients &coefficients)
Definition: coordinate_transform.hpp:1651
Definition: image_to_column_kernel.hpp:36
const array< long_index_t, NDimSpatial > input_right_pads
Definition: image_to_column_kernel.hpp:52
const array< long_index_t, NDimSpatial > conv_filter_strides
Definition: image_to_column_kernel.hpp:49
const array< long_index_t, NDimSpatial > conv_filter_dilations
Definition: image_to_column_kernel.hpp:50
const array< long_index_t, NDimSpatial+3 > image_g_n_c_wis_strides
Definition: image_to_column_kernel.hpp:47
const array< long_index_t, NDimSpatial > filter_spatial_lengths
Definition: image_to_column_kernel.hpp:45
const array< long_index_t, NDimSpatial > input_left_pads
Definition: image_to_column_kernel.hpp:51
const array< long_index_t, 3 > gemm_g_m_k_strides
Definition: image_to_column_kernel.hpp:48
const array< long_index_t, NDimSpatial > input_spatial_lengths
Definition: image_to_column_kernel.hpp:44
const array< long_index_t, NDimSpatial > output_spatial_lengths
Definition: image_to_column_kernel.hpp:46
Definition: image_to_column_kernel.hpp:13
CK_TILE_DEVICE auto MakeImageMKDesc(const Kargs &kargs) const
Definition: image_to_column_kernel.hpp:95
static constexpr CK_TILE_HOST Kargs MakeKargs(const void *p_in, void *p_out, const long_index_t G, const long_index_t N, const long_index_t C, const array< long_index_t, NDimSpatial > input_spatial_lengths, const array< long_index_t, NDimSpatial > filter_spatial_lengths, const array< long_index_t, NDimSpatial > output_spatial_lengths, const array< long_index_t, NDimSpatial+3 > image_g_n_c_wis_strides, const array< long_index_t, 3 > gemm_g_m_k_strides, const array< long_index_t, NDimSpatial > conv_filter_strides, const array< long_index_t, NDimSpatial > conv_filter_dilations, const array< long_index_t, NDimSpatial > input_left_pads, const array< long_index_t, NDimSpatial > input_right_pads)
Definition: image_to_column_kernel.hpp:56
CK_TILE_DEVICE void ConvTensorRearrange(const Kargs &kargs) const
Definition: image_to_column_kernel.hpp:173
static constexpr CK_TILE_DEVICE auto MakeBlockTileDistribution()
Definition: image_to_column_kernel.hpp:157
remove_cvref_t< typename Problem::InDataType > InDataType
Definition: image_to_column_kernel.hpp:22
remove_cvref_t< Problem_ > Problem
Definition: image_to_column_kernel.hpp:20
static constexpr index_t AligmentOut
Definition: image_to_column_kernel.hpp:28
static constexpr CK_TILE_HOST auto BlockSize()
Definition: image_to_column_kernel.hpp:93
static constexpr index_t AligmentIn
Definition: image_to_column_kernel.hpp:27
static constexpr CK_TILE_HOST auto GridSize(index_t GemmM, index_t GemmK, index_t Batch)
Definition: image_to_column_kernel.hpp:87
CK_TILE_DEVICE void operator()(Kargs &kargs) const
Definition: image_to_column_kernel.hpp:221
static constexpr index_t kKPerBlock
Definition: image_to_column_kernel.hpp:33
remove_cvref_t< typename Problem::OutDataType > OutDataType
Definition: image_to_column_kernel.hpp:23
CK_TILE_DEVICE auto CalculateMKDims(const Kargs &kargs) const
Definition: image_to_column_kernel.hpp:147
static constexpr index_t kMPerBlock
Definition: image_to_column_kernel.hpp:32
static constexpr index_t NDimSpatial
Definition: image_to_column_kernel.hpp:25
Definition: array.hpp:24
Definition: integral_constant.hpp:13
Definition: sequence.hpp:52
Definition: tile_distribution_encoding.hpp:26
Definition: tuple.hpp:192