mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-14 18:17:44 +00:00
hotfix fmoe build issue (#1976)
[ROCm/composable_kernel commit: 52b1cd7780]
This commit is contained in:
@@ -72,8 +72,14 @@ float fused_moe(fused_moe_traits t, fused_moe_args a, const ck_tile::stream_conf
|
||||
|
||||
float r = ck_tile::launch_kernel(
|
||||
s,
|
||||
[=, &r0](const ck_tile::stream_config&) { r0 = fused_moesorting(t0, a0, s_sub); },
|
||||
[=, &r1](const ck_tile::stream_config&) { r1 = fused_moegemm(t1, a1, s_sub); });
|
||||
[=, &r0](const ck_tile::stream_config&) {
|
||||
r0 = fused_moesorting(t0, a0, s_sub);
|
||||
return hipPeekAtLastError() == hipSuccess;
|
||||
},
|
||||
[=, &r1](const ck_tile::stream_config&) {
|
||||
r1 = fused_moegemm(t1, a1, s_sub);
|
||||
return hipPeekAtLastError() == hipSuccess;
|
||||
});
|
||||
|
||||
// keep unsupported case return negative
|
||||
if(r0 < 0 || r1 < 0)
|
||||
|
||||
Reference in New Issue
Block a user