Added cl_khr_fp16 extension support for test_int2fp from basic (#1742)

* Added cl_khr_fp16 and cl_khr_fp64 support for float2int and int2float tests from basic

* removed debug output

* Replaced procedure to generate random half values in specific range (issue #142, basic)

* Added cosmetic fixes due to code review comments

* Moved string helper procedures due to request for test_commonfns PR #1695
This commit is contained in:
Marcin Hajder
2023-06-20 17:44:45 +02:00
committed by GitHub
parent 0e229b8f01
commit df3ec8deec
5 changed files with 332 additions and 146 deletions

View File

@@ -59,8 +59,8 @@ test_definition test_list[] = {
ADD_TEST(image_r8),
ADD_TEST(barrier),
ADD_TEST_VERSION(wg_barrier, Version(2, 0)),
ADD_TEST(int2float),
ADD_TEST(float2int),
ADD_TEST(int2fp),
ADD_TEST(fp2int),
ADD_TEST(imagereadwrite),
ADD_TEST(imagereadwrite3d),
ADD_TEST(readimage3d),
@@ -156,7 +156,7 @@ test_definition test_list[] = {
ADD_TEST(simple_read_image_pitch),
ADD_TEST(simple_write_image_pitch),
#if defined( __APPLE__ )
#if defined(__APPLE__)
ADD_TEST(queue_priority),
#endif