Martin Kroeker [Thu, 16 Dec 2021 21:02:49 +0000 (22:02 +0100)]
Add feature-based fallback for unknown x86_64 cpus
Martin Kroeker [Thu, 16 Dec 2021 20:50:28 +0000 (21:50 +0100)]
Merge pull request #3484 from martin-frbg/issue3481
Enable delayed (re)init of Windows threads beyond Cygwin
Martin Kroeker [Thu, 16 Dec 2021 20:50:06 +0000 (21:50 +0100)]
Merge pull request #3480 from wzgpeter/develop
fix bug in zscal function
Martin Kroeker [Thu, 16 Dec 2021 20:49:19 +0000 (21:49 +0100)]
Merge pull request #3478 from ffontaine/develop
Makefile: also consider -O, -Og and -Os when stripping flags
Martin Kroeker [Thu, 16 Dec 2021 16:28:28 +0000 (17:28 +0100)]
define "unlikely" on non-cygwin too
Martin Kroeker [Thu, 16 Dec 2021 15:58:12 +0000 (16:58 +0100)]
Open up delayed (re)init to non-Cygwin OS as well
Martin Kroeker [Thu, 16 Dec 2021 10:54:20 +0000 (11:54 +0100)]
Merge pull request #3483 from martin-frbg/issue3482
Fix bracing in cpuid_mips64.c
Martin Kroeker [Thu, 16 Dec 2021 08:37:58 +0000 (09:37 +0100)]
move brace inside the ifdef block
Wu Zhigang [Wed, 15 Dec 2021 08:22:19 +0000 (00:22 -0800)]
fix bug in zscal function
memset can not be used in zscal because of
the stride parameters.
Signed-off-by: Wu Zhigang <zhigang.wu@starfivetech.com>
Thomas De Schampheleire [Tue, 14 Dec 2021 22:36:16 +0000 (23:36 +0100)]
Makefile: also consider -O, -Og and -Os when stripping flags
gcc also supports -O, -Og and -Os as optimization flags.
They may be given on the make command-line by users.
For the calculation of LAPACK_NOOPT, all such flags should be considered.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/openblas/0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Martin Kroeker [Mon, 13 Dec 2021 07:34:52 +0000 (08:34 +0100)]
Move the threads overflow flag under the protection of the local blas lock (#3476)
* Move accesses to the overflow flag into the scope of the blas lock
Martin Kroeker [Sun, 12 Dec 2021 18:09:08 +0000 (19:09 +0100)]
Merge pull request #3475 from wjc404/optimize-A53-dgemm
optimize cgemm on ARM cortex A53 & cortex A55
Martin Kroeker [Sun, 12 Dec 2021 18:08:27 +0000 (19:08 +0100)]
Merge pull request #3474 from rafaelcfsousa/rafael/cmake_power
Add CMake support for Power
Jia-Chen [Sun, 12 Dec 2021 09:22:52 +0000 (17:22 +0800)]
optimize cgemm on ARM cortex A53 & cortex A55
Martin Kroeker [Sat, 11 Dec 2021 19:35:22 +0000 (20:35 +0100)]
Merge pull request #3464 from binebrank/arm_sve_sgemm
Add sgemm part for Arm SVE
Bine Brank [Sat, 11 Dec 2021 15:37:23 +0000 (16:37 +0100)]
fix UNROLL_MN and add to targets for SVE
Bine Brank [Sat, 11 Dec 2021 15:35:08 +0000 (16:35 +0100)]
adjust Makefile.L3 for SVE
Rafael Cardoso Fernandes Sousa [Fri, 10 Dec 2021 23:35:28 +0000 (17:35 -0600)]
Use CMake variables instead of as
Rafael Cardoso Fernandes Sousa [Thu, 9 Dec 2021 15:57:39 +0000 (09:57 -0600)]
Fix error cmake (small kernels)
Rafael Cardoso Fernandes Sousa [Thu, 9 Dec 2021 14:28:17 +0000 (08:28 -0600)]
Fix cmake for power
Martin Kroeker [Thu, 9 Dec 2021 06:28:57 +0000 (07:28 +0100)]
Merge pull request #3472 from kavanabhat/p10_aixas_p8
Fallback for Power kernels
Martin Kroeker [Wed, 8 Dec 2021 21:19:32 +0000 (22:19 +0100)]
Merge pull request #3469 from martin-frbg/issue2986
Roll back SkylakeX DGEMM kernels to 4x8 when compiling for DYNAMIC_ARCH
Martin Kroeker [Wed, 8 Dec 2021 21:18:44 +0000 (22:18 +0100)]
Fix ar path in ARMV7 Darwin NDK build on Azure (#3473)
* Adjust ar commad in ARMV7 Darwin NDK build after homebrew update to NDK 23b
kavanabhat [Wed, 8 Dec 2021 09:52:23 +0000 (03:52 -0600)]
Fallback for Power kernels
Martin Kroeker [Mon, 6 Dec 2021 18:43:54 +0000 (19:43 +0100)]
roll back DGEMM kernels to 4x8 when compiling for DYNAMIC_ARCH
Martin Kroeker [Mon, 6 Dec 2021 18:42:51 +0000 (19:42 +0100)]
switch DGEMM unroll parameters for SkylakeX if DYNAMIC_ARCH
Bine Brank [Sun, 5 Dec 2021 17:47:29 +0000 (18:47 +0100)]
sgemm v2x8 SVE kernel
Martin Kroeker [Sun, 5 Dec 2021 14:52:44 +0000 (15:52 +0100)]
Merge pull request #3468 from martin-frbg/issue3467
Fix hardcoded library name in cpp_thread_test Makefile
Martin Kroeker [Sun, 5 Dec 2021 13:38:41 +0000 (14:38 +0100)]
Fix hardcoded library name
Bine Brank [Sun, 5 Dec 2021 13:03:08 +0000 (14:03 +0100)]
strmm sve v1x8 kernel
Martin Kroeker [Sat, 4 Dec 2021 21:24:02 +0000 (22:24 +0100)]
Fix DYNAMIC_ARCH builds with CMAKE on OSX and add corresponding test to Azure CI (#3409)
* Use linker response files and a custom link command to get around ARG_MAX limitations on OSX
* Reconfigure a redundant job on Azure to test shared library builds with CMAKE and DYNAMIC_ARCH on OSX
Martin Kroeker [Fri, 3 Dec 2021 11:12:20 +0000 (12:12 +0100)]
Merge pull request #3466 from rafaelcfsousa/rafael/small_matrix_p10
[POWER] Add small matrix for sgemm/dgemm on Power10
Martin Kroeker [Fri, 3 Dec 2021 11:11:43 +0000 (12:11 +0100)]
Merge pull request #3465 from kavanabhat/develop
Fix truncated assembler checks used to build Power10 Kernels
Martin Kroeker [Fri, 3 Dec 2021 10:41:53 +0000 (11:41 +0100)]
Delete test_zhemv.c
Martin Kroeker [Fri, 3 Dec 2021 09:01:20 +0000 (10:01 +0100)]
Merge pull request #3455 from cenewcombe/develop
Fix unsafe read during final iteration of zsymv_L_sse2.S
kavanabhat [Thu, 2 Dec 2021 07:59:38 +0000 (13:29 +0530)]
Update Makefile.system
kavanabhat [Wed, 1 Dec 2021 15:00:43 +0000 (20:30 +0530)]
Merge pull request #1 from kavanabhat/as_check_fix
Fix truncated assembler checks used for Power10 kernel build
kavanabhat [Wed, 1 Dec 2021 14:00:40 +0000 (19:30 +0530)]
Fix truncated assembler checks
Bine Brank [Mon, 29 Nov 2021 20:25:05 +0000 (21:25 +0100)]
trmm sve copy fucntions for single precision
Rafael Cardoso Fernandes Sousa [Tue, 16 Nov 2021 20:47:41 +0000 (14:47 -0600)]
[POWER] Add support for SMALL_MATRIX_OPT
Bine Brank [Sun, 28 Nov 2021 17:12:47 +0000 (18:12 +0100)]
add sgemm kernel and copy functions for sgemm and ssymm
Martin Kroeker [Fri, 26 Nov 2021 15:14:55 +0000 (16:14 +0100)]
Merge pull request #3425 from binebrank/arm_sve_dgemm
Add dgemm kernel for arm64 SVE
Martin Kroeker [Fri, 26 Nov 2021 14:19:24 +0000 (15:19 +0100)]
Merge pull request #3459 from rafaelcfsousa/fix_cmake
Fix issues when building OpenBLAS with cmake
Martin Kroeker [Fri, 26 Nov 2021 12:40:23 +0000 (13:40 +0100)]
Merge pull request #3462 from martin-frbg/azure-alpine2
Azure CI: Update alpine-chroot-install again
Martin Kroeker [Fri, 26 Nov 2021 12:39:49 +0000 (13:39 +0100)]
Update alpine-chroot-install again
Bine Brank [Fri, 26 Nov 2021 12:11:19 +0000 (13:11 +0100)]
update CONTRIBUTORS.md
Bine Brank [Fri, 26 Nov 2021 09:35:01 +0000 (10:35 +0100)]
Adapt CMake for SVE
Martin Kroeker [Fri, 26 Nov 2021 09:30:47 +0000 (10:30 +0100)]
Merge pull request #3457 from wjc404/optimize-A53-dgemm
MOD: optimize zgemm on cortex-A53/cortex-A55
Martin Kroeker [Fri, 26 Nov 2021 09:29:28 +0000 (10:29 +0100)]
Merge pull request #3456 from martin-frbg/issue3444
Add/restore a GENERIC target for MIPS32 and support MIPS32 cross-compilation using CMAKE
Martin Kroeker [Fri, 26 Nov 2021 08:38:41 +0000 (09:38 +0100)]
AzureCI: Fetch alpine-chroot-install from master to get key updates (#3460)
* Fetch alpine-chroot-install from master to get key updates
Jia-Chen [Thu, 25 Nov 2021 14:48:48 +0000 (22:48 +0800)]
MOD: add comments to a53 zgemm kernel
Rafael Cardoso Fernandes Sousa [Thu, 25 Nov 2021 02:07:20 +0000 (20:07 -0600)]
Modify the order that cmake set the KERNEL variables (generic now is fallback)
Rafael Cardoso Fernandes Sousa [Wed, 24 Nov 2021 20:07:28 +0000 (14:07 -0600)]
Fix the cmake parser to identify more patterns
Jia-Chen [Wed, 24 Nov 2021 13:51:45 +0000 (21:51 +0800)]
MOD: optimize zgemm on cortex-A53/cortex-A55
Bine Brank [Tue, 23 Nov 2021 20:18:08 +0000 (21:18 +0100)]
reduced dgemm_unroll_m to work with 128-bit sve
Bine Brank [Mon, 22 Nov 2021 09:12:34 +0000 (10:12 +0100)]
removed unused code (compiler warnings)
Bine Brank [Mon, 22 Nov 2021 08:54:20 +0000 (09:54 +0100)]
modify Makefile for SVE copy
Bine Brank [Sun, 21 Nov 2021 17:33:43 +0000 (18:33 +0100)]
configure SVE Makefile
Bine Brank [Sun, 21 Nov 2021 13:56:27 +0000 (14:56 +0100)]
some clean-up & commentary
Martin Kroeker [Sat, 20 Nov 2021 22:54:48 +0000 (23:54 +0100)]
Fix unintended reversion of recent CortexA53 changes
Martin Kroeker [Sat, 20 Nov 2021 16:34:28 +0000 (17:34 +0100)]
Add CMAKE support for cross-compiling to MIPS32
Martin Kroeker [Sat, 20 Nov 2021 16:31:51 +0000 (17:31 +0100)]
Add generic mips32 target
Martin Kroeker [Sat, 20 Nov 2021 16:31:11 +0000 (17:31 +0100)]
Add generic MIPS32 target
Bine Brank [Sat, 20 Nov 2021 15:35:29 +0000 (16:35 +0100)]
symm SVE copy rutines
Caroline Newcombe [Fri, 19 Nov 2021 20:29:32 +0000 (14:29 -0600)]
Fix unsafe read during final iteration of zsymv_L_sse2.S
Martin Kroeker [Thu, 18 Nov 2021 17:17:27 +0000 (18:17 +0100)]
Merge pull request #3451 from wjc404/optimize-A53-dgemm
MOD: optimize DGEMM of large matrices on cortex A53 & A55
Jia-Chen [Thu, 18 Nov 2021 13:14:43 +0000 (21:14 +0800)]
MOD: optimize normal DGEMM on ARMV8 cortex-A53 & cortex-A55
Martin Kroeker [Tue, 16 Nov 2021 22:58:09 +0000 (23:58 +0100)]
Merge pull request #3450 from mmuetzel/suffix-nofortran
cmake: Set SUFFIX64 also for NOFORTRAN
Markus Mützel [Mon, 15 Nov 2021 07:53:52 +0000 (08:53 +0100)]
cmake: Set SUFFIX64 also for NOFORTRAN
Bine Brank [Sun, 14 Nov 2021 15:00:10 +0000 (16:00 +0100)]
add remaining trmm copy rutines for SVE
Martin Kroeker [Sun, 14 Nov 2021 11:01:53 +0000 (12:01 +0100)]
Merge pull request #3449 from martin-frbg/mips_msa
Fix MIPS/MIPS64 compilation querying compiler rather than cpu for MSA capability
Martin Kroeker [Sat, 13 Nov 2021 22:32:26 +0000 (23:32 +0100)]
Ignore compiler support for MIPS MSA if the cpu lacks this capability
Martin Kroeker [Sat, 13 Nov 2021 22:26:48 +0000 (23:26 +0100)]
MIPS P5600 and 24KC,1004K cpus do not support MSA
Martin Kroeker [Sat, 13 Nov 2021 22:25:34 +0000 (23:25 +0100)]
get MSA capability from feature flags
Bine Brank [Sat, 13 Nov 2021 17:48:53 +0000 (18:48 +0100)]
dtrmm_utcopy sve function
Martin Kroeker [Thu, 11 Nov 2021 08:29:36 +0000 (09:29 +0100)]
Merge pull request #3447 from martin-frbg/issue3446
Fix potentially wrong HOSTARCH definition in cross-compilation
Martin Kroeker [Wed, 10 Nov 2021 21:27:14 +0000 (22:27 +0100)]
Fix potentially wrong HOSTARCH definition in cross-compilation
Bine Brank [Sun, 7 Nov 2021 19:37:51 +0000 (20:37 +0100)]
add v2x8 kernel + fix sve dtrmm
Martin Kroeker [Fri, 5 Nov 2021 11:23:47 +0000 (12:23 +0100)]
Merge pull request #3443 from martin-frbg/issue3441
Fix NULL pointer checks in blas_memory_alloc
Martin Kroeker [Fri, 5 Nov 2021 09:43:17 +0000 (10:43 +0100)]
Fix NULL pointer checks in blas_memory_alloc
Martin Kroeker [Thu, 4 Nov 2021 22:48:02 +0000 (23:48 +0100)]
Merge pull request #3431 from MehdiChinoune/export-shared-only
Fix exported OpenBLASTargets.cmake
Martin Kroeker [Thu, 4 Nov 2021 22:47:11 +0000 (23:47 +0100)]
Merge pull request #3442 from martin-frbg/cpuid_x86
Add CPUID recognition of Intel Alder Lake
Martin Kroeker [Thu, 4 Nov 2021 19:36:39 +0000 (20:36 +0100)]
Add CPUIDs for Alder Lake and other recent Intel cpus
Martin Kroeker [Thu, 4 Nov 2021 19:35:41 +0000 (20:35 +0100)]
Add CPUIDs for Alder Lake and some other recent Intel cpus
Martin Kroeker [Thu, 4 Nov 2021 11:13:22 +0000 (12:13 +0100)]
Merge pull request #3429 from martin-frbg/issue3428
Adjust compiler options for nvc after 21.9 (and fix typo in DYNAMIC_ARCH settings)
Martin Kroeker [Thu, 4 Nov 2021 11:11:50 +0000 (12:11 +0100)]
Merge pull request #3440 from mhillenbrand/fix_gemv_indices
Fix flipped indices in benchmark for gemv
Martin Kroeker [Thu, 4 Nov 2021 11:11:16 +0000 (12:11 +0100)]
Fix miscounting of threadpool size on Linux with OMP_PROC_BIND=TRUE (#3437)
* return OMP places (if available, or SC_NPROCESSORS_CONF) for maximum thread count when built with OpenMP
Marius Hillenbrand [Wed, 3 Nov 2021 11:45:09 +0000 (12:45 +0100)]
Fix flipped indices in benchmark for gemv
Fixes #3439
Bine Brank [Mon, 1 Nov 2021 21:53:21 +0000 (22:53 +0100)]
add ARMV8SVE target
Martin Kroeker [Mon, 1 Nov 2021 20:45:33 +0000 (21:45 +0100)]
Merge pull request #3427 from mhillenbrand/zarch-detection-notes
cpuid_zarch/hwcaps: add documentation and dump hwcaps in init
Martin Kroeker [Mon, 1 Nov 2021 20:44:49 +0000 (21:44 +0100)]
Merge pull request #3434 from gxw-loongson/develop
Add cblas_{c/z}srot cblas_{c/z}rotg support
gxw [Mon, 1 Nov 2021 12:15:42 +0000 (20:15 +0800)]
Add cblas_{c/z}srot cblas_{c/z}rotg support
Bine Brank [Sun, 31 Oct 2021 09:24:25 +0000 (10:24 +0100)]
fix sve dgemm kernel + sve dtrmm
Martin Kroeker [Sat, 30 Oct 2021 15:31:19 +0000 (17:31 +0200)]
Fix nvidia HPC version checks
Bine Brank [Sat, 30 Oct 2021 10:11:44 +0000 (12:11 +0200)]
added SVE ncopy and tcopy
Mehdi Chinoune [Fri, 29 Oct 2021 20:28:21 +0000 (21:28 +0100)]
Fix exported OpenBLASTargets.cmake
When both BUILD_SHARED_LIBS and BUILD_STATIC_LIBS are enabled,
cmake export both of them to OpenBLASTargets under tha same name `OpenBLAS::OpenBLAS`
which leads to fatal error about OpenBLAS::OpenBLAS being both static and shared target.
This change makes cmake export only the shared library in that case.
There is another solution to treat them as components,
but I am afraid that will make it backward incompatible.
Martin Kroeker [Fri, 29 Oct 2021 14:39:03 +0000 (16:39 +0200)]
Adjust compiler options for nvidia hpc 21.9 (and fix a long-standing typo in dynamic_arch settings)
Marius Hillenbrand [Wed, 27 Oct 2021 15:26:28 +0000 (17:26 +0200)]
cpuid_zarch/hwcaps: add documentation and dump hwcaps in init
Add pointers to the definition of the hardware capability flags in glibc
and describe how they relate to the levels CPU_Z13 and CPU_Z14 for
optimized kernels.
To aid identifying available hardware capabilities and in debugging
potential build issues, dump their value in dynamic_arch_init() when
OPENBLAS_VERBOSE is set to 2 or higher.
Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
Martin Kroeker [Thu, 28 Oct 2021 05:31:12 +0000 (07:31 +0200)]
Merge pull request #3426 from martin-frbg/pr3424
Add runtime DYNAMIC_ARCH cpu detection for Tiger Lake H
Martin Kroeker [Wed, 27 Oct 2021 20:17:58 +0000 (22:17 +0200)]
Add model number for Tiger Lake H (mobile variant)