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
Chip Kerchner
61c8e19f95
Fix Makefile to support OpenMP on AIX for xlc (clang) with xlf.
2024-01-31 15:27:50 -06:00
Martin Kroeker
d1343302bd
Merge pull request #4465 from XiWeiGu/utest-zscal
...
utest: Add tests for zscal
2024-01-31 14:19:19 +01:00
gxw
bb043a021f
utest: Add tests for zscal
2024-01-30 17:42:37 +08:00
gxw
519ea6e87a
utest: Add utest for the {sc/dz}amax and {s/d/sc/dz}amin
2024-01-30 11:32:36 +08:00
Pierrick Bouvier
a4992e09bc
Fix utest compilation
...
Introduced recently when adding new test cases for ZSCAL
- include cblas is needed for cblas_zscal
- ASSERT macro does not exist
- missing closing )
2024-01-18 18:21:30 +04:00
Martin Kroeker
d1ead06bd8
define NAN and INFINITY if needed
2024-01-12 09:29:13 +01:00
Martin Kroeker
e48627c999
Add tests for ZSCAL with NaN and Inf arguments
2024-01-06 23:55:52 +01:00
Martin Kroeker
60ff5872af
fix improper function prototypes (empty parentheses)
2023-09-30 13:01:44 +02:00
Martin Kroeker
862d06ab8a
Add INCX=0,INCY=1 test case for CAXPY
2023-08-04 15:28:02 +02:00
Martin Kroeker
d64fa286f7
add test case for zaxpy with incx=0 incy=1
2023-08-04 12:26:36 +02:00
Martin Kroeker
7aaa0ce0e8
utest needs to be linked against libm on QNX as well
2022-07-25 17:02:16 +02:00
Martin Kroeker
c5041ae270
properly embed test_dnrm2
2022-07-03 23:48:30 +02:00
Martin Kroeker
8e6f719ad3
use huge_val not huge_valf for portability
2022-07-03 20:19:24 +02:00
Martin Kroeker
af88494f87
old systems may not have inf in math.h
2022-07-03 18:23:51 +02:00
Martin Kroeker
ee41b6eb24
Add DNRM2 regression test for issues 2998 and 3654
2022-07-03 17:56:49 +02:00
Niyas Sait
c6c2a71fb7
Fix ctest.h to build using clang on windows
2021-08-16 11:25:07 +01:00
Martin Kroeker
73f637e584
Support compilation with pre-C99 versions of MSVC
2021-05-14 15:08:12 +02:00
Martin Kroeker
93473174d6
Fix utest build with SolarisStudio compilers
2020-12-06 19:12:56 +01:00
cyy
3b4c016110
link math lib on FreeBSD
2020-11-29 17:17:35 +08:00
Martin Kroeker
ebb8788696
Use ifneq instead of ifdef for CROSS option
2020-11-22 16:33:34 +01:00
Alexander Grund
a05dc6e62b
Add reproducer test for crash after fork
...
See #2993 for an analysis
2020-11-19 15:46:37 +01:00
Martin Kroeker
63d7dad04c
Adapt utests for builds supportin only some variable types
2020-10-11 14:15:35 +02:00
Martin Kroeker
ac653c94f3
Merge branch 'develop' into issue2588-cmake
2020-10-11 13:57:07 +02:00
Qiyu8
1b1a757f5f
Optimize the performance of dot by using universal intrinsics in X86/ARM
2020-09-28 20:36:53 +08:00
Martin Kroeker
98153875e9
Adapt tests to having only a subset of types in the library
2020-09-22 23:28:57 +02:00
Martin Kroeker
4d250d0cdf
Rearrange ifdefs
2020-09-13 23:29:01 +02:00
Martin Kroeker
ec2948f147
Make tests conditional on BUILD_DOUBLE
2020-09-13 22:17:46 +02:00
Martin Kroeker
ce89398636
Make tests for individual variable types conditional on the respective BUILD_ option
2020-09-13 21:52:18 +02:00
Martin Kroeker
c592f0f80a
Fix utest build on AIX
2020-06-25 12:58:13 +02:00
Martin Liska
7ca4ffdbdd
Improve test coverage for utests.
2020-03-02 13:38:17 +01:00
Martin Liska
18bcc36a69
Fix implementation of iamax_sse.S as reported in #2116 .
...
The was a typo in iamax_sse.S where one of the comparison
was cmpeqps instead of cmpeqss. That misdetected index
for sequences where the minimum value was 0.
2020-02-17 09:01:53 +01:00
Martin Kroeker
68a43db358
Fix utest compilation with PGI
2020-02-07 10:15:18 +01:00
Martin Kroeker
a1fce67743
Make the new DGEMM regression test properly depend on CBLAS and LAPACKE
...
fixes #2215
2019-08-13 22:29:48 +02:00
Tyler Reddy
a211bc9b6a
TST: add SkylakeX AVX512 CI test
...
* adapt the C-level reproducer code for some
recent SkylakeX AVX512 kernel issues, provided
by Isuru Fernando and modified by Martin Kroeker,
for usage in the utest suite
* add an Intel SDE SkylakeX emulation utest run to
the Azure CI matrix; a custom Docker build was required
because Ubuntu image provided by Azure does not support
AVX512VL instructions
2019-05-14 11:32:23 -07:00
Jeff Baylor
40e53e52d6
snprintf define consolidated to common.h
2019-04-22 17:01:34 -07:00
Martin Kroeker
f9c5023e04
Merge pull request #1994 from quickwritereader/develop
...
sgemv cgemv pairs
2019-02-01 21:04:47 +01:00
Ubuntu
4abc375a91
sgemv cgemv pairs
2019-02-01 13:45:00 +00:00
Daniel Cohen Gindi
24288803b3
Adjust test script for correct deployment
2019-01-22 14:38:01 +02:00
Martin Kroeker
9f80e0f5fc
Remove stray include of complex.h
...
already provided conditionally by common.h via openblas_utest.h
Unconditional inclusion breaks older Android and similar platforms that use OPENBLAS_COMPLEX_STRUCT
2018-12-30 14:39:18 +01:00
Jerome Robert
b095f2fad6
Fix unknown type name __WAIT_STATUS on RHEL5
...
With glibc 2.5 one must have #define _XOPEN_SOURCE >= 500 to use wait.
But reading glibc code this is actually needed only if stdlib.h was
included before sys/wait.h. This was the case here through
openblas_utest.h. So changing include fix compilation on RHEL5 and
should ne hurt with more recent distro.
* Problem found when using with gcc 5.5 and 4.7.2 on RHEL5/CENTOS5
* Fix #1519
2018-10-04 14:37:08 +02:00
Martin Kroeker
1309711e24
Fix declaration of snprintf for older MSVC
...
_snprintf_s takes an additional (size) argument, so is no direct replacement.
(Note that this code is currently unused - the two instances of snprintf here are within ifdef blocks that are not compiled for MSVC)
2018-07-12 11:47:52 +02:00
oon3m0oo
2aa0a5804e
Use BLAS rather than CBLAS in test_fork.c ( #1626 )
...
This is handy for people not using lapack.
2018-06-21 18:47:45 +02:00
Martin Kroeker
86f49c529d
Merge pull request #1532 from martin-frbg/utest-cblas
...
Do not try to build the fork utest when NO_CBLAS=1
2018-04-20 23:44:15 +02:00
Martin Kroeker
625c74a38f
fork utest depends on CBLAS
2018-04-20 15:43:59 +02:00
Martin Kroeker
5fcaca6438
fork utest depends on CBLAS
2018-04-20 15:42:13 +02:00
Martin Kroeker
0c4718c57a
Merge pull request #1523 from martin-frbg/utest_waith
...
Include sys/types.h for proper typedefs related to wait()
2018-04-15 13:09:30 +02:00
Martin Kroeker
734d7c6a93
Include sys/types.h for proper typedefs related to wait()
...
Should fix #1519
2018-04-14 18:59:46 +02:00
Martin Kroeker
809fd0d451
Rewrite ROTMG to address cases not covered by the netlib algorithm ( #1480 )
...
* Rewrite ROTMG based on the new implementation in GONUM based on the algorithm proposed by Tim Hopkins, see issue 1452 for the reference
* Correct ROTMG utest for issue1452 and add another from gonum, also correct transposition of expected and observed values in error messages
2018-03-04 17:39:56 +01:00