Commit Graph

153 Commits

Author SHA1 Message Date
Martin Kroeker
11ff18bb0f Merge pull request #5081 from XiWeiGu/kernel_generic_fixed_cscal_zscal
kernel/generic: Fixed cscal and zscal
2025-06-12 01:03:00 -07:00
Harmen Stoppels
3d6d026fe1 no-gcse when loongarch64 2025-04-10 15:44:31 +02:00
Harmen Stoppels
51ba70f47b test_potrs.c: remove pragma darwin-aarch64 support
Using GCC 14.2.0 on Darwin, the pragma ultimately causes a linker error
"ld: invalid r_symbolnum=". The current workaround is to use the old
linker, but (a) it's deprecated and (b) it can produce libraries that
are subsequently not linkable with the newer linker in dependents: the
new ld64 does not link to libraries with duplicate rpaths created by the
classic linker.
2025-04-10 15:20:34 +02:00
Martin Kroeker
57208b8bce Disable tests with incx,incy=0 (undefined behavior) 2025-02-09 20:17:29 +01:00
Martin Kroeker
3a4a9b21eb Disable tests with incx,incy=0 (undefined behavior) 2025-02-09 20:16:03 +01:00
tingbo.liao
3c8df6358f Further rearranged the rotm kernel for the different architectures.
Signed-off-by: tingbo.liao <tingbo.liao@starfivetech.com>
2025-01-22 11:41:12 +08:00
gxw
6954845d8d utest: Add utest for {c/z}scal and {c/z}gemv 2025-01-21 14:24:03 +08:00
tingbo.liao
14c72d616a Add the test cases of rot to improve unit testing.
Signed-off-by: tingbo.liao <tingbo.liao@starfivetech.com>
2025-01-02 10:05:57 +08:00
Martin Kroeker
05fe49ddaf Rename local copy functions to avoid name clash with the standard BLAS ones 2024-12-23 19:12:17 +01:00
Martin Kroeker
64c6c79201 Assume no underline suffixes on symbols when compiling with Intel ifx on Windows 2024-12-23 19:09:34 +01:00
Martin Kroeker
550bc77832 Fix expectation values for CblasRowMajor order 2024-10-10 20:39:29 +02:00
Martin Kroeker
dfba3f8841 restore the pragma as it is reportedly still needed on 3C6000/gcc14.2 2024-08-16 11:23:19 +02:00
Martin Kroeker
49080b631e remove optimizer pragma again 2024-08-15 22:15:27 +02:00
Martin Kroeker
a090011fbf just use numeric constants in dimensions 2024-07-26 12:56:12 +02:00
Martin Kroeker
db5328e85b make array dimensions constant 2024-07-26 12:45:39 +02:00
Martin Kroeker
d9ae4609fb remove C99 requirement 2024-07-26 11:15:33 +02:00
Martin Kroeker
15c53dd2e0 Merge pull request #4794 from XiWeiGu/Fixed_Numpy_CI_Test
Try to fixed numpy ci test failures
2024-07-25 23:42:13 +02:00
Martin Kroeker
29f3e759b9 work around a gcc14.1 bug observed on Loongarch 2024-07-23 11:20:48 +02:00
gxw
9b3e80efe2 utest: Add test_gemv 2024-07-15 16:33:09 +08:00
Martin Kroeker
a2ee4b1966 Merge branch 'OpenMathLib:develop' into issue4728 2024-06-21 09:35:56 +02:00
Martin Kroeker
33bb4b98a4 Improve error message output from the fork() utest (#4753)
* Add perror to report the reason for a fork failure
* reword the malloc failure message
2024-06-15 14:16:48 +02:00
Martin Kroeker
ffc1ab3f6e Test corner cases of all SCAL variants 2024-06-06 23:58:16 +02:00
Martin Kroeker
a16f8249ba add tests with the imaginary part of the array infinite 2024-05-31 01:08:17 +02:00
Martin Kroeker
b45a78c6e9 fix zdotu argument passing in utest_ext on windows (#4691)
* fix passing of results on windows
2024-05-13 14:50:50 +02:00
Matti Picus
243640c354 use blasint instead of int to quiet warnings 2024-05-12 10:24:16 +03:00
Martin Kroeker
d8baf2f2ea Support compilation without CBLAS 2024-05-11 13:10:54 +02:00
Martin Kroeker
a6c184d150 forward NO_CFLAGS to the CFLAGS, if set 2024-05-11 13:07:30 +02:00
Martin Kroeker
b1d722fc0c Fix cast to work with INTERFACE64 (especially on big-endian) 2024-04-29 15:37:26 +02:00
Ayappan P
f4ee0a423b Fix openblas_utest_ext build in AIX 2024-04-25 07:32:21 -04:00
Martin Kroeker
61214fcef7 Fix utest_ext build on AIX (#4657)
* Add all-in-one version of utest_ext for AIX
2024-04-22 14:24:33 +02:00
Martin Kroeker
b883526a34 Fix uninitialized variables in the extensions utest 2024-04-13 12:26:35 +02:00
Martin Kroeker
9c86838279 use blasint for INTERFACE64 compatibility 2024-04-05 22:48:08 +02:00
Martin Kroeker
d3f93c6015 fix arguments of zscal 2024-04-05 07:23:41 +02:00
Martin Kroeker
1f080b9328 Update test_zscal.c 2024-04-05 07:09:34 +02:00
Martin Kroeker
ec8e9451f0 make independent of CBLAS 2024-04-05 06:45:59 +02:00
Chip Kerchner
0e0d0bce1a Fix global (static) constructor priorty so that OpenBLAS gets initialized before other libraries. Other unit test AIX fix. 2024-03-25 15:11:55 -05:00
Evgeni Burovski
07dddde1fe Update utest/test_dnrm2.c 2024-03-12 15:28:50 +03:00
Evgeni Burovski
a6e16a065d Add a test for dnrm(..., incx=-1) 2024-03-12 15:15:56 +03:00
Martin Kroeker
8a665f0d57 Skip test when building with a uclibc that does not implement fork 2024-03-10 19:08:03 +01:00
Martin Kroeker
30e8d255de Skip the fork test when building against an uClibc that does not implement fork 2024-03-10 00:05:01 +01:00
Martin Kroeker
f81c1d4b59 Fix portability problem 2024-02-27 07:19:52 +01:00
Martin Kroeker
f7ffab870b fix missing malloc 2024-02-26 23:03:10 +01:00
Martin Kroeker
38283f678e Fix portability problems 2024-02-26 22:22:48 +01:00
kseniyazaytseva
4c554bd527 check abs zero inc 2024-02-10 00:46:52 +03:00
kseniyazaytseva
46de7c8a2b Merge remote-tracking branch 'origin/risc-v-new-tests' into new-tests 2024-02-09 23:52:51 +03:00
kseniyazaytseva
cfabc48190 Update rotg tests 2024-02-08 00:22:15 +03:00
kseniyazaytseva
ec5cfe3bc8 Fix invalid tests 2024-02-08 00:21:38 +03:00
kseniyazaytseva
ff10e6b6dc Fix zero step tests 2024-02-08 00:19:54 +03:00
Martin Kroeker
dbcf4f8b7d Merge pull request #4479 from XiWeiGu/loongarch-opt-axpby
Loongarch opt axpby
2024-02-04 19:50:28 +01:00
gxw
3597827c93 utest: add axpby 2024-02-04 09:41:30 +08:00