Update to 0.3.28

Resolves: BZ#2273704
Resolves: RHEL-54180
This commit is contained in:
Pavel Simovec 2024-11-19 14:01:28 +01:00
parent 32c12cffa9
commit 43df2be295
3 changed files with 33 additions and 6 deletions

View File

@ -0,0 +1,22 @@
From 8a1710dd0da445d76e6eaeb35b180d24efac0919 Mon Sep 17 00:00:00 2001
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Date: Sun, 6 Oct 2024 20:03:32 +0200
Subject: [PATCH] don't apply switch_ratio to tail of loop
---
driver/level3/level3_thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver/level3/level3_thread.c b/driver/level3/level3_thread.c
index ddb39abd66..3d56c45a99 100644
--- a/driver/level3/level3_thread.c
+++ b/driver/level3/level3_thread.c
@@ -742,7 +742,7 @@ static int gemm_driver(blas_arg_t *args, BLASLONG *range_m, BLASLONG
num_parts = 0;
while (n > 0){
width = blas_quickdivide(n + nthreads - num_parts - 1, nthreads - num_parts);
- if (width < switch_ratio) {
+ if (width < switch_ratio && width > 1) {
width = switch_ratio;
}
width = round_up(n, width, GEMM_PREFERED_SIZE);

View File

@ -14,8 +14,8 @@
# "obsoleted" features are still kept in the spec. # "obsoleted" features are still kept in the spec.
Name: openblas Name: openblas
Version: 0.3.26 Version: 0.3.28
Release: 7%{?dist} Release: 1%{?dist}
Summary: An optimized BLAS library based on GotoBLAS2 Summary: An optimized BLAS library based on GotoBLAS2
License: BSD-3-Clause License: BSD-3-Clause
@ -30,8 +30,8 @@ Patch1: openblas-0.2.5-libname.patch
Patch2: openblas-0.2.15-constructor.patch Patch2: openblas-0.2.15-constructor.patch
# Supply the proper flags to the test makefile # Supply the proper flags to the test makefile
Patch3: openblas-0.3.11-tests.patch Patch3: openblas-0.3.11-tests.patch
# Fix incompatible pointer types (causes FTBFS on ppc64le) # https://github.com/OpenMathLib/OpenBLAS/issues/49172
Patch4: openblas-0.3.26-incompatibletypes.patch Patch4: openblas-0.3.28-zgemm-cgemm.patch
BuildRequires: make BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
@ -245,7 +245,7 @@ cd OpenBLAS-%{version}
%patch 2 -p1 -b .constructor %patch 2 -p1 -b .constructor
%endif %endif
%patch 3 -p1 -b .tests %patch 3 -p1 -b .tests
%patch 4 -p1 -b .incompatibletypes %patch 4 -p1 -b .gemm
# Fix source permissions # Fix source permissions
find -name \*.f -exec chmod 644 {} \; find -name \*.f -exec chmod 644 {} \;
@ -651,6 +651,11 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
%endif %endif
%changelog %changelog
* Tue Nov 19 2024 Pavel Simovec <psimovec@redhat.com> - 0.3.28-1
- Update to 0.3.28
Resolves: BZ#2273704
Resolves: RHEL-54180
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.3.26-7 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.3.26-7
- Bump release for October 2024 mass rebuild: - Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018 Resolves: RHEL-64018

View File

@ -1 +1 @@
SHA512 (OpenBLAS-0.3.26.tar.gz) = 01d3a536fbfa62f276fd6b1ad0e218fb3d91f41545fc83ddc74979fa26372d8389f0baa20334badfe0adacd77bd944c50a47ac920577373fcc1d495553084373 SHA512 (OpenBLAS-0.3.28.tar.gz) = 358301c8a60bedf920c07a110c772feb639e52412bd783789741fd2fd0686aac97e6b17ebcdf01ce48a2a15841058f82df0fee551af952f6e70b58140c055133