Skip to content

Commit 8b73633

Browse files
xudonlyuDDEle
andauthored
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 <yi.ding@amd.com>
1 parent 6864a61 commit 8b73633

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/ck_tile/ops/flatmm/pipeline/flatmm_pipeline_agmem_bgmem_creg_v1.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct BaseFlatmmPipelineAGmemBGmemCRegV1
6060
else
6161
{
6262
assert(("Wrong TailNumber!", false));
63-
return decltype(TailHandler<>(run_func, true, TailNumber::Even)){};
63+
return TailHandler<DispatchHotloop, TailNumber::Even>(run_func, has_hot_loop);
6464
}
6565
}
6666
};

0 commit comments

Comments
 (0)