Skip to content

Commit

Permalink
Update barrier.h (#1782)
Browse files Browse the repository at this point in the history
  • Loading branch information
Algy authored Sep 4, 2024
1 parent e1976da commit 6c30441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cutlass/barrier.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ struct NamedBarrierManager {
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>
Expand Down

0 comments on commit 6c30441

Please sign in to comment.