Commit Graph
2347 Commits
Author SHA1 Message Date
Angelika Schwarz ea86668bfc Fix leading dimension check of eigen-/Schur vectors in LAPACKE
Closes #327
2022-05-01 11:51:12 +01:00
Weslley S. Pereira 3b177e95d4 Merge pull request #663 from mtowara/master
Fix CBLAS/src/CMakeLists.txt
2022-04-27 12:45:46 -06:00
Markus Towara da11f0945b Fix CBLAS/src/CMakeLists.txt
remove spurious ../ from target_include_directories path
2022-04-27 18:05:39 +02:00
langou def1271eda Merge pull request #623 from weslleyspereira/try-test-fotrancompiler_abs_div_operations
Test the Fortran intrinsic ABS and complex divisions and report fails during build
2022-04-25 21:25:00 -06:00
langou 82565038dd Merge pull request #601 from PhillHS/master
Fix for overwritten LD_LIBRARY_PATH and LIBRARY_PATH
2022-04-25 21:24:23 -06:00
Weslley S. Pereira 25274dfebb Merge pull request #622 from matcross/master
Regression test for illegal modification of Y in xGEMV.
2022-04-15 14:48:03 -06:00
Weslley S. Pereira 32b062a333 Merge pull request #659 from weslleyspereira/prepare-lapack-3.10.1
Prepare software to release 3.10.1
v3.10.1
2022-04-12 14:19:52 -06:00
Weslley da Silva Pereira e7ad0370d4 Preparing software to release 3.10.1 2022-04-12 14:11:40 -06:00
Weslley S. Pereira 5559978672 Merge pull request #617 from ajaypanyala/master
use integer64 flag for Cray Fortran compiler
2022-04-12 09:11:08 -06:00
Weslley S. Pereira 2821eadc72 Merge pull request #640 from mathstuf/cmake-osx-deployment-target
cmake: forward the macOS deployment target to the TIME function test
2022-04-12 09:09:39 -06:00
Weslley S. Pereira fc556054ff Merge pull request #653 from weslleyspereira/master
Adds __attribute__((const)) to LAPACKE_lsame
2022-04-12 09:00:34 -06:00
langou 9ec7de983e Merge pull request #657 from angsch/ls
Fix workspace size returned by getsls
2022-04-12 09:52:42 -05:00
Weslley S. Pereira 10634c138e Merge pull request #658 from angsch/fix
Fix tests
2022-04-11 17:43:00 -06:00
Angelika Schwarz c137eb15fa Fix leading dimension check
* TPMLQT, GEMLQT: Revert check of ldv and correct docs
* Add input parameter checks for LASWLQ
* LAMSWLQ: Fix mixed up column count of rhs (n) and original matrix (m)
2022-04-03 13:16:40 +01:00
Angelika Schwarz 11d3fa9436 Fix mixed up column count of rhs (n) and original matrix (k)
* add input parameter tests
* revert check of n when it denotes the column of the matrix to be updated
  and correct the docs
* relax constraint on mb and update docs - special cases outside of the docs
  are handled by a call to GEQRT
2022-04-03 13:12:06 +01:00
Angelika Schwarz a3262e52b0 Fix returned workspace size
* [dz]getsls: cast workspace size with dble, not real
* Move workspace write to precede xerbla. Follow the documentation
  and return the optimal workspace in work(1) even on quick return
* Remove unused variables
2022-03-30 21:36:45 +01:00
langou 2f132eee6e Merge pull request #656 from angsch/laswlq
Improve input argument check swlq
2022-03-17 15:07:16 -06:00
Angelika Schwarz d1349aacd9 Improve input argument check swlq 2022-03-17 18:57:34 +00:00
Weslley S. Pereira e499638a16 Merge branch 'Reference-LAPACK:master' into master 2022-03-15 15:16:52 -06:00
langou a7c0392a19 Merge pull request #654 from angsch/tsqr
Improve input arg check lamtsqr
2022-03-09 16:57:27 -07:00
Angelika Schwarz 201353b433 Improve input arg check lamtsqr 2022-03-09 19:32:41 +00:00
Weslley da Silva Pereira eac5d3e43d Adds __attribute__((const)) to LAPACKE_lsame. This change allows for optimizations on GCC. This solution was proposed by @martin-frbg 2022-03-02 11:43:39 -07:00
langou 2a39774316 Merge pull request #637 from christoph-conrads/632-lapack_h-only-installed-in-LAPACKE-builds
CMake selective build improvements
2022-02-15 08:38:20 -07:00
Weslley S. Pereira 32019884f2 Merge pull request #649 from weslleyspereira/fix-bug-nrm2
Fixes a bug in the Blue's scaling constants of nrm2
2022-02-15 08:03:04 -07:00
Weslley da Silva Pereira 0400fb5ddb Fixes a bug in the Blue's scaling constants of nrm2 thanks to Arm Performance Libraries!
This is the same bug fixed on #559 for la_constants.f90.
2022-02-14 19:23:50 -07:00
langou c14db3be6f Merge pull request #646 from angsch/master
Fix input argument check
2022-01-30 18:55:54 -07:00
Christoph Conrads ca0b206d88 CMake: always install lapack.h header
fixes #632
2022-01-30 19:25:43 +00:00
Christoph Conrads 09af64a8ef CMake: fix selective arithmetic linking
Fix linking when only a subset of the available arithmetic (e.g., only
complex double-precision arithmetic) is built.
2022-01-30 19:25:43 +00:00
Christoph Conrads bd1fba15d0 CMake: have LAPACKE check available LAPACK arithmetic
If the user requests LAPACKE to be built for a certain arithmetic (e.g.,
real double-precision), check if the LAPACK library contains code for
the requested arithmetic.
2022-01-30 19:25:43 +00:00
angsch e9c2063932 Fix input argument check
Use the same argument check as the drop-in replacement xGEQRT3
to ensure M >= N.
2022-01-30 10:01:10 +00:00
Weslley S. Pereira 1dd9548c4d Adding tests with intrinsic MIN, MAX and complex multiplication 2022-01-03 16:09:55 -07:00
Ajay Panyala f3e8010382 Merge branch 'master' of github.com:Reference-LAPACK/lapack 2021-12-14 18:42:03 -08:00
Weslley S. Pereira 1782d90671 Merge pull request #613 from weslleyspereira/minor-fixes-3
Adds more fixes to the documentation of CROTG and ZROTG
2021-12-14 11:47:58 -07:00
Ben Boeckel dd0b532f60 cmake: forward the macOS deployment target to the TIME function test
When using newer Xcode releases, older `gfortran` may be given a
deployment target that is not understood if the host is on a new enough
version. Forward the deployment target from the main project to the
testing project to check with similar settings as the main project.
2021-12-10 21:45:12 -05:00
langou a066b6a08f Merge pull request #638 from weslleyspereira/fix-dgeqrf-when-info-minus1
Fix xGEQRF and xGERQF following thanks to @andreasvarga and @VasileSima4
2021-11-12 13:52:29 -07:00
Weslley S. Pereira 619d927173 Fix xGEQRF and xGERQF following thanks to @andreasvarga and @VasileSima4 2021-11-12 10:56:09 -07:00
langou 5d4180cf82 Merge pull request #626 from Reference-LAPACK/typo_in__rotg_from_jim
fix a typo, thanks to Jim Demmel for letting me know
2021-10-09 16:41:38 -06:00
Julien Langou 70b8ee22ad fix a typo, thanks to Jim Demmel for letting me know 2021-10-09 14:12:23 -06:00
Weslley S. Pereira 38f3eeee31 Merge pull request #625 from JuliaComputing/kf/slarrvbounds
Thank you!
2021-10-01 08:27:02 -06:00
Keno Fischer 0631b6beae Fix out of bounds read in slarrv
This was originally reported as https://github.com/JuliaLang/julia/issues/42415.
I've tracked this down to an our of bounds read on the following line:

https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L423

In the crashing example, `M` is `0`, causing `slarrv` to read uninitialized
memory from the work array. I believe the `0` for `M` is correct and indeed,
the documentation above supports that `M` may be zero:

https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L113-L116

I believe it may be sufficient to early-out this function as suggested
in this PR. However, I have limited context for the full routine here,
so I would appreciate a sanity check.
2021-09-30 19:15:16 -04:00
langou 44ecb6a5ff Merge pull request #624 from ericlars/ifort_ILP
ILP windows fix
2021-09-27 17:50:49 -06:00
Larson, Eric d04553067e ILP support
long's in windows are 4 bytes (MSVS, intel compilers). Use int64_t and int32_t
to ensure 8 byte integers for ILP interface.

support 8 byte integer flag for intel ifort compiler
2021-09-27 10:22:49 -07:00
Weslley S. Pereira f461d4f03b Fixes bugs. Updates documentation. Tests for ABS and complex division run on the Makefile build 2021-09-22 14:55:27 -06:00
Weslley S. Pereira 19fafd4fd2 Test the Fortran intrinsic ABS and complex divisions and report during compile time. Currently only working with the CMake build! 2021-09-22 14:20:50 -06:00
langou fe5af1176f Merge pull request #621 from quellyn/xl-fixes
Address issues with IBM XL builds
2021-09-21 10:51:24 -06:00
Quellyn Snead 26a81d142c Add an informative fall-through clause in case of unfamiliar
compiler (#26117).
2021-09-21 09:40:01 -06:00
Quellyn Snead 296e06af29 Merge remote-tracking branch 'upstream/master' into xl-fixes 2021-09-21 09:35:58 -06:00
Mat Cross 6c876d4a5c Regression test for illegal modification of Y in CGEMV, SGEMV and ZGEMV observed with Apple vecLib on SGEMV and DGEMV. 2021-09-19 13:58:52 +01:00
Mat Cross 6d10d14731 Regression test for illegal modification of Y in DGEMV observed with Apple vecLib. 2021-09-19 12:24:23 +01:00
Weslley S. Pereira 85ef8de8ba Merge pull request #620 from jip/fix
Thanks, @jip !!
2021-09-16 10:31:47 -06:00