change condition

This commit is contained in:
fsx950223
2025-05-16 09:41:27 +00:00
parent 5870473f98
commit c8d6e24eb5

View File

@@ -1055,7 +1055,7 @@ struct FmhaFwdKernel
// # of required blocks is different in each groups, terminate unnecessary blocks
// earlier
if(kargs.seqlen_q <= i_m0 && kargs.seqlen_q == 1)
if(kargs.seqlen_q <= i_m0 || kargs.seqlen_q == 1)
{
return;
}