Commit Graph

91 Commits

Author SHA1 Message Date
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
Martin Kroeker 69a8aa6de2
Fix transposition of expected and computed values in error message 2018-03-03 18:01:51 +01:00
Martin Kroeker e7366a4161
Restore the remaining utests (#1462)
* Restore the remaining utests

* Try fork test on Cygwin and Linux only, it hangs on at least ARMv8/Android as well

* Use generic sswap/dswap kernels for NEHALEM 32bit to fix fault found by the restored swap utest

* Disable zdotu test for MS cl to work around runtime error -1073741819 on AppVeyor for now
(probably coding error in the initialization of the complex numbers or wrong choice of zdotu API)
2018-02-20 10:07:17 +01:00
Martin Kroeker f4b095b1bb
test_fork is not meant (nor expected) to be run with OpenMP
Fixes 1456
2018-02-11 20:58:27 +01:00
Martin Kroeker 6940c59a88
Merge pull request #1454 from martin-frbg/issue1452
Keep the flag handling separate from the scaling loops in rotmg
2018-02-11 20:48:04 +01:00
Martin Kroeker 650077074a
Add tests for rotmg 2018-02-10 14:18:21 +01:00
Martin Kroeker fe16a94fc2
Add rotmg tests for CMAKE MSVC+CLANG build 2018-02-10 14:17:41 +01:00
Martin Kroeker 632b8e0f05
Merge current Makefile from develop 2018-02-10 14:10:55 +01:00
Martin Kroeker a1bc0fcf07
Resurrect utest for rotmg and add testcase for issue 1452 2018-02-10 12:48:03 +01:00
Erik M. Bray ce2028b425 Rewrite this test to work with ctest and re-enable it on the appropriate platforms (including Cygwin, which has fork()) 2018-02-06 12:23:27 +01:00