mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user