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>
This commit is contained in:
Lyu, Xudong
2025-12-23 15:03:18 +08:00
committed by GitHub
parent 6864a618f4
commit 8b73633e65

View File

@@ -60,7 +60,7 @@ struct BaseFlatmmPipelineAGmemBGmemCRegV1
else
{
assert(("Wrong TailNumber!", false));
return decltype(TailHandler<>(run_func, true, TailNumber::Even)){};
return TailHandler<DispatchHotloop, TailNumber::Even>(run_func, has_hot_loop);
}
}
};