From 7fef648bcac84fdb391bdd5b5286ab189e0a5c95 Mon Sep 17 00:00:00 2001 From: Sami Aario Date: Thu, 18 Dec 2025 09:14:11 +0000 Subject: [PATCH] Refactor type conversions out of MakeBLdsBlockDescriptor, WIP! --- .../gemm_universal_pipeline_ag_bg_cr_policy.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/include/ck_tile/ops/gemm/pipeline/gemm_universal_pipeline_ag_bg_cr_policy.hpp b/include/ck_tile/ops/gemm/pipeline/gemm_universal_pipeline_ag_bg_cr_policy.hpp index c900cd6ca5..e68e2330ee 100644 --- a/include/ck_tile/ops/gemm/pipeline/gemm_universal_pipeline_ag_bg_cr_policy.hpp +++ b/include/ck_tile/ops/gemm/pipeline/gemm_universal_pipeline_ag_bg_cr_policy.hpp @@ -302,15 +302,12 @@ struct UniversalGemmBasePolicy * @tparam Problem Gemm pipeline problem. * @return B tensor LDS block descriptor. */ - template + template > CK_TILE_DEVICE static constexpr auto MakeBLdsBlockDescriptor() { - using BLayout = remove_cvref_t; - using BDataType = - std::conditional_t, - typename Problem::ADataType, - typename Problem::BDataType>; - + using BLayout = remove_cvref_t; + using BDataType = OverrideBDataType; constexpr index_t NPerBlock = Problem::BlockGemmShape::kN; constexpr index_t KPerBlock = Problem::BlockGemmShape::kK;