Commit Graph

1449 Commits

Author SHA1 Message Date
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
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
5413bcf52e 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:54:20 +05:30
Alastair Murray
5b19ef73d9 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:43:42 +05:30
Alastair Murray
71a5c8251e 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:43:36 +05:30
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
f74871b7a3 Initial open source release of OpenCL 1.2 CTS. 2017-05-16 19:04:36 +05:30
Kedar Patil
3a440d17c8 Initial open source release of OpenCL 2.0 CTS. 2017-05-16 18:50:35 +05:30
Kedar Patil
c3a61c6bdc Initial open source release of OpenCL 2.1 CTS. 2017-05-16 18:48:39 +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