Commit Graph
186 Commits
Author SHA1 Message Date
Martin Köhler 19b00163aa Add xGEMMT and their test cases
The xGEMMT subroutines are added in the Fortran
API. The tests are updated as well.
2024-06-24 14:04:02 +02:00
langou a56dbda146 Merge pull request #964 from cdluminate/master
Fix the wrong implementation of the new tests for xblat1.f
2024-06-19 09:34:56 -07:00
Christoph Conrads ec2805b5e9 CMake: restore compatibility with v3.10 and older
The COMPILE_OPTIONS property exists only from CMake 3.11 onwards.

fixes #975
2024-01-13 17:08:59 +01:00
Mo Zhou d371e22ff0 Fix the wrong implementation of the new tests for xblat1.f. (Fixes: #963)
Since this is a regression after upgrading from v3.11.0 to v3.12.0, we can
narrow down the range of the bug into the newly added SB1NRM2 subroutine.
According to the buildlog and the documentation in the code, the VALUES(9),
calculated as SXVALS(XX,2) should be infty. But the current code is returning
a zero (or randomly) initialized variable YY, which does not make sense.

In fact, if you go back to the reference implementation, namely the
supplementary material of this paper
  https://dl.acm.org/doi/abs/10.1145/3061665
You can find a similar implementation of the SXVALS function in the
`la_xxvals.F90` file. This patch corrests the test following the reference
code.
2023-12-21 13:58:38 -05:00
langou 4b8a925006 Merge pull request #939 from ACSimon33/nagfor_fix
Fixed Fortran preprocessor flag for NAG Fortran compiler
2023-11-15 07:40:26 -07:00
Simon Maertens b29d75131e Fixed Fortran preprocessor flag for NAG Fortran compiler 2023-11-15 14:22:26 +00:00
langou ae9c818530 Merge pull request #925 from angsch/master
Add Anderson's tests of NRM2
2023-11-12 08:43:44 -07:00
Angelika Schwarz 26df4b3599 Improve testing of NRM2
Add tests covering arrays with extreme numbers provided in
Anderson E. (2017)
Algorithm 978: Safe Scaling in the Level 1 BLAS
ACM Trans Math Softw 44:1--28
https://doi.org/10.1145/3061665

[D,S]NRM2 coverage improves
lines     59.1% -> 100.0%
branches  30.0% ->  90.0%.

[DZ,SC]NRM2 coverage improves
lines     67.0% -> 100.0%
branches  41.7% ->  91.7%
2023-11-12 07:44:37 +01:00
Julien Langou 44e942df6d fix #931
fix typo for the blas level of BLAS/SRC/DTRSV
2023-11-10 08:49:41 -07:00
Weslley S Pereira f70c3febac Some changes to make a possible compilation of LAPACKE independent from a Fortran compiler 2023-10-31 11:18:28 -06:00
langou 29832988b5 Merge pull request #843 from weslleyspereira/fix-248
Updates the documentation of xGEMV and xGBMV related to when M=0 and N=0
2023-08-22 12:58:28 -06:00
Weslley S Pereira 658ac9dbbb Updates documentation of *gemv.f, *gbmv.f, *la_gbamv.f, *la_geamv.f 2023-08-22 11:58:49 -06:00
langou 3b4fea67ce Merge pull request #861 from mkrainiuk/blas_64_macro
Reduce number of macros in fortran compilation line for BLAS _64 API
2023-07-04 07:44:25 -06:00
Mark Gates 303a3ecaa5 rotg: add description to doxygen 2023-07-04 01:29:14 -04:00
Mark Gates 62b19990a2 doxygen: new group structure 2023-07-04 01:29:12 -04:00
Maria Kraynyuk 80b492d102 Reduce number of macros in fortran compilation line for BLAS_64 2023-06-28 16:09:08 -07:00
Maria Kraynyuk ce3f662e12 Add Index-64 API as extended API with _64 suffix for CBLAS 2023-06-22 16:15:41 -07:00
langou 88aa204975 Revert "Add Index-64 API as extended API with _64 suffix for CBLAS" 2023-06-21 02:33:49 -06:00
Maria Kraynyuk 4c2236a536 Add Index-64 API as extended API with _64 suffix for CBLAS 2023-06-06 10:56:33 -07:00
Weslley S Pereira 9e7c7ae87b Updates the documentation of xGEMV and xGBMV related to when M=0 and N=0 2023-05-26 09:32:11 -06:00
Weslley S Pereira c8199998a6 In CMake, install BLAS::BLAS and LAPACK::LAPACK 2023-05-25 09:39:49 -06:00
Weslley S. Pereira c30e50270b Merge pull request #631 from weslleyspereira/fix-precision-in-clartgf90-2
New algorithms for computing Givens rotations
2022-11-09 10:24:43 -07:00
Weslley da Silva Pereira 0b9757db86 Explicit all conversions in the Fortran code 2022-08-10 17:26:53 -06:00
friedc e5dc8d07c8 Replace empty strings with a single blank. 2022-05-30 09:37:24 +02:00
Angelika Schwarz d0ad95ced2 Scaling routines do a quick return if scaling with one
* SCAL: Quick return if scaling factor is one
 * LASCL: If cto == cfrom and neither input is NaN or Inf, skip scaling
2022-05-21 16:18:47 +01: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
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
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 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
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
Weslley S. Pereira 1dd9548c4d Adding tests with intrinsic MIN, MAX and complex multiplication 2022-01-03 16:09:55 -07: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
Weslley S. Pereira c362fff1ee Minor changes 2021-12-13 13:23:06 -07:00
Weslley S. Pereira 95b6e84b03 Updates Givens rotations with preciser algorithms 2021-12-10 15:43:43 -07:00
weslley.spereira 37a1a1e689 Fix all other Givens rotation routines 2021-11-02 18:49:08 -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 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
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.spereira 485cba2cd1 Adds more fixes to the documentation of CROTG and ZROTG 2021-08-30 14:20:04 -06:00
weslley.spereira 3d260adbc3 Fixes the documentation of [cz]ROTG 2021-08-27 17:51:58 -06:00
weslley.spereira 2e605e14d7 Fix the behavior in srotg and drotg 2021-05-18 20:00:36 -03:00
Igor Zhuravlov f93833ea2a comments unified: EOLs at EOF 2021-04-06 18:07:24 -03:00
Igor Zhuravlov b7eb1941ff comments unified: 'End of' comment: added where omitted 2021-04-06 18:07:24 -03:00
Igor Zhuravlov 5f58f3cae6 comments unified: 'End of' comment: trash removed at the end of line 2021-04-06 18:07:14 -03:00
Weslley S. Pereira 92c19c2f63 Merge branch 'master' into try-xNRM2-from-Ed-Anderson 2021-04-06 15:45:14 -03:00
weslley.spereira 5a929d8fcc Add all 4 ROTG routines 2021-04-01 08:51:09 -03:00
weslley.spereira 0791c2210a Fix Makefile 2021-03-31 18:55:34 -03:00
weslley.spereira 3838c85a98 Add all 4 new routines from Ed with my modifications 2021-03-31 18:55:34 -03:00
Julie e18d437924 Making LAPACK's code eternal... no more version and date in source files.
GitHub is now enabling us to track accurately version and date.
No need for this anymore.
2021-03-25 10:16:58 -07:00