platform/upstream/openblas.git
2 years agoMerge pull request #3518 from martin-frbg/elbrus
Martin Kroeker [Tue, 25 Jan 2022 19:57:59 +0000 (20:57 +0100)]
Merge pull request #3518 from martin-frbg/elbrus

Add basic support for the (mostly x86_64 compatible) Elbrus E2000 architecture

2 years agoMerge pull request #3516 from mmuetzel/no-fortran
Martin Kroeker [Tue, 25 Jan 2022 19:57:38 +0000 (20:57 +0100)]
Merge pull request #3516 from mmuetzel/no-fortran

cmake: Check if Fortran compiler is usable before enabling it.

2 years agoUpdate CONTRIBUTORS.md
Martin Kroeker [Sat, 22 Jan 2022 18:09:00 +0000 (19:09 +0100)]
Update CONTRIBUTORS.md

2 years agoUpdate CONTRIBUTORS.md
Martin Kroeker [Sat, 22 Jan 2022 18:02:57 +0000 (19:02 +0100)]
Update CONTRIBUTORS.md

2 years agoAdd default KERNEL file for Elbrus E2K arch
Martin Kroeker [Sat, 22 Jan 2022 17:59:36 +0000 (18:59 +0100)]
Add default KERNEL file for Elbrus E2K arch

2 years agoCreate Makefile
Martin Kroeker [Sat, 22 Jan 2022 17:57:28 +0000 (18:57 +0100)]
Create Makefile

2 years agoAdd Elbrus e2k architecture support
Martin Kroeker [Sat, 22 Jan 2022 17:55:10 +0000 (18:55 +0100)]
Add Elbrus e2k architecture support

2 years agoAdd Elbrus E2000 architecture as generic x86_64 compatible
Martin Kroeker [Sat, 22 Jan 2022 17:53:38 +0000 (18:53 +0100)]
Add Elbrus E2000 architecture as generic x86_64 compatible

2 years agoAdd Elbrus e2k architecture detection
Martin Kroeker [Sat, 22 Jan 2022 17:27:38 +0000 (18:27 +0100)]
Add Elbrus e2k architecture detection

2 years agocmake: Check if Fortran compiler is usable before enabling it.
Markus Mützel [Fri, 21 Jan 2022 12:27:17 +0000 (13:27 +0100)]
cmake: Check if Fortran compiler is usable before enabling it.

2 years agoMerge pull request #3492 from binebrank/arm_sve_zgemm
Martin Kroeker [Tue, 18 Jan 2022 20:36:33 +0000 (21:36 +0100)]
Merge pull request #3492 from binebrank/arm_sve_zgemm

SVE zgemm&cgemm (and other BLAS 3 complex)

2 years agoupdate armv8sve + contributors
Bine Brank [Tue, 18 Jan 2022 07:28:31 +0000 (08:28 +0100)]
update armv8sve + contributors

2 years agoadapt CMake
Bine Brank [Mon, 17 Jan 2022 21:36:48 +0000 (22:36 +0100)]
adapt CMake

2 years agoMerge pull request #3514 from martin-frbg/issue3513
Martin Kroeker [Mon, 17 Jan 2022 18:22:18 +0000 (19:22 +0100)]
Merge pull request #3514 from martin-frbg/issue3513

Fix ?LASWP pivot index calculation for negative increments other than -1

2 years agoFix pivot offset calculation for negative incx
Martin Kroeker [Sun, 16 Jan 2022 23:11:18 +0000 (00:11 +0100)]
Fix pivot offset calculation for negative incx

2 years agoFix pivot offset calculation for negative incx
Martin Kroeker [Sun, 16 Jan 2022 23:10:21 +0000 (00:10 +0100)]
Fix pivot offset calculation for negative incx

2 years agoFix offset calculation for negative incx
Martin Kroeker [Sun, 16 Jan 2022 23:09:14 +0000 (00:09 +0100)]
Fix offset calculation for negative incx

2 years agoFix pivot offset calculation for negative incx
Martin Kroeker [Sun, 16 Jan 2022 23:08:20 +0000 (00:08 +0100)]
Fix pivot offset calculation for negative incx

2 years agoFix pivot offset calculation for negative incx
Martin Kroeker [Sun, 16 Jan 2022 23:07:33 +0000 (00:07 +0100)]
Fix pivot offset calculation for negative incx

2 years agoFix pivot offset calculation for negative incx
Martin Kroeker [Sun, 16 Jan 2022 23:06:41 +0000 (00:06 +0100)]
Fix pivot offset calculation for negative incx

2 years agoFix pivot index for negative increments
Martin Kroeker [Sun, 16 Jan 2022 23:05:33 +0000 (00:05 +0100)]
Fix pivot index for negative increments

2 years agoadapt Makefile for SVE trsm
Bine Brank [Sun, 16 Jan 2022 20:40:56 +0000 (21:40 +0100)]
adapt Makefile for SVE trsm

2 years agofix ztrsm lt/ut copy
Bine Brank [Sun, 16 Jan 2022 20:39:57 +0000 (21:39 +0100)]
fix ztrsm lt/ut copy

2 years agoadd sve ztrsm
Bine Brank [Sat, 15 Jan 2022 21:27:25 +0000 (22:27 +0100)]
add sve ztrsm

2 years agofix sve dtrsm kernels
Bine Brank [Sat, 15 Jan 2022 20:02:14 +0000 (21:02 +0100)]
fix sve dtrsm kernels

2 years agoadd remaining sve trsm copy kernels
Bine Brank [Tue, 11 Jan 2022 20:16:38 +0000 (21:16 +0100)]
add remaining sve trsm copy kernels

2 years agotrsm_lncopy_sve
Bine Brank [Mon, 10 Jan 2022 20:45:37 +0000 (21:45 +0100)]
trsm_lncopy_sve

2 years agosve trsmRN and trsmRT
Bine Brank [Mon, 10 Jan 2022 19:42:20 +0000 (20:42 +0100)]
sve trsmRN and trsmRT

2 years agoMerge pull request #3511 from martin-frbg/cmakeutils
Martin Kroeker [Mon, 10 Jan 2022 08:12:52 +0000 (09:12 +0100)]
Merge pull request #3511 from martin-frbg/cmakeutils

Fix handling of ifdef/ifndef in CMAKE

2 years agoFix handling of ifdef/ifndef
Martin Kroeker [Sun, 9 Jan 2022 22:31:59 +0000 (23:31 +0100)]
Fix handling of ifdef/ifndef

2 years agoadd trsm_kernel_LT_sve
Bine Brank [Sun, 9 Jan 2022 19:11:47 +0000 (20:11 +0100)]
add trsm_kernel_LT_sve

2 years agosve trsm_kernel_LN
Bine Brank [Sun, 9 Jan 2022 18:40:04 +0000 (19:40 +0100)]
sve trsm_kernel_LN

2 years agoMerge pull request #3510 from martin-frbg/issue3505
Martin Kroeker [Sun, 9 Jan 2022 13:50:51 +0000 (14:50 +0100)]
Merge pull request #3510 from martin-frbg/issue3505

Fix recent SkylakeX/DYNAMIC_ARCH DGEMM breakage

2 years agoMerge pull request #3508 from snadampal/v1_n2
Martin Kroeker [Sun, 9 Jan 2022 13:50:26 +0000 (14:50 +0100)]
Merge pull request #3508 from snadampal/v1_n2

OpenBLAS: aarch64: Add neoverse-v1/n2 architecture specifics

2 years agomake DYNAMIC_ARCH option available to getarch_2nd/param.h
Martin Kroeker [Sat, 8 Jan 2022 22:50:34 +0000 (23:50 +0100)]
make DYNAMIC_ARCH option available to getarch_2nd/param.h

2 years agoForward DYNAMIC_ARCH option to Makefile.prebuild
Martin Kroeker [Sat, 8 Jan 2022 22:48:58 +0000 (23:48 +0100)]
Forward DYNAMIC_ARCH option to Makefile.prebuild

2 years agoSkylakeX: match parameters to dgemm kernels for dyn/non-dyn
Martin Kroeker [Sat, 8 Jan 2022 22:48:13 +0000 (23:48 +0100)]
SkylakeX: match parameters to dgemm kernels for dyn/non-dyn

2 years agoOpenBLAS: aarch64: Add neoverse-v1/n2 architecture specifics
Sunita Nadampalli [Fri, 7 Jan 2022 00:28:17 +0000 (00:28 +0000)]
OpenBLAS: aarch64: Add neoverse-v1/n2 architecture specifics

2 years agoupdate contributors
Bine Brank [Thu, 6 Jan 2022 09:29:35 +0000 (10:29 +0100)]
update contributors

2 years agofix makefile.L3
Bine Brank [Thu, 6 Jan 2022 09:26:11 +0000 (10:26 +0100)]
fix makefile.L3

2 years agocombine zchemm into single file
Bine Brank [Wed, 5 Jan 2022 13:42:37 +0000 (14:42 +0100)]
combine zchemm into single file

2 years agoadapt CMake for SVE
Bine Brank [Wed, 5 Jan 2022 13:36:39 +0000 (14:36 +0100)]
adapt CMake for SVE

2 years agosve copy functions for cgemm chemm zsymm
Bine Brank [Wed, 5 Jan 2022 08:12:22 +0000 (09:12 +0100)]
sve copy functions for cgemm chemm zsymm

2 years agoadd cgemm ctrmm sve kernels
Bine Brank [Wed, 5 Jan 2022 08:09:18 +0000 (09:09 +0100)]
add cgemm ctrmm sve kernels

2 years agomodify sve zgemmcopy kernels
Bine Brank [Wed, 5 Jan 2022 08:07:28 +0000 (09:07 +0100)]
modify sve zgemmcopy kernels

2 years agoupdate configuration of kernels for A64FX and ARMV8SVE
Bine Brank [Wed, 5 Jan 2022 08:00:54 +0000 (09:00 +0100)]
update configuration of kernels for A64FX and ARMV8SVE

2 years agoconfigure Makefile for sve
Bine Brank [Wed, 5 Jan 2022 07:57:51 +0000 (08:57 +0100)]
configure Makefile for sve

2 years agofix sve ztrmm kernel
Bine Brank [Tue, 4 Jan 2022 13:42:07 +0000 (14:42 +0100)]
fix sve ztrmm kernel

2 years agoztrmm sve copy functions
Bine Brank [Tue, 4 Jan 2022 13:40:59 +0000 (14:40 +0100)]
ztrmm sve copy functions

2 years agoadd sve zhemm copy routines
Bine Brank [Mon, 3 Jan 2022 14:56:05 +0000 (15:56 +0100)]
add sve zhemm copy routines

2 years agoadd sve ztrmm
Bine Brank [Sun, 2 Jan 2022 18:15:33 +0000 (19:15 +0100)]
add sve ztrmm

2 years agoMerge pull request #3502 from jgillis/develop
Martin Kroeker [Sat, 1 Jan 2022 11:12:32 +0000 (12:12 +0100)]
Merge pull request #3502 from jgillis/develop

Fix cmake crosscompilation for core2 target

2 years agoMerge pull request #3504 from martin-frbg/issue3503
Martin Kroeker [Sat, 1 Jan 2022 10:43:17 +0000 (11:43 +0100)]
Merge pull request #3504 from martin-frbg/issue3503

Guard against omp_get_num_places returning zero

2 years agoGuard against omp_get_num_places returning zero
Martin Kroeker [Fri, 31 Dec 2021 23:46:23 +0000 (00:46 +0100)]
Guard against omp_get_num_places returning zero

2 years agoztrmm sve copy kernels
Bine Brank [Thu, 30 Dec 2021 20:00:16 +0000 (21:00 +0100)]
ztrmm sve copy kernels

2 years agoFix cmake crosscompilation for core2 target
jgillis [Wed, 29 Dec 2021 21:50:20 +0000 (22:50 +0100)]
Fix cmake crosscompilation for core2 target

Missing HAVE_SSE* cmake variables cause cc.cmake to forget about `-msse*` flags

2 years agofix zgemm kernel
Bine Brank [Wed, 29 Dec 2021 10:42:04 +0000 (11:42 +0100)]
fix zgemm kernel

2 years agoMerge pull request #3500 from martin-frbg/osx_dyn_xerbla
Martin Kroeker [Tue, 28 Dec 2021 21:54:27 +0000 (22:54 +0100)]
Merge pull request #3500 from martin-frbg/osx_dyn_xerbla

Ensure that the right xerbla gets included in OSX DYNAMIC_ARCH builds

2 years agoEnsure that the right xerbla gets included in OSX DYNAMIC_ARCH builds
Martin Kroeker [Tue, 28 Dec 2021 18:06:55 +0000 (19:06 +0100)]
Ensure that the right xerbla gets included in OSX DYNAMIC_ARCH builds

2 years agoMerge pull request #3496 from yuanhec/develop
Martin Kroeker [Tue, 28 Dec 2021 17:51:56 +0000 (18:51 +0100)]
Merge pull request #3496 from yuanhec/develop

Fixed MSA enabled optimization on Loongson-3A4000

2 years agoMerge remote-tracking branch 'upstream/develop' into develop
yuanhecai [Mon, 27 Dec 2021 01:50:57 +0000 (09:50 +0800)]
Merge remote-tracking branch 'upstream/develop' into develop

2 years agozgemm sve copy routines
Bine Brank [Sun, 26 Dec 2021 16:05:46 +0000 (17:05 +0100)]
zgemm sve copy routines

2 years agosve zgemm kernel
Bine Brank [Sun, 26 Dec 2021 07:44:05 +0000 (08:44 +0100)]
sve zgemm kernel

2 years agoadded macros for sve zgemm kernels
Bine Brank [Sat, 25 Dec 2021 10:46:41 +0000 (11:46 +0100)]
added macros for sve zgemm kernels

2 years agoFixed MSA enabled optimization on Loongson-3A4000
yuanhecai [Thu, 23 Dec 2021 12:04:27 +0000 (20:04 +0800)]
Fixed MSA enabled optimization on Loongson-3A4000

2 years agoMerge pull request #3491 from gxw-loongson/develop
Martin Kroeker [Wed, 22 Dec 2021 07:34:12 +0000 (08:34 +0100)]
Merge pull request #3491 from gxw-loongson/develop

loongarch64: Optimize dgemm_kernel

2 years agoprepare kernel for sve zgemm
Bine Brank [Tue, 21 Dec 2021 10:19:27 +0000 (11:19 +0100)]
prepare kernel for sve zgemm

2 years agoloongarch64: Optimize dgemm_kernel
gxw [Tue, 21 Dec 2021 01:22:59 +0000 (09:22 +0800)]
loongarch64: Optimize dgemm_kernel

2 years agoUpdate version to 0.3.19.dev
Martin Kroeker [Sun, 19 Dec 2021 20:22:19 +0000 (21:22 +0100)]
Update version to 0.3.19.dev

2 years agoUpdate version to 0.3.19.dev
Martin Kroeker [Sun, 19 Dec 2021 20:21:47 +0000 (21:21 +0100)]
Update version to 0.3.19.dev

2 years agoMerge pull request #3489 from xianyi/release-0.3.0
Martin Kroeker [Sun, 19 Dec 2021 20:21:13 +0000 (21:21 +0100)]
Merge pull request #3489 from xianyi/release-0.3.0

Merge back from release branch to copy 0.3.19 tag

2 years agoUpdate version to 0.3.19
Martin Kroeker [Sun, 19 Dec 2021 19:55:57 +0000 (20:55 +0100)]
Update version to 0.3.19

2 years agoMerge pull request #3488 from xianyi/develop
Martin Kroeker [Sun, 19 Dec 2021 19:54:49 +0000 (20:54 +0100)]
Merge pull request #3488 from xianyi/develop

Update from develop branch for 0.3.19 release

2 years agoMerge branch 'release-0.3.0' into develop
Martin Kroeker [Sun, 19 Dec 2021 15:35:07 +0000 (16:35 +0100)]
Merge branch 'release-0.3.0' into develop

2 years agoUpdate version to 0.3.19
Martin Kroeker [Sun, 19 Dec 2021 15:32:04 +0000 (16:32 +0100)]
Update version to 0.3.19

2 years agoMerge pull request #3487 from martin-frbg/0319changes
Martin Kroeker [Sun, 19 Dec 2021 15:30:47 +0000 (16:30 +0100)]
Merge pull request #3487 from martin-frbg/0319changes

Update Changelog for 0.3.19 release

2 years agoUpdate with 0.3.19 changes
Martin Kroeker [Sun, 19 Dec 2021 13:34:14 +0000 (14:34 +0100)]
Update with 0.3.19 changes

2 years agoMerge pull request #3486 from martin-frbg/nvhpc
Martin Kroeker [Sat, 18 Dec 2021 22:09:30 +0000 (23:09 +0100)]
Merge pull request #3486 from martin-frbg/nvhpc

Update -tp option for recent nvfortran on x86_64

2 years agoUpdate -tp option for recent nvfortran on x86_64
Martin Kroeker [Sat, 18 Dec 2021 20:56:26 +0000 (21:56 +0100)]
Update -tp option for recent nvfortran on x86_64

2 years agoMerge pull request #3485 from martin-frbg/issue3453
Martin Kroeker [Fri, 17 Dec 2021 10:08:36 +0000 (11:08 +0100)]
Merge pull request #3485 from martin-frbg/issue3453

Add feature-based fallback for unknown x86_64 cpus

2 years agoAdd feature-based fallback for unknown x86_64 cpus
Martin Kroeker [Thu, 16 Dec 2021 21:02:49 +0000 (22:02 +0100)]
Add feature-based fallback for unknown x86_64 cpus

2 years agoMerge pull request #3484 from martin-frbg/issue3481
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

2 years agoMerge pull request #3480 from wzgpeter/develop
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

2 years agoMerge pull request #3478 from ffontaine/develop
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

2 years agodefine "unlikely" on non-cygwin too
Martin Kroeker [Thu, 16 Dec 2021 16:28:28 +0000 (17:28 +0100)]
define "unlikely" on non-cygwin too

2 years agoOpen up delayed (re)init to non-Cygwin OS as well
Martin Kroeker [Thu, 16 Dec 2021 15:58:12 +0000 (16:58 +0100)]
Open up delayed (re)init to non-Cygwin OS as well

2 years agoMerge pull request #3483 from martin-frbg/issue3482
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

2 years agomove brace inside the ifdef block
Martin Kroeker [Thu, 16 Dec 2021 08:37:58 +0000 (09:37 +0100)]
move brace inside the ifdef block

2 years agofix bug in zscal function
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>
2 years agoMakefile: also consider -O, -Og and -Os when stripping flags
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>
2 years agoMove the threads overflow flag under the protection of the local blas lock (#3476)
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

2 years agoMerge pull request #3475 from wjc404/optimize-A53-dgemm
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

2 years agoMerge pull request #3474 from rafaelcfsousa/rafael/cmake_power
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

2 years agooptimize cgemm on ARM cortex A53 & cortex A55
Jia-Chen [Sun, 12 Dec 2021 09:22:52 +0000 (17:22 +0800)]
optimize cgemm on ARM cortex A53 & cortex A55

2 years agoMerge pull request #3464 from binebrank/arm_sve_sgemm
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

2 years agofix UNROLL_MN and add to targets for SVE
Bine Brank [Sat, 11 Dec 2021 15:37:23 +0000 (16:37 +0100)]
fix UNROLL_MN and add to targets for SVE

2 years agoadjust Makefile.L3 for SVE
Bine Brank [Sat, 11 Dec 2021 15:35:08 +0000 (16:35 +0100)]
adjust Makefile.L3 for SVE

2 years agoUse CMake variables instead of as
Rafael Cardoso Fernandes Sousa [Fri, 10 Dec 2021 23:35:28 +0000 (17:35 -0600)]
Use CMake variables instead of as

2 years agoFix error cmake (small kernels)
Rafael Cardoso Fernandes Sousa [Thu, 9 Dec 2021 15:57:39 +0000 (09:57 -0600)]
Fix error cmake (small kernels)

2 years agoFix cmake for power
Rafael Cardoso Fernandes Sousa [Thu, 9 Dec 2021 14:28:17 +0000 (08:28 -0600)]
Fix cmake for power