Commit Graph
114 Commits
Author SHA1 Message Date
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
Weslley S Pereira 633440e5d5 Adds tests for windows-latest on cmake.yml 2023-05-24 17:25:42 -06:00
Sébastien Villemot 776a0223b0 Fix CBLAS tests with 64-bit indexing
This patch replaces all instances of “int” by “CBLAS_INT” in CBLAS/testing/*.c
(except for RowMajorStrg which has must remain an “int”, since it is declared
as such in CBLAS main code).

Interestingly, the bug would not manifest on low endian architectures,
because interpreting an int64_t pointer as an int32_t pointer works there (as
long as the integers fits in 31 bits, which is the case here). But on big
endian architectures, this of course fails badly.
2022-11-27 13:18:46 +01:00
Simon Maertens 05043da7a6 Formatting. 2022-11-19 23:56:42 +01:00
Simon Maertens e7afed35fb Fixed usage of HAS_ATTRIBUTE_WEAK_SUPPORT. Formatted cblas_f77.h 2022-11-19 21:25:15 +01:00
Angelika Schwarz a8028e9ddc Fix undefined reference to cblas_[sd]cabs1
cblas.h defines

   double cblas_dcabs1(const void  *z);
   float  cblas_scabs1(const void  *c);

but does not provide an implementation. This commit adds
the missing implementation in the common CBLAS style and
eliminates the linker error when calling the above function.
2022-10-02 16:54:32 +02:00
Angelika Schwarz 02b71fcbc6 Add interfaces cblas_[c,z]rotg, cblas_[cs,zd]rot
Closes #473
2022-09-27 19:46:08 +02:00
Simon Maertens 86d37075ed Fixed CBLAS integer formats for 64bit build. 2022-08-08 16:41:04 +02:00
Markus Towara da11f0945b Fix CBLAS/src/CMakeLists.txt
remove spurious ../ from target_include_directories path
2022-04-27 18:05:39 +02: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
Quellyn Snead d2781152e1 Address issues with IBM XL builds (#606).
Be more explicit about selecting recursive fortran flags, as not
every compiler will correctly reject an incorrect option (e.g., XL).
2021-09-15 11:14:42 -06:00
Sébastien Villemot e6411157cb Fix CBLAS xerbla following hidden strlen argument changes
Commits 2d9fbdeecc and
628a2095c2 changed the function prototypes in the
cblas_f77.h.

However, the F77_xerbla case was not treated in the same way as the others. In
particular, the consequence is now that the xerbla function provided by the
CBLAS/src/xerbla.c file is never called at runtime (because it is identified as
“F77_xerbla” in the symbol table, instead of simply “xerbla”, since F77_xerbla
is *not* a macro).

This patch restores the symmetry between xerbla and the other functions.
2021-09-01 14:43:21 +02:00
Brian Jackson b488310e18 Link C libraries against build include folder 2021-08-31 13:30:21 -04:00
weslley.spereira 29c946d743 First attempt in getting (back) CBLAS_INDEX and CBLAS_INT integer types 2021-06-23 18:50:47 -03:00
langou 1c8d81aae9 Merge pull request #413 from derpda/master
Improvements of CMake (instalL) code for CBLAS, LAPACKE
2021-05-21 11:25:28 -06:00
weslley.spereira 666d1b866e Applies @mdarnold1's suggestions 2021-04-22 10:49:07 -03:00
Peter Spalthoff 61673db2d4 cblas targets added to Component Development
This is in line with LAPACKE cmake.
Also more consistent within the CBLAS CMakeLists.txt.
2021-04-13 11:16:01 +09:00
Peter Spalthoff 5806d9313b CBLAS cmake adapted even more to LAPACKE cmake 2021-04-13 11:15:21 +09:00
Peter Spalthoff c656a5f582 Code adapted more to LAPACKE/CMakeLists.txt
Just order of some lines changed.
2021-04-13 11:13:35 +09:00
Peter Spalthoff 676a02dca2 Unneeded ALL_TARGETS checks removed
The if-checks prevent proper installig of cblas-targets.cmake.
This may have been copied from main CMakeLists line 390 onwards.
2021-04-13 11:11:35 +09:00