- Update to version 0.3.26:
* General:
- Improved the version of openblas.pc that is created by the
CMAKE build.
- Fixed a CMAKE-specific build problem on older versions of
MacOS.
- Worked around linking problems on old versions of MacOS.
- Corrected installation location of the lapacke_mangling
header in CMAKE builds.
- Added type declarations for complex variables to the
MSVC-specific parts of the LAPACK header.
- Significantly sped up ?GESV for small problem sizes by
introducing a lower bound for multithreading.
- Imported additions and corrections from the Reference-LAPACK
project:
+ Added new LAPACK functions for truncated QR with pivoting
(Reference-LAPACK PRs 891&941).
+ Handle miscalculation of minimum work array size in corner
cases (Reference-LAPACK PR 942).
+ Fixed use of uninitialized variables in ?GEDMD and
improved inline documentation.
+ Fixed use of uninitialized variables (and consequential
failures) in ?BBCSD.
+ Added tests for the recently introduced Dynamic Mode
Decomposition functions.
+ Fixed several memory leaks in the LAPACK testsuite.
+ Fixed counting of testsuite results by the Python script.
* x86-64:
- Fixed computation of CASUM on SkylakeX and newer targets in
the special case that AVX512 is not supported by the compiler
OBS-URL: https://build.opensuse.org/request/show/1140291
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=168
- Recreate old library scheme for existing products:
It turned out the new scheme on existing systems has
been causing package breakages.
- Do not generate baselibs.conf for HPC builds.
- Add support for gcc11 & 12.
- For SLE/Leap on x86_64 and s390x do not mix compiler versions
as this will make the gfortran ABI version inconsistent. Instead
use the stock compiler and set the list of kernels for x86_64
cores explicitly as Cooperlake requires compiler intrinsics
which are not provided by gcc 7.
- Require at least 7G of disk space for building.
OBS-URL: https://build.opensuse.org/request/show/1068121
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=159
- Make sure pre-existing (arch-independent) update-alternatives
are wiped before registering new ones.
Since update-alternatives has no reliable way to check if
a certain 'generic name' exists, brute-force it and ignore
any error (boo#1208248).
- Remove totally pointless - ie. never executed - %%posttrans
script.
- Restore generic link for update-alternatives. This is usually
set by the update-alternatives and it is '%ghost'ed but rpmlint
complains.
- Add rpmlintrc rules to avoid false positives from consistently
guessing the update-alternatives generic name wrong.
- Make arch dependent generic names conditional.
OBS-URL: https://build.opensuse.org/request/show/1066169
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=156
- Do not set LIBNAMESUFFIX to mark different flavors as this causes
the SONAME to be different so that different flavors of OpenBLAS
cannot serve as plugin replacements of each other (boo#1177260).
- Fix a fallout of making alternatives directory arch dependent.
- Remove unneeded links that will be created by update-alternatives.
Create remaining links %post scripts properly %ghost-ing the files.
OBS-URL: https://build.opensuse.org/request/show/1063627
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=154
it seems that the 32-bit compatibility packages have revealed a
conflict which was not properly detected by installcheck and actually
has made it into Leap 15.4/SLE-15-SP4 rather than caused it: The same
issue exists in the 'regular' 64-bit packages but has remained undetected
by installcheck so far. Factory hasn't suffered from this as lapack has
been fixed properly - see boo#1207358.
The possible installcheck issue has been reported in:
https://github.com/openSUSE/openSUSE-release-tools/issues/2915
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=152
are causing conflicts with the lapack packages during SLE staging:
found conflict of liblapacke3-32bit-3.5.0-4.6.1.x86_64 with libopenblas_openmp0-32bit-0.3.21-150500.1.2.x86_64
/usr/lib/liblapacke.so.3 [mode mismatch: l777 root:root -> liblapacke.so.3.5.0, g -644 root:root]
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=151
- Update to v0.3.21:
* general:
- Updated the included LAPACK to Reference-LAPACK release 3.10.1
- when no Fortran compiler is available, OpenBLAS builds will now automatically
- function LAPACKE_lsame is now annotated with the GCC attribute "const" to aid static analyzers
- added USE_TLS to the list of options reported by the openblas_get_config() function
- added SYMBOLPREFIX/SYMBOLSUFFIX handling for LAPACK 3.10.0 functions added in 0.3.20
- reverted OpenMP threadpool behaviour in the exec_blas call to its state before 0.3.11, that is
the threadpool will no longer grow or shrink on demand as the overhead for this is too big at least with
GNU OpenMP. The adaptive behaviour introduced in 0.3.11 can still be requested at runtime by setting
the environment variable OMP_ADAPTIVE
- worked around spurious STFSM/CTFSM errors reported by the LAPACK testsuite
* x86_64:
- fixed determination of compiler support for AVX512 and removed the 0.3.19
- workaround for building SKYLAKEX kernels on Sandybridge hardware
- fixed compilation for the SKYLAKEX target with gcc 6
- fixed compilation of the SkyLakeX small matrix GEMM kernels with LLVM or ICC
- added support for the Zhaoxin/Centaur KH40000 cpu
- fixed a potential crash in the ZSYMV kernel used for all targets except generic
* POWER:
- worked around an overflow error in the POWER6 DNRM2 kernel
- fixed compilation on PPC440
- fixed a performance regression in the level1 BLAS on POWER10
- fixed the POWER10 ZGEMM kernel
- fixed singlethreaded builds for POWER10
- fixed compilation of the POWER10 DGEMV kernel with older gcc versions
- enabled compilation of the BFLOAT16 kernels by default
- enabled the small matrix kernels by default for DYNAMIC_ARCH builds
- added a workaround for a miscompilation of the CDOT and ZDOT kernels by GCC 12
- Obsolete:
OBS-URL: https://build.opensuse.org/request/show/1039250
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=146
- Build PPC64LE libraries with the lastest gcc available to
take advantage of instruction sets in later CPUs used in
the CPU specific kernels (jsc#SLE-18143, bsc#1197721).
For fortran use the stock compiler to avoid compatibility
issues between different versions of libfortran.
This is relevant for Leap/SLE only. It may be dropped once
gcc < 10 is no longer supported.
- Do the same for x86_64 on SLE to make sure Cooperlake support
is built properly.
- Remove:
* Do-not-attempt-to-check-host-CPU-if-TARGET-is-set.patch
* Create-independent-kernel-Makfile-configuration-when-building-DYNAMIC_ARCH.patch
* For-DYNAMIC_ARCH-don-t-use-sbgemm_r-as-parameter.c-doesn-t-get-build.patch
Instead, add from upstream:
* Define-sbgemm_r-to-fix-DYNAMIC_ARCH-builds.patch
* Remove-extraneous-and-wrong-definition-of-sbgemm_r-on-x86_64.patch
* Fix-checks-for-AVX512-and-atomics.patch
* Revert-AVX512-capability-check-from-PR-1980-moved-to-build.patch
* Use-CC-and-full-command-line-instead-of-hard-coding-gcc-for-AVX512-checking.patch
* Utilize-compiler-AVX512-capability-info-from-c_check-when-building-getarch.patch
BLAS/LAPACK implementation (boo#1177260).
'openblas-common-devel' will provide the removed 'openblas-devel-headers'
while the arch specific 'preferred' flavor will provide the removed
'openblas-devel'.
OBS-URL: https://build.opensuse.org/request/show/966356
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=131
- Update to v0.3.20:
* general:
some code cleanup, with added casts etc.
fixed obtaining the cpu count with OpenMP and OMP_PROC_BIND unset
fixed pivot index calculation by ?LASWP for negative increments other
than one
fixed input argument check in LAPACK ? GEQRT2
improved the check for a Fortran compiler in CMAKE builds
disabled building OpenBLAS' optimized versions of LAPACK complex SPMV,
SPR,SYMV,SYR with NO_LAPACK=1
fixed building of LAPACK on certain distributed filesystems with parallel
gmake
fixed building the shared library on MacOS with classic flang
(v0.3.19)
reverted unsafe TRSV/ZRSV optimizations introduced in 0.3.16
fixed a potential thread race in the thread buffer reallocation routines
that were introduced in 0.3.18
fixed miscounting of thread pool size on Linux with OMP_PROC_BIND=TRUE
fixed CBLAS interfaces for CSROT/ZSROT and CROTG/ZROTG
made automatic library suffix for CMAKE builds with INTERFACE64 available
to CBLAS-only builds
(v0.3.18)
when the build-time number of preconfigured threads is exceeded
at runtime (by an external program calling BLAS functions from
a larger number of threads), OpenBLAS will now allocate an
auxiliary control structure for up to 512 additional threads
instead of aborting
added support for Loongson's LoongArch64 cpu architecture
fixed building OpenBLAS with CMAKE and -DBUILD_BFLOAT16=ON
added support for building OpenBLAS as a CMAKE subproject
OBS-URL: https://build.opensuse.org/request/show/965613
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=129
- Fixed bsc#1195232 for good: found and removed offending entry.
This reintroduces part of:
Thu Jul 8 12:35:35 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not create dummy symlinks on $self in /etc/alternatives: those
files are packages as %ghost and any real file existance only
confuses brp-checks, as it detects circular symlinks.
OBS-URL: https://build.opensuse.org/request/show/954096
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=128
- Partly revert:
Thu Jul 8 12:35:35 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Do not create dummy symlinks on $self in /etc/alternatives: those
files are packages as %ghost and any real file existance only
confuses brp-checks, as it detects circular symlinks.
for all suse_versions < current Factory in an attempt to fix bsc#1195232.
OBS-URL: https://build.opensuse.org/request/show/950115
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=127
common:
* Fixed a race condition on thread shutdown in non-OpenMP builds
* Fixed custom BUFFERSIZE option getting ignored in gmake builds
* Fixed CMAKE compilation of the TRMM kernels for GENERIC platforms
* Added CBLAS interfaces for CROTG, ZROTG, CSROT and ZDROT
* Improved performance of OMATCOPY_RT across all platforms
* Changed perl scripts to use env instead of a hardcoded /usr/bin/perl
* Fixed potential misreading of the GCC compiler version in the build scripts
* Fixed convergence problems in LAPACK complex GGEV/GGES (Reference-LAPACK #477)
* Reduced the stacksize requirements for running the LAPACK testsuite (Reference-LAPACK #335)
RISC V:
* Fixed compilation on RISCV (missing entry in getarch)
POWER:
* Fixed compilation for DYNAMIC_ARCH with clang and with older gcc versions
* Added support for compilation on FreeBSD/ppc64le
* Added optimized POWER10 kernels for SSCAL, DSCAL, CSCAL, ZSCAL
* Added optimized POWER10 kernels for SROT, DROT, CDOT, SASUM, DASUM
* Improved SSWAP, DSWAP, CSWAP, ZSWAP performance on POWER10
* Improved SCOPY and CCOPY performance on POWER10
* Improved SGEMM and DGEMM performance on POWER10
* Added support for compilation with the NVIDIA HPC compiler
x86_64:
* Added an optimized bfloat16 GEMM kernel for Cooperlake
* Added CPUID autodetection for Intel Rocket Lake and Tiger Lake cpus
* Improved the performance of SASUM,DASUM,SROT,DROT on AMD Ryzen cpus
* Added support for compilation with the NAG Fortran compiler
* Fixed recognition of the AMD AOCC compiler
* Fixed compilation for DYNAMIC_ARCH with clang on Windows
* Added support for running the BLAS/CBLAS tests on Windows
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=120
common:
* Added a generic bfloat16 SBGEMV kernel
* Fixed a potentially severe memory leak after fork in OpenMP builds
that was introduced in 0.3.12
* Added detection of the Fujitsu Fortran compiler
* Added detection of the (e)gfortran compiler on OpenBSD
* Added support for overriding the default name of the library independently
from symbol suffixing in the gmake builds (already supported in cmake)
RISC V:
* Added a RISC V port optimized for C910V
POWER:
* Added optimized POWER10 kernels for SAXPY, CAXPY, SDOT, DDOT and DGEMV_N
* Improved DGEMM performance on POWER10
* Improved STRSM and DTRSM performance on POWER9 and POWER10
* Fixed segmemtation faults in DYNAMIC_ARCH builds
* Fixed compilation with the PGI compiler
x86:
* Fixed compilation of kernels that require SSE2 intrinsics since 0.3.12
x86_64:
* Added an optimized bfloat16 SBGEMV kernel for SkylakeX and Cooperlake
* Improved the performance of SASUM and DASUM kernels through parallelization
* Improved the performance of SROT and DROT kernels
* Improved the performance of multithreaded xSYRK
* Fixed OpenMP builds that use the LLVM Clang compiler together with GNU gfortran
(where linking of both the LLVM libomp and GNU libgomp could lead to lockups or
wrong results)
* Fixed miscompilations by old gcc 4.6
* Fixed misdetection of AVX2 capability in some Sandybridge cpus
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=114
common:
* Fixed missing BLAS/LAPACK functions (inadvertently dropped during
the build system restructuring to support selective compilation)
* Fixed argument conversion macro in LAPACKE_zgesvdq (LAPACK #458)
power:
* Added optimized SCOPY/CCOPY kernels for POWER10
* Increased and unified the default size of the GEMM buffer
* Fixed building for POWER10 in DYNAMIC_ARCH mode
* POWER10 compatibility test now checks binutils version as well
* Cleaned up compiler warnings
x86_64:
* Corrected compiler version checks for AVX2 compatibility
* Added compiler option -mavx2 for building with flang
* Fixed direct SGEMM pathway for small matrix sizes (broken by
the code refactoring in 0.3.11)
* Fixed unhandled partial register clobbers in several kernels
for AXPY,DOT,GEMV_N and GEMV_T flagged by gcc10 tree-vectorizer
armv8:
* Improved Apple Vortex support to include cross-compiling
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=109
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
Avoid compile-time CPU-detection (boo#1100677)
the docs in GotoBLAS_02QuickInstall.txt say
3. Specifying target architecture
If you need library for different architecture, you can use TARGET
option. You can find current available options in top of getarch.c.
For example, if you need library for Intel core2 architecture,
you'll find FORCE_CORE2 option in getarch.c. Therefore you can
specify TARGET=CORE2 (get rid of FORCE_) with make.
$shell> make TARGET=CORE2
This is rather unspecific, but my tests show it helps to get reproducible binaries and compilation still happens with -DDYNAMIC_ARCH -march=skylake-avx512
OBS-URL: https://build.opensuse.org/request/show/825866
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=94
- Update to version 0.3.10
common:
* Improved thread locking behaviour in blas_server and parallel getrf
* Imported bugfix 394 from LAPACK (spurious reference to "XERBL"
due to overlong lines)
* Imported bugfix 403 from LAPACK (compile option "recursive" required
for correctness with Intel and PGI)
* Imported bugfix 408 from LAPACK (wrong scaling in ZHEEQUB)
* Imported bugfix 411 from LAPACK (infinite loop in LARGV/LARTG/LARTGP)
* Fixed mismatches between BUFFERSIZE and GEMM_UNROLL parameters that
could lead to crashes at large matrix sizes
* Restored internal soname in dynamic libraries on FreeBSD and Dragonfly
* Added API (openblas_setaffinity) to set thread affinity
programmatically on Linux
* Added initial infrastructure for half-precision floating point
(bfloat16) support with a generic implementation of SHGEMM
* Added CMAKE build system support for building the cblas_Xgemm3m
functions
* Fixed CMAKE support for building in a path with embedded spaces
* Fixed CMAKE (non)handling of NO_EXPRECISION and MAX_STACK_ALLOC
* Fixed GCC version detection in the Makefiles
* Allowed overriding the names of AR, AS and LD in Makefile builds
POWER:
* fixed big-endian POWER8 ELFv2 builds on FreeBSD
* Fixed GCC version checks and DYNAMIC_ARCH builds on POWER9
* Fixed CMAKE build support for POWER9
* fixed a potential race condition in the thread buffer allocation
* Worked around LAPACK test failures on PPC G4
MIPS:
* fixed a potential race condition in the thread buffer allocation
OBS-URL: https://build.opensuse.org/request/show/814610
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=92
- Update to version 0.3.9
common:
* Fixed a miscompilation of the GETRF functions with CMAKE
The size of the memory buffer used for splitting GEMM tasks across
multiple threads can now be configured in the build system.
Imported bugfix 390 from LAPACK (missing NaN propagation in xCOMBSSQ)
POWER:
* fixed several compilation problems related to endianness and
ELF version support on POWER8 and POWER9.
* fixed misuse of the absolute value IAMIN/IAMAX in place of IMIN/IMAX
* fixed a race condition in the level3 blas code
MIPS64:
* fixed misuse of the absolute value IAMIN/IAMAX in place of IMIN/IMAX
ARMV7:
* fixed a race condition in the level3 blas code
* fixed a compilation problem on Android
ARMV8:
* Added support for Ampere EMAG8180
* Added support for Neoverse N1
improved performance of the blas_lock function
fixed a race condition in the level3 blas code
* Fixed a performance regression on TSV110 servers
x86_64:
* Fixed a long-standing error with undeclared register clobbers in
the DSCAL microkernel for Haswell,SkylakeX and Zen exposed by gcc9.2
* Fixed a long-standing bug in the SSE implementation of the IAMAX functions
* Fixed a cmake build failure with DYNAMIC_ARCH on x86_64
* Fixed an oversight in the cpu detection code for Intel Goldmont+,
Cannon Lake and Ice Lake
* Fixed compile failure on OSX when the compiler name contains a dash
OBS-URL: https://build.opensuse.org/request/show/780848
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=90
- Update to version 0.3.8
common:
* LAPACK has been updated to 3.9.0 (plus patches up to January 2nd, 2020)
* CMAKE support has been improved in several areas including cross-compilation
* A thread race condition in the GEMM3M kernels was resolved
* The "generic" (plain C) gemm beta kernel used by many targets has been sped up
* An optimized version of the LAPACK trtrs functions has been added
* An incompatibilty between the LAPACK tests and the OpenBLAS implementation of XERBLA
was resolved, removing the numerous warnings about wrong error exits in the former
* Support for NetBSD has been added
* Support for compilation with g95 and non-GNU versions of ld has been improved
* Compilation with (upcoming) gcc 10 is now supported
power:
* Worked around miscompilation of several POWER8 and POWER9 kernels by
older versions of gcc
* Added support for big-endian POWER8 and for compilation on AIX
* Corrected bugs in the big-endian support for PPC440 and PPC970
* DYNAMIC_ARCH support is now available in CMAKE builds as well
armv8:
* Performance of DGEMM_BETA and SGEMM_NCOPY has been improved
* Compilation for 32bit works again
* Performance of the RPCC function has been improved
* Improved performance on small systems
* DYNAMIC_ARCH support is now available in CMAKE builds as well
* Cross-compilation from OSX to IOS was simplified
x86-64:
* A new AVX512 DGEMM kernel was added and the AVX512 SGEMM kernel was
significantly improved
* Optimized AVX512 kernels for CGEMM and ZGEMM have been added
* AVX2 kernels for STRMM, SGEMM, and CGEMM have been significantly
OBS-URL: https://build.opensuse.org/request/show/772619
OBS-URL: https://build.opensuse.org/package/show/science/openblas?expand=0&rev=87