common: * Reduced the default BLAS3_MEM_ALLOC_THRESHOLD (used as an upper limit for placing temporary arrays on the stack) to be compatible with a stack size of 1mb (as imposed by the JAVA runtime library) * Added mixed-precision dot function SBDOT and utility functions shstobf16, shdtobf16, sbf16tos and dbf16tod to convert between single or double precision float arrays and bfloat16 arrays * Fixed prototypes of LAPACK_?ggsvp and LAPACK_?ggsvd functions in lapack.h * Fixed underflow and rounding errors in LAPACK SLANV2 and DLANV2 (causing miscalculations in e.g. SHSEQR/DHSEQR, LAPACK issue #263) * Fixed workspace calculation in LAPACK ?GELQ (LAPACK issue #415) * Fixed several bugs in the LAPACK testsuite * Improved performance of TRMM and TRSM for certain problem sizes * Fixed infinite recursions and workspace miscalculations in ReLAPACK * CMAKE builds no longer require pkg-config for creating the .pc file * Makefile builds no longer misread NO_CBLAS=0 or NO_LAPACK=0 as enabling these options * Fixed detection of gfortran when invoked through an mpi wrapper * Improve thread reinitialization performance with OpenMP after a fork * Added support for building only the subset of the library required for a particular precision by specifying BUILD_SINGLE, BUILD_DOUBLE * Optional function name prefixes and suffixes are now correctly reflected in the generated cblas.h * Added CMAKE build support for the LAPACK and multithreading tests power: * Added optimized support for POWER10 * Added support for compiling for POWER8 in 32bit mode * Added support for compilation with LLVM/clang OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=102
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
Index: OpenBLAS-0.3.11/c_check
|
|
===================================================================
|
|
--- OpenBLAS-0.3.11.orig/c_check
|
|
+++ OpenBLAS-0.3.11/c_check
|
|
@@ -11,7 +11,7 @@ $hostarch = "x86_64" if ($hostarch eq "a
|
|
$hostarch = "arm" if ($hostarch ne "arm64" && $hostarch =~ /^arm.*/);
|
|
$hostarch = "arm64" if ($hostarch eq "aarch64");
|
|
$hostarch = "power" if ($hostarch =~ /^(powerpc|ppc).*/);
|
|
-$hostarch = "zarch" if ($hostarch eq "s390x");
|
|
+$hostarch = "zarch" if ($hostarch =~ /^s390/);
|
|
|
|
#$tmpf = new File::Temp( UNLINK => 1 );
|
|
$binary = $ENV{"BINARY"};
|
|
Index: OpenBLAS-0.3.11/ctest.c
|
|
===================================================================
|
|
--- OpenBLAS-0.3.11.orig/ctest.c
|
|
+++ OpenBLAS-0.3.11/ctest.c
|
|
@@ -117,7 +117,7 @@ ARCH_X86_64
|
|
ARCH_POWER
|
|
#endif
|
|
|
|
-#if defined(__s390x__) || defined(__zarch__)
|
|
+#if defined(__s390x__) || defined(__s390__) || defined(__zarch__)
|
|
ARCH_ZARCH
|
|
#endif
|
|
|
|
Index: OpenBLAS-0.3.11/getarch.c
|
|
===================================================================
|
|
--- OpenBLAS-0.3.11.orig/getarch.c
|
|
+++ OpenBLAS-0.3.11/getarch.c
|
|
@@ -1266,7 +1266,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
#define OPENBLAS_SUPPORTED
|
|
#endif
|
|
|
|
-#if defined(__zarch__) || defined(__s390x__)
|
|
+#if defined(__zarch__) || defined(__s390x__) || defined(__s390__)
|
|
#define ZARCH
|
|
#include "cpuid_zarch.c"
|
|
#define OPENBLAS_SUPPORTED
|