Commit Graph

41 Commits

Author SHA1 Message Date
Grzegorz Wawiorko
394dece0d7 Khronos Bug 15617 SVM memory migrate test issues (#125) 2019-04-10 10:54:03 +01:00
Grzegorz Wawiorko
07ae6422b6 Khronos Bug 15208 test_set_kernel_exec_info_svm_ptrs stack corruption (#121) 2019-04-10 10:26:58 +01:00
Radek Szymanski
dd036cd02e cl22: Convert printf to testHarness (#92)
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-04-02 15:34:32 +01:00
Grzegorz Wawiorko
f2d339b8d2 Fix issue 105 - lost fixes for some version of Visual Studio (#108) 2019-04-02 15:31:53 +01:00
Grzegorz Wawiorko
5a0ef9fef7 Fix resource leak in SVM test (#127)
The buffer was never unmapped.

Change-Id: If8be7f9f08ae7c26a537039f2bbeeb674cc30059
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
2019-03-26 09:10:15 +00:00
Grzegorz Wawiorko
3b36a66eff Khronos Bug 15728 SPIR 1.2 tests fail when some cases are skipped (#117) 2019-03-21 11:05:09 +00:00
Wenju He
f10ee34dd8 Fix verifyOutputBuffer return value in printf (#102)
Function verifyOutputBuffer returns non-zero value in case of mismatch.
Return value 'false' means some mismatches are treated as matches. This
commit fix this problem.
2019-03-19 09:33:07 +00: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
Grzegorz Wawiorko
051aa08b79 Fix Issue 37 - Test compiler - added new extension cl_khr_spirv_no_integer_wrap_decoration (#90) 2019-03-18 10:07:30 +00:00
Radek Szymanski
39da344d34 cl22: Convert select to testHarness (#88)
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-18 10:06:30 +00:00
Grzegorz Wawiorko
9b47a561a5 Khronos Bug 15347 fixed code review issues + fix for a similar issue in basic constant test (#74) 2019-03-18 10:04:24 +00:00
Radek Szymanski
6e18d7b257 cl22: Convert allocations to testHarness (#87)
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-18 10:02:53 +00:00
Grzegorz Wawiorko
db29c68146 Khronos Bug 15347 fix for the same issue in the compatibility tests (#81) 2019-03-18 10:00:15 +00: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
Grzegorz Wawiorko
f6d6f6b3cc Khronos Bug 15347 test_api_min_max allocates too much memory (#66) 2019-03-18 09:50:50 +00:00
Radek Szymanski
027eca6507 cl22: Convert images/clCopyImage to testHarness (#85)
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-18 09:50:09 +00:00
Grzegorz Wawiorko
e7e861a5a9 Khronos Bug 15683 Missing OpenCL 2.1 support in API compatibility tests 2019-03-15 10:27:44 +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
Grzegorz Wawiorko
162d1d3642 Pass CL_MAP_READ to clEnqueueMapImage as passing 0 is invalid 2019-03-15 09:47:39 +00:00
Grzegorz Wawiorko
90c6aee519 Khronos Bug 15271 allocations test doesn't check if all events on the wait list are valid 2019-03-15 09:38:01 +00:00
Kevin Petit
ac21278e8d Fix typo in README
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:24:50 +00:00
Kevin Petit
b50002cfd2 Fix Apple build
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:24:50 +00:00
Kevin Petit
45bb1a5672 Fix build of printf test
Also build as C++11 (required for unique_ptr)

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:24:50 +00:00
Radek Szymanski
f4a4057df1 Conversion to testHarness - math_brute_force
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-05 16:24:50 +00:00
Kevin Petit
a01da13baa cl20: Khronos Bug 16122: Convert half to test harness
Conflicts:
	test_conformance/half/CMakeLists.txt
	test_conformance/half/Test_vStoreHalf.c
	test_conformance/half/cl_utils.c
	test_conformance/half/cl_utils.h

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:24:50 +00:00
Radek Szymanski
d251bfb160 Conversion to testHarness - conversions
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-05 16:24:50 +00:00
Radek Szymanski
5dd97afbce cl21: Khronos Bug 16122: Convert contractions to test harness
Change-Id: I4861b3f7baa62f4af8b831c7c50badc6b9dd90af
2019-03-05 16:24:50 +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
Kevin Petit
de6c3db41b Add OSX to the list of Travis CI OSes
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-11-09 11:46:07 +00:00
James Price
3b577bb13a Make template type explicit for std::min calls
Fixes build on macOS, which complained about the mismatched argument
types.
2018-11-09 11:34:39 +00:00
James Price
bb92fae53e Declare gDeviceType in clcpp image test
Fixes build on macOS. This is a hangover from some Apple specific code
that is in the image helper functions.xs
2018-11-09 11:34:39 +00:00
Kevin Petit
95f3af02b7 Add Travis badge to README
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-10-23 17:52:15 +00:00
Kevin Petit
f660c2f39a Add basic Travis config for Linux builds
Performs a single build on Linux using the unified
headers and linking against the ICD.

Unified headers are broken for 2.x on OSX (see
https://github.com/KhronosGroup/OpenCL-Headers/issues/31).
Adding OSX builds should hopefully be a one-line change
once this is fixed.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-10-23 17:52:15 +00:00
Kevin Petit
15413ef7bb cmake: don't set CL_INCLUDE_DIR in CMakeVendor.txt
This will always override anything the user provides. We could
turn it into a cache variable to avoid this but the default
value assumes the location of headers in a hypothetical driver
tree which probably doesn't work for anybody so just get rid of
it instead.

Also remove all references to OPENCL_DRIVER in the build system.
Any such integration doesn't really belong in the CTS's build
system and can trivially be done with a wrapper project.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-10-23 17:52:15 +00:00
Khronos Group Webmaster
d0d16fe827 Create CODE_OF_CONDUCT.md 2018-10-10 16:02:58 -04:00
Khronos Group Webmaster
a06d48daca Change name to LICENSE.txt, revert to Apache 2.0 2018-10-03 10:08:39 -04:00
Khronos Group Webmaster
ec42c05e4b Update license.txt
Change Apache 2.0 to Khronos Apache 2.0 CLA
2018-09-27 17:06:23 -04:00
Alastair Murray
4a6af23ff3 Replace license.txt contents with Apache 2.0 license
License text taken from: https://www.apache.org/licenses/LICENSE-2.0.txt
2017-11-07 21:42:58 +05:30
Kedar Patil
252b514ef4 Add SPIR-V binaries for OpenCL C++ tests.
Addresses issue #1.
2017-07-25 20:39:41 +05:30
Kedar Patil
2821bf1323 Initial open source release of OpenCL 2.2 CTS. 2017-05-16 18:44:33 +05:30
Khronos Group Webmaster
6911ba5116 Initial commit 2017-05-15 09:06:40 -04:00