Update barrier.h (#1782)

This commit is contained in:
Alchan Kim
2024-09-05 03:52:11 +09:00
committed by GitHub
parent e1976daacc
commit 6c3044136b

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>