Skip to content

Commit a1888a2

Browse files
committed
openblas: backport version of fix from upstream
From this PR: OpenMathLib/OpenBLAS#5442 Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
1 parent 507c5c9 commit a1888a2

3 files changed

Lines changed: 42 additions & 42 deletions

File tree

libs/openblas/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
66

77
PKG_NAME:=OpenBLAS
88
PKG_VERSION:=0.3.30
9-
PKG_RELEASE:=1
9+
PKG_RELEASE:=2
1010

1111
PKG_SOURCE:=OpenBLAS-$(PKG_VERSION).tar.gz
1212
PKG_SOURCE_URL:=https://github.com/OpenMathLib/OpenBLAS/releases/download/v$(PKG_VERSION)/
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
From cb6c4392a562e9b04299949bcfbd1fd9e5872c68 Mon Sep 17 00:00:00 2001
2+
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
3+
Date: Wed, 10 Sep 2025 22:44:14 +0200
4+
Subject: [PATCH] Make GEMM3M parameters available on 32bit X86-GENERIC
5+
6+
---
7+
param.h | 7 ++++---
8+
1 file changed, 4 insertions(+), 3 deletions(-)
9+
10+
--- a/param.h
11+
+++ b/param.h
12+
@@ -4046,8 +4046,6 @@ Until then, just keep it different than
13+
#define CGEMM_DEFAULT_UNROLL_N 2
14+
#define ZGEMM_DEFAULT_UNROLL_N 2
15+
#define XGEMM_DEFAULT_UNROLL_N 1
16+
-#define CGEMM3M_DEFAULT_UNROLL_N 2
17+
-#define ZGEMM3M_DEFAULT_UNROLL_N 2
18+
19+
#ifdef ARCH_X86
20+
#define SGEMM_DEFAULT_UNROLL_M 2
21+
@@ -4063,8 +4061,11 @@ Until then, just keep it different than
22+
#define CGEMM_DEFAULT_UNROLL_M 2
23+
#define ZGEMM_DEFAULT_UNROLL_M 2
24+
#define XGEMM_DEFAULT_UNROLL_M 1
25+
+#endif
26+
#define CGEMM3M_DEFAULT_UNROLL_M 2
27+
#define ZGEMM3M_DEFAULT_UNROLL_M 2
28+
+#define CGEMM3M_DEFAULT_UNROLL_N 2
29+
+#define ZGEMM3M_DEFAULT_UNROLL_N 2
30+
#define CGEMM3M_DEFAULT_P 448
31+
#define ZGEMM3M_DEFAULT_P 224
32+
#define XGEMM3M_DEFAULT_P 112
33+
@@ -4075,7 +4076,7 @@ Until then, just keep it different than
34+
#define ZGEMM3M_DEFAULT_R 12288
35+
#define XGEMM3M_DEFAULT_R 12288
36+
37+
-#endif
38+
+
39+
40+
#ifdef ARCH_MIPS
41+
#define SGEMM_DEFAULT_P 128

libs/openblas/patches/0001-fix-x86-defaults.patch

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)