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
Pauli Virtanen
845e6d750f
Add trivial smoketest for xpotrf
2017-09-30 19:07:54 +02:00
Isuru Fernando
ca32b66a1c
New utest for clang
2017-08-04 07:58:04 +05:30
Isuru Fernando
d9346930dd
Merge remote-tracking branch 'upstream/develop' into develop
2017-08-04 07:57:55 +05:30
Isuru Fernando
d245caa49a
Support out-of-source build
2017-08-01 15:16:14 +05:30
Isuru Fernando
02c1f86055
Fix copying libopenblas.dll
2017-07-29 23:42:38 +05:30
Neil Shipp
34513be726
Add Microsoft Windows 10 UWP build support
2017-06-23 13:07:34 -07:00
Neil Shipp
65e56cb29d
Add 64bit support for Microsoft Visual Studio
2017-06-21 13:38:22 -07:00
Ovidiu Radoi
72f95a0acc
Update test to use openblas_make_complex_float and openblas_make_complex_double functions
2017-05-30 12:12:49 +03:00
François Bissey
f124ffab47
make utest/Makefile respect LDFLAGS
2016-10-13 09:32:25 +13:00
John Biddiscombe
053044ae4d
Replace CMAKE_SOURCE_DIR/CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR
...
If OpenBLAS is built using add_subdirectory(OpenBlas) as part of another project
then the paths set by CMAKE_XXX_DIR are relative to the parent project
and not the OpenBLAS project.
2016-05-25 09:13:28 +02:00
Zhang Xianyi
7d0358475d
Merge the patch for musl libc.
2016-05-22 01:08:44 +08:00
Aleksey Kuleshov
3d50ccdc0d
allow building tests when CROSS compiling but don't run them
2016-04-26 12:36:47 +03:00
Zhang Xianyi
d23c7c713c
Fixed #789 Fix utest/ctest.h on Mingw.
2016-03-05 09:34:37 -05:00
Zhang Xianyi
4fc8c937d4
Refs #695 add testcase.
2016-03-01 01:05:56 -05:00
Zhang Xianyi
a04d0555ba
[av skip] Fix utest makefile bug on travis ci.
2016-02-20 00:21:43 +08:00
Zhang Xianyi
3761c30ba4
Fix makefile bug for utest.
2016-02-18 17:01:48 -05:00
Zhang Xianyi
5cc0301fc3
Enable utest for appveyor.
2016-02-12 01:50:20 -05:00
Zhang Xianyi
19a6dedfd6
Add utest for CMake.
2016-02-12 05:38:13 +08:00
Zhang Xianyi
8e98478ff3
Update ctest.h from github.com:xianyi/ctest.git.
2016-02-12 05:01:57 +08:00
Zhang Xianyi
578f471808
Fix utest bug when INTERFACE64=1.
2016-01-28 22:18:38 -06:00
Zhang Xianyi
5a8447e97e
Use ctest.h for unit test. Enable unit test on travis CI.
2016-01-29 11:35:31 +08:00
kortschak
5344f335a8
Add test for drotmg bug fixed by 692b14c
...
Test requested in issue xianyi/OpenBLAS#484 .
Run tests by applying the following change and then make:
diff --git a/Makefile.rule b/Makefile.rule
index bea1fe1..9852ff3 100644
--- a/Makefile.rule
+++ b/Makefile.rule
@@ -140,7 +140,7 @@ NO_AFFINITY = 1
-# UTEST_CHECK = 1
+UTEST_CHECK = 1
2015-01-07 10:06:55 +10:30
Zhang Xianyi
2fb02626da
Update organization info.
2014-11-25 15:28:58 +08:00
Zhang Xianyi
698e77dba4
Refs #406 . Fixed utest building bug.
2014-07-08 17:26:49 +08:00
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
...
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-06-27 12:05:18 -07:00
Olivier Grisel
a14f98ca7c
Make sure that fork_test.c is not built under windows
2014-02-19 19:14:13 +01:00
Olivier Grisel
138a841390
FIX #294 : make OpenBLAS thread-pool resilient to fork via pthread_atfork
2014-02-19 19:01:15 +01:00
Xianyi Zhang
14428af879
Adde the mising test_amax.c file.
2012-04-26 16:40:44 +08:00
Xianyi Zhang
5656cca4f3
Added the test case for samax.
2012-04-26 16:17:17 +08:00
Xianyi Zhang
08570c4248
Fixed the utest bug for drotmg.
2012-04-26 15:54:15 +08:00
Xianyi Zhang
b2bdb6f7c4
Automatically download CUnit 2.1.2-2 version from SF.net.
2012-04-26 15:39:03 +08:00
Xianyi Zhang
830a823be1
Added missed testing codes for dsdot.
2011-05-13 02:41:39 +08:00
Xianyi Zhang
1d60510959
Added the unit testcase for dsdot.
2011-05-13 02:19:55 +08:00
Xianyi Zhang
03272a606d
Added the unit test for drotmg.
2011-05-13 01:21:39 +08:00
Xianyi Zhang
44acb7503e
Added zdotu with x & y offset=1 test case.
2011-03-02 18:03:40 +08:00
Xianyi Zhang
cd2cbabecc
Added unit test case (zdotu, N=1).
2011-02-22 14:16:46 +08:00
Xianyi Zhang
afbe3c9791
Improved the quality of codes in unit test.
...
Thanks José Luis García Pallero
2011-02-21 00:43:15 +08:00
Xianyi Zhang
109b86d00e
Added axpy unit test with incx==0 and incy==0.
2011-02-21 00:17:33 +08:00
Xianyi Zhang
8dd3fd7f26
Added swap unit test with incx==0 and incy==0.
2011-02-20 17:13:12 +08:00
Xianyi Zhang
c79696cc61
Added rot testcase when incx == incy ==1.
2011-02-16 23:35:41 +08:00
Xianyi Zhang
fbf95688d6
Added utest frame using CUnit( http://cunit.sourceforge.net/ ).
2011-02-16 17:33:06 +08:00