From 857566c8aa2c6c226a68a0f8b8375b0b60aace18 Mon Sep 17 00:00:00 2001 From: lalala-sh Date: Sat, 27 Sep 2025 04:28:54 +0800 Subject: [PATCH] fix wp gemm bug when permuteN is false (#2935) * fix wp gemm bug when permuteN is false * code clean --------- Co-authored-by: valarLip <340077269@qq.com> [ROCm/composable_kernel commit: ee9769616a51ed85edd8860fe5b976cec0cde037] --- example/ck_tile/03_gemm/gemm_utils.hpp | 1 + example/ck_tile/03_gemm/gemm_weight_preshuffle_invoker.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/ck_tile/03_gemm/gemm_utils.hpp b/example/ck_tile/03_gemm/gemm_utils.hpp index 588b66ca43..07b925d0eb 100644 --- a/example/ck_tile/03_gemm/gemm_utils.hpp +++ b/example/ck_tile/03_gemm/gemm_utils.hpp @@ -72,6 +72,7 @@ struct GemmConfigBase static constexpr ck_tile::index_t Pipeline = CK_TILE_PIPELINE_COMPUTE_V3; static constexpr ck_tile::index_t NumWaveGroups = 1; static constexpr bool Preshuffle = false; + static constexpr bool TiledMMAPermuteN = false; }; template diff --git a/example/ck_tile/03_gemm/gemm_weight_preshuffle_invoker.hpp b/example/ck_tile/03_gemm/gemm_weight_preshuffle_invoker.hpp index b47dd8d8a7..d737a0f864 100644 --- a/example/ck_tile/03_gemm/gemm_weight_preshuffle_invoker.hpp +++ b/example/ck_tile/03_gemm/gemm_weight_preshuffle_invoker.hpp @@ -109,7 +109,7 @@ struct WeightPreshuffleInvoker GemmConfig::NumWaveGroups, false, 1, - true>>; + GemmConfig::TiledMMAPermuteN>>; using Kernel = ck_tile::GemmKernel; auto kargs = Kernel::MakeKernelArgs(args);