Update barrier.h (#1782)

This commit is contained in:
Alchan Kim
2024-09-04 14:52:11 -04:00
committed by GitHub
parent e1976daacc
commit 6c3044136b
+1 -1
View File
@@ -277,7 +277,7 @@ private:
CUTLASS_DEVICE
static void
check_barrier_in_range([[maybe_unused]] uint32_t idx) {
assert((idx >= MaxNumNamedBarriers) && "Index exceeds barrier count");
assert((idx < MaxNumNamedBarriers) && "Index exceeds barrier count");
}
template <uint32_t... Idx>