Kévin Petit
cba5a191c3
Remove duplicate code setting _cpu_capabilities ( #676 )
...
All tests that have this code are using the harness which does
this already.
Signed-off-by: Kévin Petit <kpet@free.fr >
2020-03-17 10:21:18 +00:00
Kévin Petit
e62cd4a2b9
Test images - remove setting gDeviceType. ( #653 )
...
This is handled in testHarness.cpp
2020-03-05 14:11:37 +00:00
Kévin Petit
b2eba77d42
Get rid of test_finish macro and related ATF cruft ( #633 )
...
Closes #431
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-03-02 15:06:44 +00:00
Kévin Petit
d5334dc61d
Get rid of checkDeviceTypeOverride ( #602 )
...
This is now done in the test harness.
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-02-24 10:34:04 +00:00
Kévin Petit
ec3959bfd1
Make it possible to run kernel_read_write on a 1.x implementation ( #615 )
...
Signed-off-by: Kévin Petit <kpet@free.fr >
2020-02-24 10:29:30 +00:00
jiabaxie
943ba04c0c
set gDeviceType in testharness.c ( #597 )
...
* set gDeviceType in testharness.c, also moved gTestRounding to imageHelpers.cpp & .h and removed duplicate code from host_atomics.cpp
* Cleaned up some redundant code
* Reversed the change in testharness.c
2020-02-20 10:39:55 +00:00
jiabaxie
68d08e07bf
Moved all instances of gDeviceType to imageHelper.cpp ( #575 )
...
* Moved all instances of gDeviceType to imageHelper.cpp
* Missed one instance of gDeviceType
* Removed all instances of extern cl_device_type gDeviceType, except in imageHelpers.h
2020-02-06 08:27:13 +01:00
Grzegorz Wawiorko
daafdac555
Fixes issue #497 - Image tests from master branch on OCL 1.2 device ( #501 )
...
* Fixes issue #497 - Image tests from master branch on OCL 1.2 device
* Fixes issue #497 - use get_device_cl_version
2019-12-20 11:30:03 +00:00
Jim Lewis
040321d8b9
Allow CL_FLOAT denorm flushing for write tests ( #28 ) ( #456 )
...
* Require exact for match normals, instead of arbitrary .005 relative error
* Add relaxation to allow 0 when float denormal is expected
* Refactor to use common validation function
2019-11-15 13:38:15 +00:00
Pavan K Lanka
a4acc80c2b
Fix for Khronos https://github.com/KhronosGroup/OpenCL-CTS/issues/27 remove the re-declaration of totalErrors ( #445 )
2019-09-16 11:24:50 +01:00
Ben Ashbaugh
fb3dca1ac7
remove check for extension for writeable sRGB images ( #449 )
2019-09-12 13:05:11 +01:00
Kévin Petit
fa4b278432
Build the harness as a static library ( #430 )
...
This reduces by a factor of roughly two the number of files to build.
Fixes #193 .
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2019-08-07 17:18:10 +01:00
Radek Szymanski
03650057bb
Move printing sub-test information into test harness ( #421 )
...
This removes all the duplicated code from each test, and moves it to
test harness so that we have single place where this information is
printed.
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-08-05 15:16:12 +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
Radek Szymanski
f635b604f7
cl22: Reuse test harness code in kernel_read_write ( #243 )
...
Some of the setup functionality is already there in the test harness, so
use that and remove the duplicated code from within the suite.
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-05-01 21:20:30 +08:00
Grzegorz Wawiorko
6c999818ee
cl22: Improved CRC calculation ( #133 )
...
* Improved CRC calculation
* Improved CRC calculation - review fix
* Improved CRC calculation - build brake fix
* Improved CRC calculation - remove external initializaiton
2019-04-18 15:00:45 +01:00
Radek Szymanski
07196c351a
cl22: Use single array for function list ( #148 )
...
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-04-10 12:30:38 +01:00
Radek Szymanski
a0ef00101f
cl22: Convert images/kernel_read_write to testHarness ( #86 )
...
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-03-18 09:56:00 +00:00
Kevin Petit
b6446a2f1d
Remove build systems other than CMake
...
Make it clear that CMake is the only supported build system.
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2019-03-15 09:47:56 +00:00
Kedar Patil
2821bf1323
Initial open source release of OpenCL 2.2 CTS.
2017-05-16 18:44:33 +05:30