From 677e3cd174d06e18095c5f2961027d1b050d56d3 Mon Sep 17 00:00:00 2001 From: "Lyu, Xudong" Date: Tue, 23 Dec 2025 15:03:18 +0800 Subject: [PATCH] fix: handle void return type in TailHandler error path with ROCm6 compiler (clang++) (#3477) Replace `decltype(TailHandler<>(...)){}` with direct function call to fix compilation error when return type is void. Co-authored-by: Yi DING [ROCm/composable_kernel commit: 8b73633e651822d90b66ffd7d174a21891a99611] --- .../ops/flatmm/pipeline/flatmm_pipeline_agmem_bgmem_creg_v1.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ck_tile/ops/flatmm/pipeline/flatmm_pipeline_agmem_bgmem_creg_v1.hpp b/include/ck_tile/ops/flatmm/pipeline/flatmm_pipeline_agmem_bgmem_creg_v1.hpp index 8ad99e9399..897892afb2 100644 --- a/include/ck_tile/ops/flatmm/pipeline/flatmm_pipeline_agmem_bgmem_creg_v1.hpp +++ b/include/ck_tile/ops/flatmm/pipeline/flatmm_pipeline_agmem_bgmem_creg_v1.hpp @@ -60,7 +60,7 @@ struct BaseFlatmmPipelineAGmemBGmemCRegV1 else { assert(("Wrong TailNumber!", false)); - return decltype(TailHandler<>(run_func, true, TailNumber::Even)){}; + return TailHandler(run_func, has_hot_loop); } } };