Radek Szymanski
0c15c7039e
cl22: Reuse test harness code in allocations ( #189 )
...
Some of the setup functionality is already there in the test harness, so
use that and remove the duplicated code from within the suite.
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-04-22 12:02:17 +01:00
Wenju He
1de46f2ca1
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:52 +01:00
Radek Szymanski
b5028806d8
cl22: Test Harness minor cleanup ( #186 )
...
* Report an error when unimplemented test was specified
* Merge two common functions
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-04-18 15:10:26 +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
Jeremy Kemp
8e03195706
cl22: Compiler - updated extension list for compiler_defines_for_exensions ( #176 )
...
* 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.
2019-04-16 14:46:25 +01:00
Radek Szymanski
2909b0ca86
cl22: Reuse test harness code in conversions ( #180 )
...
Some of the setup functionality is already there in the test harness, so
use that and remove the duplicated code from within the suite.
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-04-16 11:52:33 +01:00
Grzegorz Wawiorko
51f149eb20
Review fixes
2019-04-15 16:09:13 +01:00
Bartosz Sochacki
5f14bd69d1
build break fix for bug 15266 "Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest."
2019-04-15 16:09:13 +01:00
Yaxun (Sam) Liu
e1c9ffd394
Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest.
2019-04-15 16:09:13 +01:00
Brian Sumner
f37a0292ac
Use correct format for unsigned long
2019-04-15 16:06:40 +01:00
Brian Sumner
4694e625c7
Proposed fix for bug 16239
2019-04-15 16:06:40 +01:00
Brian Sumner
2c5ba5cdc2
Fix bug 16270 by raising device limit
2019-04-15 16:04:24 +01:00
Grzegorz Wawiorko
e94d9b967a
Khronos Bug 15438 generic address space language_union test issues
2019-04-12 13:07:41 +01:00
Radek Szymanski
c9c10138c6
cl22: Reuse test harness code in printf
...
Some of the setup functionality is already there in the test harness, so
use that and remove the duplicated code from within the suite.
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-04-12 12:36:54 +01:00
Radek Szymanski
76cedbb21c
cl22: Save results to JSON file
...
Add option to save results to JSON file by passing environment variable.
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com >
2019-04-12 12:29:57 +01:00
Kevin Petit
63b726feed
Fix memory leaks in printf
...
Signed-off-by: Mats Petersson <mats.petersson@arm.com >
2019-04-11 13:03:46 +01:00
Kevin Petit
d43f576588
Fix error message in SVM test
...
Signed-off-by: Xin Jin <xin.jin@arm.com >
2019-04-11 13:03:46 +01:00
Grzegorz Wawiorko
c1cd117265
Make wimpy factor argument parsing logic common ( #155 )
2019-04-11 12:10:45 +01:00
Kévin Petit
8d209840be
cl20: Khronos Bug 16236: Support CL_DEPTH images in the image helpers when using the border colour ( #149 )
...
Signed-off-by: Kevin Petit <kevin.petit@arm.com >
2019-04-10 13:25:13 +01:00
Grzegorz Wawiorko
eea888bfe2
Khronos Bug 15691 kernel_preprocessor_macros test encodes file name and path in the SPIR-V binaries ( #129 )
2019-04-10 13:22:13 +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
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