Commit Graph
186 Commits
Author SHA1 Message Date
langou 9130566c33 Merge pull request #1219 from nakatamaho/refactor/unify-abs1-to-cabs1
refactor: rename ABS1 statement function to CABS1 for consistency
2026-03-28 08:05:47 -06:00
NAKATA Maho ac82605ea9 refactor: rename ABS1 statement function to CABS1 for consistency
Several LAPACK, BLAS, and CBLAS source files defined a local statement
function named ABS1 for the complex 1-norm approximation:

    ABS1( X ) = ABS( REAL( X ) ) + ABS( AIMAG( X ) )
    ABS1( X ) = ABS( DBLE( X ) ) + ABS( DIMAG( X ) )

The majority of the codebase already uses CABS1 for this identical
purpose. This commit renames ABS1 to CABS1 in all remaining files
(definition line, declaration line, and all call sites within the
same file) to make the naming consistent across the repository.

A small number of fixed-form lines required continuation-line splits
to stay within the 72-column limit after the rename.

No numerical change. Statement functions are file-local in Fortran,
so there is no ABI or interface impact.

This is a preparatory cleanup before inlining these statement
functions (see issue #1200).
2026-03-28 14:46:42 +09:00
NAKATA Maho 0843d3ed4b BLAS: inline SCABS1/DCABS1 into CAXPY/ZAXPY as statement function CABS1
Replace external function references to SCABS1 and DCABS1 with a local
statement function CABS1 in CAXPY and ZAXPY respectively, eliminating
the dependency on those auxiliary routines.
2026-03-28 14:10:56 +09:00
langou c550a3638b Merge pull request #1215 from langou/typo_in_comment_of_xrotmg 2026-03-27 12:48:18 -06:00
Julien Langou 8d54a91fee typo, thanks to @jasonriedy for letting me know
issue with doxygen comments
2026-03-26 13:05:33 -06:00
langou 2ec774a2f6 Merge branch 'master' into try-lapack_namespace 2026-03-25 14:41:24 -06:00
Nakata Maho 507c1dd7c9 fix: correct trailing routine comment in dgemmtr 2026-03-07 14:41:49 +09:00
adam-sim-dev 7d2118331c For building shared libs with flang, use C linker instead of Fortran linker to avoid macOS-specific flags that CMake adds (tested CMake 4.2). 2026-01-19 20:26:38 +08:00
Simon Maertens 794b0ba0ab Fix format specifiers with lines longer than 72 characters. 2026-01-07 12:09:56 +01:00
langou 06f5ba3143 Merge pull request #1155 from sh-zheng/skew-symmetric-presubmit
Add skew-symmetric blas subroutines and tests
2025-11-23 12:38:28 -07:00
sh-zheng 968b45006b Fix error of array's length 2025-10-28 23:07:24 +08:00
sh-zheng fb80127153 Optimize the parsing of SNAME in skew-symmetric blas testing cases 2025-10-28 01:41:58 +08:00
Simon Maertens 362029e383 Add missing intrinsics in icamax.f90 and izamax.f90 2025-10-02 16:41:30 +02:00
Simon Maertens d2d2625019 Disable constant propagation for the NAG Fortran compiler in BLAS tests. 2025-10-02 16:40:58 +02:00
langou 6b92a7affa Merge pull request #1048 from grisuthedragon/implement-axpby 2025-09-19 09:11:21 -06:00
sh-zheng 593f69fc0c Update doxygen organization 2025-09-16 22:11:25 +08:00
sh-zheng a0e44d7434 Add skew-symmetric blas subroutines and tests 2025-09-15 20:42:26 +08:00
Mark Gates 97b0bedb32 implicit none in BLAS 2025-08-22 01:02:05 -04:00
langou 5ce7a26f49 Merge pull request #1098 from TiborGY/gemm_docs
Add NaN propagation and array initialization notes to ?GEMM docs
2025-08-16 13:56:26 -06:00
Martin Köhler 6fa7bf69d1 Fix suggestions by angsch 2025-07-10 12:19:00 +02:00
Martin Köhler 0ab775d65b Merge branch 'master' into implement-axpby 2025-06-17 09:11:54 +02:00
langou 52a9434793 Merge pull request #1116 from weslleyspereira/try-new-icamax
Adds new icamax with exception handling
2025-06-16 07:11:37 -06:00
Angelika Schwarz 1a92dcac7c Remove hardcoded "version 3.X" 2025-06-03 12:28:23 +02:00
Martin Köhler 506f2b3541 Merge branch 'Reference-LAPACK:master' into implement-axpby 2025-04-23 21:31:09 +02:00
Weslley da Silva Pereira d70c8c040d Improvements following @angsch's review 2025-03-31 13:32:24 -06:00
Weslley da Silva Pereira e338bb87e1 Change my affiliation in icamax and izamax 2025-03-28 09:24:58 -06:00
Weslley da Silva Pereira e3a48809c8 use /= instead of isnan 2025-03-28 08:23:58 -06:00
Weslley da Silva Pereira 50dc1bf238 Adds new izamax with exception handling 2025-03-27 16:12:17 -06:00
Weslley da Silva Pereira 3c32809d15 Adds disclaimer about non listed values in ROTM 2025-03-27 15:59:40 -06:00
Weslley da Silva Pereira 97bc2e3134 Adds new icamax with exception handling 2025-03-27 15:42:03 -06:00
Martin Köhler 4c637b8329 Fix the test of xGEMMTR
- make the SRNAME in XERBLA more robust against strings passed from C (e.g. OpenBLAS)
- adjust the maximum length of a function name from 6 to 7 characters
- add a missing parameter in the error output for z/cgemmtr.
2025-02-06 15:20:50 +01:00
GYT 5f79137150 simplify nan propagation quirks in the purpose section 2025-01-19 15:57:34 +01:00
GYT 7ad40db8ba add NaN propagation and array initialization notes to gemm docs 2025-01-19 12:31:27 +01:00
Johnathan Rhyne 29dbac94c3 Fixing misspelling of 'triangular' in {s,d,c,z}gemmtr.f 2024-12-01 23:50:10 -05:00
Martin Köhler f21a6aefd2 Fix error if alpha=0 2024-08-28 22:46:32 +02:00
Martin Köhler ad70e7218f Tests for C/S/D/ZAXBPY 2024-08-26 16:27:18 +02:00
Martin Köhler 6cdf7bc3a4 Implement AXBPY 2024-08-26 16:27:18 +02:00
Martin Köhler c57c156bd1 Add gemmtr group to Doxygen
updated:
 * BLAS/SRC/sgemmtr.f
 * BLAS/SRC/zgemmtr.f
 * BLAS/SRC/cgemmtr.f
 * BLAS/SRC/dgemmtr.f
2024-06-27 14:01:49 +02:00
Martin Köhler 63d2b3af58 add cblas_sgemmtr tests 2024-06-24 14:04:03 +02:00
Martin Köhler b681b1eaec Add cblas_dgemmtr test 2024-06-24 14:04:03 +02:00
Martin Köhler b721a55048 Working CBLAS_ZGEMMTR Test 2024-06-24 14:04:03 +02:00
Martin Köhler cb81e003b8 Adjust BLAS test for routine names with at most 7 characters 2024-06-24 14:04:03 +02:00
Martin Köhler 327869db1b Rename GEMMT to GEMMTR in BLAS/
After the discussion on

    https://github.com/Reference-LAPACK/lapack/pull/887

the name changed from xGEMMT to xGEMMTR.
2024-06-24 14:04:03 +02:00
Martin Köhler 6173b6e474 Fix another variable 2024-06-24 14:04:02 +02:00
Martin Köhler 785d734bf5 Fix wrong write 2024-06-24 14:04:02 +02:00
Martin Köhler 6f66c83ae0 Remove useless variable 2024-06-24 14:04:02 +02:00
Martin Köhler 05d01da9f2 Fix missing comma 2024-06-24 14:04:02 +02:00
Martin Köhler 2f80551ce3 Fix further implicit variables 2024-06-24 14:04:02 +02:00
Martin Köhler fb5325d58d Fix implicit variable 2024-06-24 14:04:02 +02:00
Martin Köhler b25cf2c8d4 Update documentation of xGEMMT 2024-06-24 14:04:02 +02:00