From d424ccbcc113fb2edfd483b0fbf77358686f2ccd Mon Sep 17 00:00:00 2001 From: biondizzle Date: Sat, 30 May 2026 09:04:45 +0000 Subject: [PATCH] fix: const not constexpr for SCALE --- tests/unit/test_p5_multitile.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_p5_multitile.cu b/tests/unit/test_p5_multitile.cu index c10d4a2d..9f475be7 100644 --- a/tests/unit/test_p5_multitile.cu +++ b/tests/unit/test_p5_multitile.cu @@ -53,7 +53,7 @@ void reference_attention( int main() { constexpr int HD = 64; constexpr int SK = 256; // 2 KV tiles - constexpr float SCALE = 1.0f / sqrtf((float)HD); + const float SCALE = 1.0f / sqrtf((float)HD); // Allocate host data bf16_t h_q[HD], h_k[SK * HD], h_v[HD * SK];