Files
packages/libs/openblas/patches/0001-fix-x86-defaults.patch
Alexandru Ardelean ba6ce219c5 openblas: bump to version 0.3.30
This change updates the version to 0.3.30
Added patch to fix x86 builds.

Also sent upstream:
   https://github.com/OpenMathLib/OpenBLAS/pull/5418

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2025-08-13 09:03:20 +03:00

42 lines
745 B
Diff

--- a/param.h
+++ b/param.h
@@ -4179,5 +4179,38 @@ Until then, just keep it different than
#define SHUFPS_39 shufps $0x39,
#endif
+#if defined(ARCH_X86)
+#ifndef CGEMM3M_DEFAULT_R
+#define CGEMM3M_DEFAULT_R 12288
+#endif
+
+#ifndef CGEMM3M_DEFAULT_UNROLL_M
+#define CGEMM3M_DEFAULT_UNROLL_M 8
+#endif
+
+#ifndef CGEMM3M_DEFAULT_P
+#define CGEMM3M_DEFAULT_P 320
+#endif
+
+#ifndef CGEMM3M_DEFAULT_Q
+#define CGEMM3M_DEFAULT_Q 224
+#endif
+
+#ifndef ZGEMM3M_DEFAULT_R
+#define ZGEMM3M_DEFAULT_R 12288
+#endif
+
+#ifndef ZGEMM3M_DEFAULT_Q
+#define ZGEMM3M_DEFAULT_Q 224
+#endif
+
+#ifndef ZGEMM3M_DEFAULT_P
+#define ZGEMM3M_DEFAULT_P 224
+#endif
+
+#ifndef ZGEMM3M_DEFAULT_UNROLL_M
+#define ZGEMM3M_DEFAULT_UNROLL_M 4
+#endif
+#endif
#endif