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
3f11868e11
Fix warnings reported by -Wconversion-null ( #603 )
...
Fix error reporting in clFillImage as a result.
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2020-02-21 12:21:53 +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
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
Kevin Petit
2b6b38eaba
Report actual image size being tested
...
# Conflicts:
# test_conformance/images/clFillImage/test_fill_2D_array.cpp
2019-07-31 14:10:07 +01:00
Brian Sumner
003f476024
Proposed fix for bug 11537
2019-07-31 14:10:07 +01:00
robquill
39c1d81b05
Use slice pitch instead of row pitch for 1D arrays. ( #331 )
...
Fixes fill_image 1Darray
2019-06-18 10:27:56 +01:00
Radek Szymanski
355b2d2460
cl22: Reuse test harness code in clFillImage ( #202 )
...
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-04-25 02:48:15 +01: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
56a6502f96
cl22: Convert images/clFillImage to testHarness ( #94 )
...
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-03-18 10:09:27 +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