Ben Ashbaugh
02bf24d2b1
remove min max macros ( #1310 )
...
* remove the MIN and MAX macros and use the std versions instead
* fix formatting
* fix Arm build
* remove additional MIN and MAX macros from compat.h
2021-09-13 13:25:32 +01:00
Grzegorz Wawiorko
2597027737
Use highest OpenCL C version ( #1081 )
...
* Set the highest supported OpenCL C version.
* Remove gDeviceLt20 variable - not used anymore.
* Fix formatting issues
2021-01-11 13:54:19 +00:00
Anastasia Stulova
e6d15a2bfc
Release event in host_enqueue_order test.
...
Signed-off-by: Anastasia Stulova <anastasia.stulova@arm.com >
2019-08-14 16:02:39 +01:00
Kevin Petit
ef832c330c
Stop using ../../test_common to include common headers
...
Fixes #395 .
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2019-08-01 18:41:12 +01:00
Nikhil Joshi
2edcc56117
Fix test_host_queue_order not to rely on bit accurate float ops ( #277 )
...
Currently, test_host_queue_order relies on bit accurate float ops.
It expects expects that sqrt((float)i * i) == i.
This is not always true due to floating point precision limitations.
The test does not really need the sqrt operation and it can be removed
instead of trying to correct the floating point check.
Replace problematic float operation with constant value of 1.
2019-05-29 11:09:28 +01:00
Kévin Petit
d536a019d1
Bugfix for Khronos Bug 16242. ( #261 )
...
Use convert_int_rte for the result of the sqrt instead of casting to int.
Fixes possible rounding issues.
2019-05-03 01:16:31 +08:00
Kedar Patil
2821bf1323
Initial open source release of OpenCL 2.2 CTS.
2017-05-16 18:44:33 +05:30