Pierre Moreau
fe12c4e378
computeinfo: Attach min version to image types and flags
...
This is mostly required for OpenCL 1.0 and 1.1 conformance tests, but
also avoids testing for CL_MEM_KERNEL_READ_AND_WRITE on OpenCL 1.2.
2020-05-20 14:31:58 +01:00
Pierre Moreau
2d124f61eb
computeinfo/main: Fix format specifiers for unsigned long
2020-05-20 14:31:58 +01:00
Pierre Moreau
0b4ecd1756
computeinfo/extended_versioning: Add missing arguments to log_error
2020-05-20 14:31:58 +01:00
Pierre Moreau
0ed62b4fbe
Reformat computeinfo/ tests
2020-05-20 14:31:58 +01:00
Jack Frankland
8d28a5dc83
Add 3.0 as valid device version to version parsing logic ( #765 )
2020-05-06 13:09:20 +01:00
James Price
40f50d77a3
Rename test .c sources to .cpp where necessary ( #604 )
...
Remove hacks to force language from CMake files.
Closes KhronosGroup/OpenCL-CTS#25
2020-02-21 17:34:31 +00:00
Einar Hov
89ec023110
Add conformance tests for cl_khr_extended_versioning ( #548 )
...
Tests that the new queries work, and that what they return is consistent with
the information returned by the string-based queries.
Signed-off-by: Einar Hov <einar.hov@arm.com >
2020-02-20 10:14:17 +00:00
Lukasz Towarek
1497a4a60d
computeinfo: Fix printing of size_t values ( #555 )
...
Currently capabilities with size_t type like CL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZE
are printed as signed values for example:
CL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZE == -881700864
2020-01-15 10:08:58 +00: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
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
Grzegorz Wawiorko
00d0b0ddd7
Test fix - Test computeinfo should know each existing OCL version ( #366 )
2019-07-08 16:39:22 +01:00
Grzegorz Wawiorko
171c35429a
Fix Issue #35 - ask for capability size. Too small size could cause errors ( #280 )
...
* Fix Issue #35 - ask for capability size. Too small size could cause errors
* Fix Issue #35 - Review fixes
* Fix Issue #35 - Review fixes - build issues fixed
2019-05-23 18:19:37 +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
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
Kevin Petit
95b040bec2
Synchronise with Khronos-private Gitlab branch
...
The maintenance of the conformance tests is moving to Github.
This commit contains all the changes that have been done in
Gitlab since the first public release of the conformance tests.
Signed-off-by: Kevin Petit kevin.petit@arm.com
2019-03-05 16:24:50 +00:00
Kedar Patil
2821bf1323
Initial open source release of OpenCL 2.2 CTS.
2017-05-16 18:44:33 +05:30