From 84d188b137d2c122e7dbe55867c8f1f0bd3fc233 Mon Sep 17 00:00:00 2001 From: linqunAMD Date: Wed, 3 Sep 2025 08:07:09 +0800 Subject: [PATCH] Fix a typo in intrin_wmma_bf16_16x16x16_bf16_w32 (#2727) __builtin_amdgcn_wmma_bf16_16x16x16_bf16_w32 is only available in gfx11. [ROCm/composable_kernel commit: 00fd72b2d4c807c97b0adec6cec4986d098ce4fa] --- include/ck/utility/amd_wmma.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck/utility/amd_wmma.hpp b/include/ck/utility/amd_wmma.hpp index e14c0d62a8..09a462d016 100644 --- a/include/ck/utility/amd_wmma.hpp +++ b/include/ck/utility/amd_wmma.hpp @@ -104,7 +104,7 @@ struct intrin_wmma_bf16_16x16x16_bf16_w32<16, 16, Opsel> // opsel usage // false: D0.[0:15] = result // true : D0.[16:31]= result -#if defined(__gfx11__) || defined(__gfx12__) +#if defined(__gfx11__) reg_c.template AsType()(Number<0>{}) = __builtin_amdgcn_wmma_bf16_16x16x16_bf16_w32( reg_a, reg_b, reg_c.template AsType()[Number<0>{}], Opsel);