From 6c3044136b6462d0ff028ece1c1a83bb90a5b3aa Mon Sep 17 00:00:00 2001 From: Alchan Kim Date: Thu, 5 Sep 2024 03:52:11 +0900 Subject: [PATCH] Update barrier.h (#1782) --- include/cutlass/barrier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cutlass/barrier.h b/include/cutlass/barrier.h index 94f300ad..6f2373b6 100644 --- a/include/cutlass/barrier.h +++ b/include/cutlass/barrier.h @@ -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