Commit Graph

26 Commits

Author SHA1 Message Date
Grzegorz Wawiorko
ba2b6d5a24 Intel compiler changes compat.h (#316) 2019-06-17 12:54:50 +01:00
Grzegorz Wawiorko
aa937ee347 Fix Issue 264 - travis builds configuration fixed because of changes in icd loader project (#268) 2019-05-14 20:44:31 +01:00
Pierre Moreau
cb798beb56 cl12: Do not mistake x86_64 platforms as x86 (#229) 2019-04-30 22:24:51 +08:00
Wenju He
26722c58e4 Fix ilogbl crash and fetestexcept build if _MSC_VER>=1800 (#240)
FP_ILOGB0, FP_ILOGBNAN, ilogbm, ilogbf, ilogbl, fetestexcept and
feclearexcept are supported in Visual Studio 2013.
2019-04-29 20:41:42 +08:00
Pierre Moreau
688a1bb3d7 cl12: Ignore C++11 narrowing errors for now (#228)
Fixes #222
2019-04-26 01:43:13 +01:00
Pierre Moreau
6d8a633bf0 Add D3D10 and D3D11 tests as well as enabling toggle 2019-04-26 01:40:58 +01:00
Pierre Moreau
ac0b784759 Add CMake option for enabling GL interop tests 2019-04-26 01:40:58 +01:00
Pierre Moreau
beaa43012c gl: Remove non-existent file and fix compilation 2019-04-26 01:40:58 +01:00
Wenju He
25be90dba2 Use unique tmp file to allow parallel printf tests (#213)
Parallel printf tests fail because they use the same file tmp
to capture OpenCL kernel outputs. This patch solves this problem by
using a unique file for each process.
2019-04-25 18:12:24 +01:00
Wenju He
a99ef043be Reuse math_brute_force ulp threshold in spir test
Spir test compares floating-point kernel results bit-by-bit with
correct results. However, for math_brute_force kernels, specification
does not ask for SPIR and OpenCL C path to match bit-to-bit. This patch
reuses ulps threshold from math_brute_force folder for math_brute_force
kernels in spir test.

Signed-off-by: Wenju He <wenju.he@intel.com>
2019-04-19 14:51:10 +01:00
Jeremy Kemp
a0035ecae0 cl12: Compiler - updated extension list for compiler_defines_for_exensions (#55)
* cl12: Compiler - added missing extensions to compiler_defines_for_extensions.

Updated the list of known extensions to include all extensions referenced in the OpenCL Extension Specification 1.2 - Revision 25 and OpenCL Specification 1.2 - Revision 19 documents.

* Re-added the cl_khr_il_program extension.

This was this was erroneously removed in the previous commit.

* Compiler: Added all known extensions to compiler_defines_for_extensions.

After discussion on the pull request, it was decided to have this test test for all known khr extensions accross all API levels. Some vendors support 2.x extensions on 1.x implementations, so wanted to ensure that the test still covered those cases.

Re-ordered each sub-list so that the order in which each extension appears mirrors that of https://www.khronos.org/registry/OpenCL/specs/2.2/html/OpenCL_Ext.html.

For reference: https://github.com/KhronosGroup/OpenCL-CTS/pull/55.

* Compiler: Moved priority and throttle hints to the API-only section of the array in compiler_defines_for_extensions.

* Compiler: Added cl_khr_spirv_no_integer_wrap_decoration to the list of extensions.
2019-04-16 14:45:10 +01:00
Kévin Petit
e9f24a8414 Don't require image support on GPU devices (#181)
There is no mention of this rule that I could find in the
OpenCL 1.2 specification. cl12_trunk was the only branch
with this behaviour.

Signed-off-by: Kévin Petit <kpet@free.fr>
2019-04-16 11:36:35 +01:00
Grzegorz Wawiorko
511b1148b5 Review fixes 2019-04-15 16:08:36 +01:00
Bartosz Sochacki
a3576382e5 build break fix for bug 15266 "Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest." 2019-04-15 16:08:36 +01:00
Yaxun (Sam) Liu
490561d249 Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest. 2019-04-15 16:08:36 +01:00
Wenju He
0654d2715d Fix verifyOutputBuffer return value in printf (#104)
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:32:47 +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
Jeremy Kemp
d4cc1ae0b6 Pass CL_MAP_READ to clEnqueueMapImage as passing 0 is invalid 2019-03-08 03:03:52 +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
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
Kedar Patil
f74871b7a3 Initial open source release of OpenCL 1.2 CTS. 2017-05-16 19:04:36 +05:30
Khronos Group Webmaster
6911ba5116 Initial commit 2017-05-15 09:06:40 -04:00