Remove static assert to prevent compile fail

This commit is contained in:
rocking
2024-10-24 06:09:23 +00:00
parent a5986c70dc
commit 5b3108a62f

View File

@@ -218,8 +218,7 @@ struct BlockReduce2dCrossWarpSync
if constexpr(num_reduce_warps == 1)
return;
// Imitate BlockWelfordCrossWarpSync, but looks like there are some bugs.
static_assert(num_reduce_warps == 1);
// CAUSION - Imitate BlockWelfordCrossWarpSync, but looks like there are some bugs.
// store into smem only for lane-0 within one warp
if(lane_id == 0)