diff --git a/include/ck_tile/ops/gemm/pipeline/gemm_pipeline_ag_bg_cr_base.hpp b/include/ck_tile/ops/gemm/pipeline/gemm_pipeline_ag_bg_cr_base.hpp index 74632ee5b0..3bc1f7c095 100644 --- a/include/ck_tile/ops/gemm/pipeline/gemm_pipeline_ag_bg_cr_base.hpp +++ b/include/ck_tile/ops/gemm/pipeline/gemm_pipeline_ag_bg_cr_base.hpp @@ -242,7 +242,7 @@ struct GemmPipelineAgBgCrImplBase return make_static_tile_distribution( typename InputTileDistributionTraits< typename ALdsLoadTileDistr::DstrEncode, - typename Problem::ADataType>::TransposedDstrEncode{}); + typename ALdsTensorView::DataType>::TransposedDstrEncode{}); } else { @@ -318,17 +318,13 @@ struct GemmPipelineAgBgCrImplBase auto b_copy_lds_window = make_tile_window(b_lds_block_view, b_lds_shape, {0, 0}); - using BLdsDataType = - std::conditional_t, - typename Problem::ADataType, - typename Problem::BDataType>; - auto b_lds_load_tile_distr = []() { if constexpr(is_b_load_tr) { return make_static_tile_distribution( - typename InputTileDistributionTraits::TransposedDstrEncode{}); + typename InputTileDistributionTraits< + typename BLdsLoadTileDistr::DstrEncode, + typename BLdsTensorView::DataType>::TransposedDstrEncode{}); } else {