Commit Graph
133 Commits
Author SHA1 Message Date
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
langou a4641a28a5 Merge pull request #1169 from sh-zheng/skew-symmetric-presubmit 2026-03-24 20:53:50 -06:00
Mark Gates 0dddb40aaf fix indentation 2026-03-24 20:43:58 -04:00
Simon Maertens eeed198193 Only enable Fortran for CBLAS if Fortran compiler is found 2026-01-13 14:34:05 +01:00
Simon Maertens 583e0e289f Enable Fortran for CBLAS since it also contains Fortran files 2026-01-13 13:11:47 +01:00
Simon Maertens daed92441d Replace FORTRAN_STRLEN type in the cblas_f77.h and handle the header like the lapack.h header. 2026-01-13 12:11:05 +01:00
sh-zheng fc2a4fd659 Add skew-symmetric cblas subroutines and tests 2025-11-27 01:15:36 +08:00
Simon Maertens 9630b23c4f Fixed FORMAT lines that were longerthan 72 characters 2025-10-02 16:42:00 +02:00
langou 6b92a7affa Merge pull request #1048 from grisuthedragon/implement-axpby 2025-09-19 09:11:21 -06:00
Mark Gates 83ed564b46 implicit none in CBLAS 2025-08-26 23:27:58 -04:00
Martin Köhler 426641c372 Fix wrong calls do dchk6 and schk6 and string length in xerbla 2025-07-30 10:40:41 +02:00
Martin Köhler e3951fbc25 fix linkage of cblas_xerbla 2025-07-29 15:47:57 +02:00
Martin Köhler 0ab775d65b Merge branch 'master' into implement-axpby 2025-06-17 09:11:54 +02:00
Martin Köhler 3e9035955f Add typecasts to outputs 2025-04-23 23:38:11 +02:00
Martin Köhler a077ce6f53 Fix warnings in CBLAS testing and examples 2025-04-23 23:27:09 +02:00
Martin Köhler fc067149ee Fix const qualifier for double complex routines 2025-04-23 23:12:05 +02:00
Martin Köhler dbc45f746f Fix const qualifier for float complex routines 2025-04-23 22:40:59 +02:00
Martin Köhler 4b9693f8f1 Add CBLAS for AXPBY 2024-08-26 16:27:18 +02:00
Martin Köhler c571921241 Update CBLAS headers 2024-08-26 16:27:18 +02:00
Martin Köhler 0e37c5cc37 Fix CMake Build 2024-06-24 15:35:14 +02:00
Martin Köhler 34adaba0e6 Add tests for cblas_s/d/zgemmtr 2024-06-24 15:18:22 +02:00
Martin Köhler 85717807e9 Working error tests on cblas_cgemmtr 2024-06-24 15:12: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 adaf7248e7 Update comments 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 60d0e76444 Adding cblas_zgemmtr test 2024-06-24 14:04:03 +02:00
Martin Köhler f9ea71ef3d Fix missing arguments in tests 2024-06-24 14:04:03 +02:00
Martin Köhler 81b3767a5a Change xGEMMT to xGEMMTR in CBLAS/ 2024-06-24 14:04:03 +02:00
Martin Köhler 630fb5b85c Tests for cblas_cgemmt 2024-06-24 14:04:02 +02:00
Martin Köhler 5daea4888b CBLAS routines for xGEMMT added 2024-06-24 14:04:02 +02:00
Simon Maertens 51219d2328 Fixed use of F77_xerbla in CBLAS testing framework 2024-06-19 19:31:04 +01:00
Simon Maertens 4f504e0236 Fixed use of F77_xerbla in CBLAS testing framework 2024-06-19 19:29:01 +01:00
Simon Maertens f47a8708b9 Added missing FORTRAN_STRLEN arguments in CBLAS testting framework 2024-06-19 18:58:50 +01:00
Simon Maertens a926c938eb Fixed wrong F77 C declarations for complex BLAS routines. Some complex arrays were declared as float* or double* instead of void*. 2024-06-19 18:56:09 +01:00
Simon Maertens 50a943dad9 Fixed external 64bit api CBLAS example. CBLAS_API64 needs to be defined before including cblas_64.h 2024-06-19 18:54:32 +01:00
Simon Maertens 6cd9d27cd5 Made the type of hidden Fortran strlen arguments configurable for the NAG Fortran compiler and old GFortran 2024-06-19 15:31:45 +02:00
langou af77ebfa6c Merge pull request #950 from ACSimon33/cblas_weak_attribute 2023-11-29 08:08:00 -07:00
Simon Maertens 26db2da3eb Fixed Fortran compiler flags check for nagfor compiler and usage in CBLAS target 2023-11-29 14:30:30 +00:00
Simon Maertens 10432bb5e8 Fixed HAS_ATTRIBUTE_WEAK_SUPPORT flag for CBLAS objects 2023-11-29 12:53:09 +00:00
Simon Maertens d2c2de1d54 Changed void main() to int main() in CMake check because AppleClang doesn't allow it 2023-11-15 15:04:56 +00:00
Weslley S Pereira dfb84d0c3b Always use C as linker language for CBLAS 2023-10-31 12:40:38 -06:00
Weslley S Pereira 6a74005272 Solve a few bugs generated in the previous commit 2023-10-31 11:18:28 -06: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
chayleaf ddca8374dc respect GNU install dirs
CMAKE_INSTALL_LIBDIR is allowed to be an absolute path. Use
CMAKE_INSTALL_FULL_LIBDIR instead.
2023-09-13 11:15:53 +07: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 b48dd0df13 Make blas dependency public for cblas 2023-06-22 16:15:42 -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