From beecc4df472e6230b0e8803d0696e1a021b85b90 Mon Sep 17 00:00:00 2001 From: biondizzle Date: Fri, 22 May 2026 17:56:59 +0000 Subject: [PATCH] Diag: use Python range() unrolling like stage C test --- tests/unit/test_fmha_v3_diag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_fmha_v3_diag.py b/tests/unit/test_fmha_v3_diag.py index d37c141a..532f5e44 100644 --- a/tests/unit/test_fmha_v3_diag.py +++ b/tests/unit/test_fmha_v3_diag.py @@ -167,7 +167,7 @@ class FmhaV3Diag: cute.copy(tma_q, tAgQ[(None, Int32(0))], tAsQ[(None, qh.index)], tma_bar_ptr=qh.barrier) qp.tail() kvp.reset(); pk = kvp.try_acquire() - for kt in cutlass.range(self.n_kv_tiles, unroll=1): + for kt in range(self.n_kv_tiles): coord = Int32(kt) kvh = kvp.acquire_and_advance(pk) cute.copy(tma_k, tBgK[(None, coord)], tBsK[(None, kvh.index)], tma_bar_ptr=kvh.barrier)