75 Commits

Author SHA1 Message Date
Martin Kroeker 4dba6ce6ea work around mingw32-gfortran 14.2 miscompiling CBLAS1 tests 2024-10-20 20:25:06 +02:00
Rohit Goswami d9f368dfe6 TST: Signal abort for ctest failures correctly 2024-10-05 16:24:16 +00:00
Martin Kroeker 869a169c57 Fix ZAXPYTEST prototype 2024-09-11 22:18:14 +02:00
Henry Chen 20bdb65882 Fix recursive variable expansion in Makefiles for LOONGSON3A 2024-08-14 15:08:32 +08:00
Vladimir Nikolić 127ea5d0d9 Add missing parenthesis 2024-07-15 15:12:21 -07:00
Martin Kroeker edacf9b397 Work around spurious BLAS3 test errors on LOONGSON3R3/4 (#4667)
Force compilation with gfortran to use O0 on older Loongson hardware to avoid spurious test failures
2024-04-30 08:50:47 +02:00
Martin Kroeker 48e017de09 fix position of endif - gemm3m tests should not be run in cross-compiles 2024-04-05 22:54:34 +02:00
Martin Kroeker 5d929d2706 avoid overriding the global USE_GEMM3M 2024-02-26 21:00:57 +01:00
Martin Kroeker a1ec94c258 Readd proper f2c'd sources for the GEMM3M tests 2024-02-26 17:46:07 +01:00
Martin Kroeker ea167328f1 Add f2c-converted sources for GEMM3M tests 2024-02-26 14:14:58 +01:00
Martin Kroeker 5aaeca2896 fix name 2024-02-26 09:26:14 +01:00
Martin Kroeker 87dd1c710e fix conditional gemm3m build 2024-02-26 07:37:30 +01:00
Martin Kroeker 0ce794f0c3 Enable GEMM3M tests on supported platforms 2024-02-25 23:38:36 +01:00
Martin Kroeker 3516fff378 Avoid linking both libgomp and libomp in mixed clang/gfortran builds 2024-02-22 22:15:28 +01:00
Martin Kroeker a29f91ae9a Merge pull request #4471 from ChipKerchner/fixMakefileAIXOpenMP
Fix Makefiles to support OpenMP on AIX for xlc (clang) with xlf.
2024-02-04 12:13:26 +01:00
Chip Kerchner 61c8e19f95 Fix Makefile to support OpenMP on AIX for xlc (clang) with xlf. 2024-01-31 15:27:50 -06:00
Sergei Lewis 1093def0d1 Merge branch 'risc-v' into develop 2024-01-29 11:11:39 +00:00
kseniyazaytseva ff41cf5c49 Fix BLAS, BLAS-like functions and Generic RISC-V kernels
* Fixed gemmt, imatcopy, zimatcopy_cnc functions
* Fixed cblas_cscal testing in ctest
* Removed rotmg unreacheble code
* Added zero size checks
2024-01-18 23:19:52 +03:00
Martin Kroeker c5e7339c9e correct prototypes for INTERFACE64 builds 2023-10-08 16:13:37 +02:00
Martin Kroeker d8126c76e7 fix prototype 2023-10-08 13:38:39 +02:00
Martin Kroeker 769a58e9d1 fix prototypes of stest and itest1 for INTERFACE64 2023-10-08 12:51:41 +02:00
Martin Kroeker c30b530878 fix prototypes of ctest and itest for INTERFACE64 2023-10-08 11:59:19 +02:00
Martin Kroeker 2b865da730 fix prototypes of stest and ctest for INTERFACE64 2023-10-08 11:55:10 +02:00
Martin Kroeker 65bfe1a06d fix prototype of itest1 for INTERFACE64 2023-10-08 11:36:06 +02:00
Martin Kroeker b626544ca3 complete function prototypes and remove unused functions 2023-10-07 22:31:03 +02:00
Martin Kroeker 7a96908d0c Add -lgomp when IBM xlf is combined with gcc in OPENMP builds 2023-09-24 10:18:24 +02:00
Aiden Grossman b209915121 Fix build with clang
There are two instances when building the tests where OpenBLAS fails to
build with OpenMP and clang due to library paths getting reset as flags
are set rather than appended. This seems to only affect certain
clang/libomp installations, but if it's already grabbing the correct
library paths we might as well use them.
2023-07-28 12:59:44 -07:00
Martin Kroeker 91110f92d2 fix missing return type in function declaration 2022-09-14 14:03:31 +02:00
Pablo Romero 84a5f0e2eb Fixes #3743. 2022-08-26 11:44:11 +02:00
Isuru Fernando d54971fe20 Fix building tests when NOFORTRAN is not given at all 2022-08-08 11:20:38 -05:00
Martin Kroeker 6e018b84c4 Fix function prototypes and INTERFACE64 support 2022-07-12 19:37:30 +02:00
Martin Kroeker ccd87cc472 Fix switching between Fortran and C build 2022-07-12 19:35:31 +02:00
Martin Kroeker 914c4d0fe8 Add C versions of the CBLAS test sources (#3656)
* Add C conversions of the CBLAS tests for NOFORTRAN=1 builds

* Enable CTEST without Fortran and fix passing of BUILD_vartype options to exports/gensymbol
2022-06-28 11:52:48 +02:00
Martin Kroeker e78fbe4654 Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3 2021-07-30 14:44:54 +02:00
Martin Kroeker cbc41973fd Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3 2021-07-30 14:20:12 +02:00
Martin Kroeker 98ebc8ac59 Add casts to prevent overflow of intermediate result 2021-05-01 14:48:19 +02:00
Martin Kroeker 751d127d7c Include cblas_test.h to achieve int/long size change with INTERFACE64 2021-04-19 22:26:34 +02:00
Martin Kroeker 30d835168a Merge pull request #3088 from xoviat/msvc
add misc fixes.
2021-03-14 17:14:28 +01:00
Martin Kroeker 041a26fd79 Support compilation with nagfor 2021-03-11 11:52:29 +01:00
xoviat 457ccc42c9 Merge branch 'develop' into msvc 2021-01-27 14:15:59 -06:00
Martin Kroeker 8a6b17f97d Change ifndefs to ifneq 2020-11-22 16:19:31 +01:00
Martin Kroeker 437b7fe261 sh prefix renamed to sb 2020-10-13 19:55:14 +02:00
Martin Kroeker f6d2827d0c Adapt ctests to having only a subset of types in the build 2020-10-11 14:32:00 +02:00
Martin Kroeker de139337b8 Remove spurious tests for complex ASUM and NRM2 2020-09-13 22:20:41 +02:00
Martin Kroeker 74e358bcd5 Remove spurious complex16 tests 2020-09-13 21:49:01 +02:00
Rajalakshmi Srinivasaraghavan 22bb50fb81 cmake fixes 2020-04-17 13:35:17 -05:00
shengyang 50f4fb2fbd add ctest for drotm and modified ctest for drot.
make sure that test cases cover all code path when kernel uses looping unrolling.
2020-03-23 10:47:05 +08:00
shengyang a06d78556d add ctest for srotm and modified ctest for srot.
make sure that test cases cover all code path when kernel uses looping unrolling.
2020-03-18 14:17:32 +08:00
Martin Kroeker c436e8af7b Do not attempt to run ctest without fortran
The main Makefile takes care of this in the build process, but users or CI jobs may try to run this directly
2020-03-13 20:10:26 +01:00
shengyang 893e6e57c4 modified: ctest/din3 ctest/sin3 2020-01-03 10:03:33 +08:00