From c3895b5875adb1764ccabaeb436f780fd9bd42c2 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 11 Feb 2026 23:57:18 +0100 Subject: [PATCH] Fix SGEMM returning wrong results in multithreaded operation on NeoverseV2 --- param.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/param.h b/param.h index 8112e8915a..88d12196cc 100644 --- a/param.h +++ b/param.h @@ -1,4 +1,4 @@ -/***************************************************************************** +https://github.com/numpy/numpy/issues/30816https://github.com/numpy/numpy/issues/30816https://github.com/numpy/numpy/issues/30816/***************************************************************************** Copyright (c) 2011-2023, 2025 The OpenBLAS Project All rights reserved. @@ -3662,6 +3662,8 @@ is a big desktop or server with abundant cache rather than a phone or embedded d #elif defined(NEOVERSEN2) || defined(NEOVERSEV2) +#define GEMM_DIVIDE_LIMIT 3 + #if defined(XDOUBLE) || defined(DOUBLE) #define SWITCH_RATIO 8 #else