mirror of
https://github.com/CNugteren/CLBlast.git
synced 2024-07-04 21:36:57 +02:00
Made use of CMake's built-in unit testing, allowing all tests to be run using 'make test'
This commit is contained in:
parent
f6b2cd9579
commit
983df6a8b4
|
@ -1,9 +1,10 @@
|
|||
|
||||
Development version (next release)
|
||||
- Added support for half-precision floating-point (fp16) in the library
|
||||
- Made it possible to compile the performance tests (clients) separately from the correctness tests
|
||||
- Made a reference BLAS and head-to-head performance comparison optional in the clients
|
||||
- Increased the verbosity of the "-verbose" option in the correctness tests
|
||||
- Added support for half-precision floating-point (fp16) in the library
|
||||
- Various minor fixes and enhancements
|
||||
- Added half-precision routines:
|
||||
* Level-1: HSWAP/HSCAL/HCOPY/HAXPY/HDOT/HNRM2/HASUM/HSUM/iHAMAX/iHMAX/iHMIN
|
||||
* Level-2: HGEMV/HGBMV/HHEMV/HHBMV/HHPMV/HSYMV/HSBMV/HSPMV/HTRMV/HTBMV/HTPMV/HGER/HSYR/HSPR/HSYR2/HSPR2
|
||||
|
|
|
@ -294,6 +294,7 @@ endif()
|
|||
# Section for the correctness tests. Note that these tests require the presence of clBLAS and/or a
|
||||
# CPU BLAS library to act as a reference.
|
||||
if(TESTS)
|
||||
enable_testing()
|
||||
|
||||
# Creates the common correctness-tests objects (requires CMake 2.8.8)
|
||||
add_library(test_correctness_common OBJECT
|
||||
|
@ -315,6 +316,7 @@ if(TESTS)
|
|||
foreach(ROUTINE ${ROUTINES})
|
||||
target_link_libraries(clblast_test_${ROUTINE} clblast ${REF_LIBRARIES} ${OPENCL_LIBRARIES})
|
||||
install(TARGETS clblast_test_${ROUTINE} DESTINATION bin)
|
||||
add_test(clblast_test_${ROUTINE} clblast_test_${ROUTINE})
|
||||
endforeach()
|
||||
|
||||
# Adds 'alltests' target: runs all tests
|
||||
|
|
Loading…
Reference in a new issue