1486 Commits

Author SHA1 Message Date
Kévin Petit
d536a019d1 Bugfix for Khronos Bug 16242. (#261)
Use convert_int_rte for the result of the sqrt instead of casting to int.

Fixes possible rounding issues.
2019-05-03 01:16:31 +08:00
Radek Szymanski
f635b604f7 cl22: Reuse test harness code in kernel_read_write (#243)
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-05-01 21:20:30 +08:00
Radek Szymanski
f747995668 cl21: Reuse test harness code in kernel_read_write (#242)
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-05-01 21:19:47 +08:00
Radek Szymanski
3a8214750a cl20: Reuse test harness code in kernel_read_write (#241)
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-05-01 21:19:01 +08:00
Radek Szymanski
3c62454f71 cl20: Reuse test harness code in contractions (#252)
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-05-01 19:11:36 +08:00
Radek Szymanski
d8f307f7e6 cl21: Reuse test harness code in contractions (#253)
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-05-01 19:10:58 +08:00
Radek Szymanski
97c11cff1d cl22: Reuse test harness code in contractions (#254)
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-05-01 19:10:15 +08:00
Radek Szymanski
3aae1d60ef cl21: Reuse test harness code in headers (#256)
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-05-01 19:09:01 +08:00
Radek Szymanski
621c47105c cl22: Reuse test harness code in headers (#257)
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-05-01 19:08:45 +08:00
Radek Szymanski
1f567dcdc0 cl20: Reuse test harness code in headers (#255)
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-05-01 19:08:29 +08:00
Pierre Moreau
cb798beb56 cl12: Do not mistake x86_64 platforms as x86 (#229) 2019-04-30 22:24:51 +08:00
cdai2
46ac283384 Fix Issue #53: required buffer size exceed the available size in non_uniform_work_group (#248) 2019-04-30 22:22:20 +08:00
cdai2
c6e99e3e35 Fix Issue #53: required buffer size exceed the available size in non_uniform_work_group (#247) 2019-04-30 22:22:01 +08:00
cdai2
abe52cae81 Fix Issue #53: required buffer size exceed the available size in non_uniform_work_group (#54) 2019-04-30 22:21:35 +08:00
Radek Szymanski
7ce7609a46 cl22: Reuse test harness code in samplerlessReads (#246)
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-30 22:18:21 +08:00
Radek Szymanski
211ea1e342 cl21: Reuse test harness code in samplerlessReads (#245)
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-30 22:17:44 +08:00
Radek Szymanski
94d110d5f4 cl20: Reuse test harness code in samplerlessReads (#244)
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-30 22:17:00 +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
Pierre Moreau
223b2c815a Fix compilation of gl/main.cpp
Fixes 07196c35 ("cl22: Use single array for function list (#148)")
2019-04-26 01:40:02 +01:00
Pierre Moreau
35ddf04319 gl: Add missing tests to the CMakeLists.txt 2019-04-26 01:40:02 +01:00
Pierre Moreau
f7cfce57e0 gl: Remove non-existent file and fix compilation 2019-04-26 01:40:02 +01:00
Pierre Moreau
eb1b484c29 Fix compilation of gl/main.cpp
Fixes 07196c35 ("cl22: Use single array for function list (#148)")
2019-04-26 01:39:37 +01:00
Pierre Moreau
92fcfeda22 gl: Add missing tests to the CMakeLists.txt 2019-04-26 01:39:37 +01:00
Pierre Moreau
30fae0f9b1 gl: Remove non-existent file and fix compilation 2019-04-26 01:39:37 +01:00
Pierre Moreau
c294da4de1 Fix compilation of gl/main.cpp
Fixes 07196c35 ("cl22: Use single array for function list (#148)")
2019-04-26 01:38:51 +01:00
Pierre Moreau
c4b22fd2cb gl: Add missing tests to the CMakeLists.txt 2019-04-26 01:38:51 +01:00
Pierre Moreau
58c7b644fa gl: Remove non-existent file and fix compilation 2019-04-26 01:38:51 +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
2308085db5 Use unique tmp file to allow parallel printf tests (#214)
Parallel printf tests fail because they use the same file /tmp/tmpfile
to capture OpenCL kernel outputs. This patch solves this problem by
using a unique file for each process.
2019-04-25 18:11:19 +01:00
Wenju He
2eea74bc95 Use unique tmp file to allow parallel printf tests (#215)
Parallel printf tests fail because they use the same file /tmp/tmpfile
to capture OpenCL kernel outputs. This patch solves this problem by
using a unique file for each process.
2019-04-25 18:10:46 +01:00
Wenju He
f380c730da Use unique tmp file to allow parallel printf tests (#101)
Parallel printf tests fail because they use the same file /tmp/tmpfile
to capture OpenCL kernel outputs. This patch solves this problem by
using a unique file for each process.
2019-04-25 18:10:03 +01:00
Radek Szymanski
a12de660ee cl20: Reuse test harness code in clFillImage (#200)
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-25 02:50:10 +01:00
Radek Szymanski
e9d9ffac6d cl21: Reuse test harness code in clFillImage (#201)
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-25 02:49:11 +01:00
Radek Szymanski
355b2d2460 cl22: Reuse test harness code in clFillImage (#202)
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-25 02:48:15 +01:00
Radek Szymanski
1a59260373 cl20: Reuse test harness code in clCopyImage (#197)
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-25 02:47:13 +01:00
Radek Szymanski
189d907d76 cl21: Reuse test harness code in clCopyImage (#198)
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-25 02:46:05 +01:00
Radek Szymanski
cd0af9ca25 cl22: Reuse test harness code in clCopyImage (#199)
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-25 02:44:57 +01:00
Radek Szymanski
3c124e0807 cl20: Reuse test harness code in clReadWriteImage (#206)
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-25 02:18:22 +01:00
Radek Szymanski
b1db97e403 cl21: Reuse test harness code in clReadWriteImage (#207)
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-25 02:16:24 +01:00
Radek Szymanski
f42a688ac2 cl22: Reuse test harness code in clReadWriteImage (#208)
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-25 02:15:12 +01:00
Radek Szymanski
f982d67fad cl20: Reuse test harness code in clGetInfo (#203)
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-25 01:57:49 +01:00
Radek Szymanski
7185e9bb06 cl21: Reuse test harness code in clGetInfo (#204)
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-25 01:56:50 +01:00
Radek Szymanski
5f261cb57e cl22: Reuse test harness code in clGetInfo (#205)
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-25 01:56:02 +01:00
aarongreig
adb9dbbef9 Check device address width when deciding which SPIR-V binary to read (#172) 2019-04-25 01:42:12 +01:00
Radek Szymanski
965fe95bdd cl20: Reuse test harness code in kernel_image_methods (#209)
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-24 04:29:26 +01:00
Radek Szymanski
a28cfca522 cl21: Reuse test harness code in kernel_image_methods (#210)
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-24 04:28:38 +01:00
Radek Szymanski
5233855ca8 cl22: Reuse test harness code in kernel_image_methods (#211)
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-24 04:28:15 +01:00