gemm_pipeline_ag_bg_cr_comp_v4.hpp Source File#
gemm_pipeline_ag_bg_cr_comp_v4.hpp
Go to the documentation of this file.
155 static constexpr index_t GetVectorSizeC() { return Policy::template GetVectorSizeC<Problem>(); }
Definition tile/core/algorithm/cluster_descriptor.hpp:13
remove_cv_t< std::remove_reference_t< T > > remove_cvref_t
Definition type_traits.hpp:21
__device__ uint32_t amd_wave_read_first_lane(uint16_t v)
Definition tile/core/arch/amd_buffer_addressing.hpp:35
TransposeTileDistributionTraits< TileDistributionEncoding_, DataType_, Policy, true > InputTileDistributionTraits
Definition load_tile_transpose.hpp:343
CK_TILE_DEVICE auto load_tile_with_elementwise(const TileWindow_ &tile_window, ElementWise_ elementwise, number< i_access >={}, bool_constant< oob_conditional_check >={})
Load tile with elementwise function.
Definition load_tile.hpp:41
constant< b > bool_constant
Definition tile/core/numeric/integral_constant.hpp:43
typename detail::detector< nonesuch, void, Op, Args... >::value_t is_detected
Definition type_traits.hpp:67
CK_TILE_DEVICE void tile_elementwise_inout(const InOutElementFunc &inout_element_func, InOutDstrTensors &... inout_dstr_tensors)
Definition tile_elementwise.hpp:23
ck_tile::element_wise::PassThrough PassThrough
Definition grouped_convolution_utils.hpp:47
auto concat(const Ts &... xs) -> std::enable_if_t<!AllConvertibleToStringView< Ts... >, std::string >
Definition concat.hpp:43
CK_TILE_DEVICE void transpose_tile2d(OutTensor &out, const InTensor &in)
Definition transpose_tile.hpp:195
CK_TILE_HOST_DEVICE constexpr auto make_static_distributed_tensor(const StaticTileDistribution &)
Definition static_distributed_tensor.hpp:142
CK_TILE_DEVICE constexpr auto make_tile_window(null_tensor_view, const WindowLengths &window_lengths, const multi_index< WindowLengths::size()> &, Ts &&...)
Definition null_tile_window.hpp:75
CK_TILE_HOST_DEVICE constexpr auto generate_tuple(F &&f, number< N >)
Definition tile/core/container/tuple.hpp:429
constexpr bool is_tile_window_linear_v
Helper variable template to check if a type is a linear tile window.
Definition tile_window_linear.hpp:1119
CK_TILE_DEVICE void move_tile_window(null_tile_window< WindowLengths > &, const typename null_tile_window< WindowLengths >::BottomTensorIndex &)
Definition null_tile_window.hpp:95
CK_TILE_HOST_DEVICE constexpr auto make_static_tile_distribution(StaticTileDistributionEncoding_)
Definition tile_distribution.hpp:480
GemmPipelineScheduler
Definition gemm_pipeline_ag_bg_cr_scheduler.hpp:14
@ Intrawave
Definition gemm_pipeline_ag_bg_cr_scheduler.hpp:16
CK_TILE_HOST_DEVICE constexpr details::return_type< D, Ts... > make_array(Ts &&... ts)
Definition tile/core/container/array.hpp:242
CK_TILE_HOST_DEVICE constexpr auto make_tuple(Xs &&... xs)
Definition tile/core/container/tuple.hpp:360
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:16
static CK_TILE_HOST_DEVICE constexpr bool BlockHasHotloop(index_t num_loop)
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:23
static CK_TILE_HOST_DEVICE constexpr TailNumber GetBlockLoopTailNum(index_t num_loop)
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:28
static constexpr index_t PrefetchStages
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:17
static constexpr bool UsePersistentKernel
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:21
static CK_TILE_HOST_DEVICE auto TailHandler(const RunFunction &run_func, bool has_hot_loop, TailNumber tail_number)
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:46
static constexpr index_t GlobalBufferNum
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:19
static constexpr index_t PrefillStages
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:18
static CK_TILE_DEVICE constexpr auto HotLoopScheduler()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:205
PipelineImplBase Base
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:203
CK_TILE_DEVICE auto operator()(const AsDramBlockWindowTmp &a_dram_block_window_tmp, const AElementFunction &a_element_func, const BsDramBlockWindowTmp &b_dram_block_window_tmp, const BElementFunction &b_element_func, index_t num_loop, void *__restrict__ p_smem_0, void *__restrict__ p_smem_1) const
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:272
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:197
Compute optimized pipeline version 4.
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:105
static constexpr index_t Preshuffle
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:166
static constexpr index_t KPerBlock
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:143
CK_TILE_DEVICE auto operator()(const ADramBlockWindowTmp &a_dram_block_window_tmp, const BDramBlockWindowTmp &b_dram_block_window_tmp, index_t num_loop, bool has_hot_loop, TailNumber tail_number, void *__restrict__ p_smem_0, void *__restrict__ p_smem_1) const
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:786
static CK_TILE_HOST_DEVICE constexpr index_t GetSmemSize()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:185
static constexpr index_t GetVectorSizeB()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:151
number< 0 > I0
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:135
remove_cvref_t< typename Problem::BlockGemmShape > BlockGemmShape
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:112
CK_TILE_DEVICE auto operator()(const ADramBlockWindowTmp &a_dram_block_window_tmp, const BDramBlockWindowTmp &b_dram_block_window_tmp, const index_t num_loop, void *__restrict__ p_smem_0, void *__restrict__ p_smem_1) const
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:768
CK_TILE_DEVICE auto operator()(const AsDramBlockWindowTmp &a_dram_block_window_tmp, const AElementFunction &a_element_func, const BsDramBlockWindowTmp &b_dram_block_window_tmp, const BElementFunction &b_element_func, index_t num_loop, void *p_smem_0, void *p_smem_1) const
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:671
remove_cvref_t< decltype(Policy::template GetBlockGemm< Problem >())> BlockGemm
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:134
number< 1 > I1
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:136
remove_cvref_t< typename Problem::CLayout > CLayout
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:116
static constexpr index_t GetSmemPackB()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:158
static constexpr auto is_b_load_tr_v
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:173
static constexpr auto TailNum
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:169
static constexpr index_t GetSmemPackA()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:157
static constexpr index_t NPerBlock
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:142
CK_TILE_DEVICE auto operator()(const ADramBlockWindowTmp &a_dram_block_window_tmp, const AElementFunction &a_element_func, const BDramBlockWindowTmp &b_dram_block_window_tmp, const BElementFunction &b_element_func, index_t num_loop, void *p_smem_0, void *p_smem_1) const
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:746
static CK_TILE_HOST_DEVICE constexpr auto IsTransposeC()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:190
static constexpr bool HasHotLoop
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:168
static constexpr bool kPadK
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:162
remove_cvref_t< std::tuple_element_t< 0, AsDataType > > ADataType
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:124
static constexpr index_t GetVectorSizeA()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:146
static constexpr auto is_a_load_tr_v
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:172
static constexpr index_t GetVectorSizeC()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:155
CK_TILE_DEVICE auto operator()(const AsDramBlockWindowTmp &a_dram_block_window_tmp, const BsDramBlockWindowTmp &b_dram_block_window_tmp, const index_t num_loop, void *__restrict__ p_smem_0, void *__restrict__ p_smem_1) const
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:694
CK_TILE_DEVICE auto operator()(const AsDramBlockWindowTmp &a_dram_block_window_tmp, const BsDramBlockWindowTmp &b_dram_block_window_tmp, index_t num_loop, bool has_hot_loop, TailNumber tail_number, void *__restrict__ p_smem_0, void *__restrict__ p_smem_1) const
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:715
remove_cvref_t< std::tuple_element_t< 0, AsLayout > > ALayout
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:121
remove_cvref_t< typename Problem::BElementWise > BElementWise
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:119
static constexpr index_t BlockSize
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:139
static CK_TILE_HOST const std::string GetName()
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:175
static constexpr bool DoubleSmemBuffer
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:164
number< 2 > I2
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:137
remove_cvref_t< typename Problem::CDataType > CDataType
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:111
remove_cvref_t< typename Problem::AElementWise > AElementWise
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:118
static constexpr index_t NumWaveGroups
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:165
static constexpr index_t APackedSize
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:129
remove_cvref_t< typename Problem::BsLayoutTuple > BsLayout
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:115
remove_cvref_t< std::tuple_element_t< 0, BsDataType > > BDataType
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:125
static constexpr index_t BPackedSize
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:131
BaseGemmPipelineAgBgCrCompV4< Problem > Base
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:106
remove_cvref_t< std::tuple_element_t< 0, BsLayout > > BLayout
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:122
remove_cvref_t< typename Problem::AsLayoutTuple > AsLayout
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:114
static constexpr index_t MPerBlock
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:141
GemmPipelineAgBgCrImplBase< Problem, Policy > PipelineImplBase
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:107
static constexpr auto Scheduler
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:170
static constexpr bool kPadN
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:161
static constexpr bool kPadM
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:160
remove_cvref_t< typename Problem::AsDataTypeTuple > AsDataType
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:109
remove_cvref_t< typename Problem::BsDataTypeTuple > BsDataType
Definition gemm_pipeline_ag_bg_cr_comp_v4.hpp:110
Definition gemm_pipeline_ag_bg_cr_base.hpp:13
remove_cvref_t< std::tuple_element_t< number< 0 >{}, BsDataType > > BDataType
Definition gemm_pipeline_ag_bg_cr_base.hpp:22
CK_TILE_DEVICE auto GetABLdsTensorViews(void *p_smem) const
Definition gemm_pipeline_ag_bg_cr_base.hpp:83
static constexpr index_t NPerBlock
Definition gemm_pipeline_ag_bg_cr_base.hpp:26
CK_TILE_DEVICE void LocalPrefetch(DstBlockTile &dst_block_tile, const SrcTileWindow &lds_tile_window, bool_constant< LoadTranspose >={}) const
Definition gemm_pipeline_ag_bg_cr_base.hpp:73
static constexpr index_t MPerBlock
Definition gemm_pipeline_ag_bg_cr_base.hpp:25
CK_TILE_DEVICE void LocalPrefill(DstTileWindow &lds_tile_window, const SrcBlockTile &src_block_tile, const ElementFunction &element_func) const
Definition gemm_pipeline_ag_bg_cr_base.hpp:57
remove_cvref_t< std::tuple_element_t< number< 0 >{}, AsDataType > > ADataType
Definition gemm_pipeline_ag_bg_cr_base.hpp:20
static constexpr index_t KPerBlock
Definition gemm_pipeline_ag_bg_cr_base.hpp:27
Definition tile/core/numeric/integral_constant.hpp:30
Definition tile/core/numeric/numeric.hpp:81
Definition tile/core/utility/functional.hpp:43