Commit Graph

1713 Commits

Author SHA1 Message Date
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
Radek Szymanski
db94f4736d cl21: Convert images/clCopyImage to testHarness (#57)
* cl21: Convert images/clCopyImage to testHarness

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>

* Remove print options from original patch

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-18 09:49:26 +00:00
Radek Szymanski
1ee5a24d21 cl20: Convert images/clCopyImage to testHarness (#56)
* cl20: Convert images/clCopyImage to testHarness

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>

* Remove print options from original patch

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-18 09:49:07 +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
Grzegorz Wawiorko
a0ea80e426 Khronos Bug 15683 Missing OpenCL 2.1 support in API compatibility tests 2019-03-15 10:27:28 +00:00
Kevin Petit
1133a1a252 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:48:40 +00:00
Kevin Petit
f6a2955758 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:48:26 +00:00
Kevin Petit
b4a002befe 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:48:12 +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
0f507eb84f Pass CL_MAP_READ to clEnqueueMapImage as passing 0 is invalid 2019-03-15 09:47:26 +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
Grzegorz Wawiorko
6bc5236b1c Khronos Bug 15271 allocations test doesn't check if all events on the wait list are valid 2019-03-15 09:37:45 +00:00
Jeremy Kemp
d4cc1ae0b6 Pass CL_MAP_READ to clEnqueueMapImage as passing 0 is invalid 2019-03-08 03:03:52 +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
64594d460e Fix Apple build
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:24:34 +00:00
Radek Szymanski
084828bbd8 Conversion to testHarness - math_brute_force
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-05 16:24:34 +00:00
Kevin Petit
aadfe3c5a7 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:34 +00:00
Radek Szymanski
901bc34567 Conversion to testHarness - conversions
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-03-05 16:24:34 +00:00
Kevin Petit
becdc3a1ad 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:34 +00:00
Kevin Petit
05a11d8e49 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:34 +00:00
Kevin Petit
f75a9cdea3 Fix Apple build
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:24:06 +00:00
Kevin Petit
c609dc9526 Build printf test as C++11
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:24:06 +00:00
Kevin Petit
53db6e7f9f 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:06 +00:00
Kevin Petit
d8733efc0f 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:23:49 +00:00
Kevin Petit
95196e7fb4 Add basic Travis config for Linux builds
Performs a single build on Linux using the unified
headers and linking against the ICD.

Also add a build badge to the README.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-11-12 12:11:00 +00:00
Kevin Petit
d90bb74206 A few tweaks to the CMake fixes from the internal repo
Still very hacky but allows to get things going.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-11-12 12:11:00 +00:00
Alastair Murray
b67a5f3761 Add OpenCLCTS target and install component to CMake 2018-11-12 12:11:00 +00:00
Neil Henning
b4e39211d7 Fixup CMake to work with OpenCL 1.2 branch. 2018-11-12 12:11:00 +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
ba975e4112 Add OSX to the list of Travis CI OSes
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-11-07 10:09:53 +00:00
Kevin Petit
b1603eb6ba Add OSX to the list of Travis CI OSes
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-11-07 10:00:36 +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
Kevin Petit
7901538f0f Add Travis badge to README
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-10-23 17:33:44 +00:00
Kevin Petit
53dafd1f82 Add Travis badge to README
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-10-23 17:31:51 +00:00
Kevin Petit
ded7c94bf7 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:09:11 +00:00
Kevin Petit
50aaa40f33 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 triavialy be done with a wrapper project.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-10-23 17:09:11 +00:00
Kevin Petit
ebca056620 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 15:56:09 +00:00
Kevin Petit
386c172f20 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 triavialy be done with a wrapper project.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-10-23 15:56:09 +00:00