Added cl_khr_fp16 extension support for test_fpmath from basic (#1718)

* Added half and double support for fpmath test from basic (issue #142, basic)

* Cosmetic corrections due to code review

* Removed unnecessary casting

* Added corrections due to code review

* Tuning range of input generation to avoid hitting infinity

* Moved string helpers procedures due to request from test_commonfns PR #1695
This commit is contained in:
Marcin Hajder
2023-06-20 17:42:57 +02:00
committed by GitHub
parent 44b2578ac7
commit 0e229b8f01
7 changed files with 427 additions and 211 deletions

View File

@@ -2,7 +2,7 @@ set(MODULE_NAME BASIC)
set(${MODULE_NAME}_SOURCES
main.cpp
test_fpmath_float.cpp
test_fpmath.cpp
test_intmath.cpp
test_hiloeo.cpp test_local.cpp test_pointercast.cpp
test_if.cpp test_loop.cpp