Commit Graph

1684 Commits

Author SHA1 Message Date
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
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
Grzegorz Wawiorko
113788517c Review fixes 2019-04-15 16:09:06 +01:00
Bartosz Sochacki
9e468747aa build break fix for bug 15266 "Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest." 2019-04-15 16:09:06 +01:00
Yaxun (Sam) Liu
ec6ceafc79 Add test for -cl-fp32-correctly-rounded-divide-sqrt to spir subtest. 2019-04-15 16:09:06 +01:00
Grzegorz Wawiorko
514394c02f Review fixes 2019-04-15 16:08:53 +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
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
d4c7d6dbcd Use correct format for unsigned long 2019-04-15 16:06:24 +01:00
Brian Sumner
c4ea18523b Proposed fix for bug 16239 2019-04-15 16:06:24 +01:00
Brian Sumner
9e4bd21d0b Use correct format for unsigned long 2019-04-15 16:05:21 +01:00
Brian Sumner
3ff36af595 Proposed fix for bug 16239 2019-04-15 16:05:21 +01:00
Brian Sumner
2c5ba5cdc2 Fix bug 16270 by raising device limit 2019-04-15 16:04:24 +01:00
Kenneth Benzie (Benie)
1a6c15bb5c Check for image support
For SPIR-V tests which require image support, check that images are
actually supported, otherwise skip these tests.
2019-04-15 14:52:29 +01:00
Grzegorz Wawiorko
31a56be88c Segfault when passing arguments to test_conformance_spirv_new 2019-04-15 12:53:30 +01:00
Grzegorz Wawiorko
e94d9b967a Khronos Bug 15438 generic address space language_union test issues 2019-04-12 13:07:41 +01:00
Grzegorz Wawiorko
5238c0a0ab Khronos Bug 15438 generic address space language_union test issues 2019-04-12 13:07:02 +01:00
Radek Szymanski
591b7c9185 cl20: 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:37:15 +01:00
Radek Szymanski
063aeecd9d cl21: 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:37:05 +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
Radek Szymanski
675d188040 cl21: 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:45 +01:00
Radek Szymanski
a05daeae7e cl20: 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:35 +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
Kévin Petit
bffb24bf71 Rename license file and add code of conduct (#153)
...to reduce the diff between the cl21_trunk and cl22_trunk
branches.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-04-11 12:11:08 +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
Grzegorz Wawiorko
636a1cc4f5 Khronos Bug 15691 kernel_preprocessor_macros test encodes file name and path in the SPIR-V binaries (#130) 2019-04-10 13:21:48 +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
Radek Szymanski
50ba83e754 cl21: Use single array for function list (#147)
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-04-10 12:30:00 +01:00
Radek Szymanski
a344529c9b cl20: Use single array for function list (#146)
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-04-10 12:29:22 +01:00
Grzegorz Wawiorko
394dece0d7 Khronos Bug 15617 SVM memory migrate test issues (#125) 2019-04-10 10:54:03 +01:00
Grzegorz Wawiorko
c0b9a74583 Khronos Bug 15617 SVM memory migrate test issues (#124) 2019-04-10 10:52:30 +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
Grzegorz Wawiorko
1d04839d26 Khronos Bug 15208 test_set_kernel_exec_info_svm_ptrs stack corruption (#122) 2019-04-10 10:26:32 +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
Radek Szymanski
02493abe88 cl21: Convert printf to testHarness (#91)
Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
2019-04-02 15:33:48 +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
52f6ad4a63 Fix issue 105 - lost fixes for some version of Visual Studio (#107) 2019-04-02 15:31:30 +01:00
Grzegorz Wawiorko
a223b8a9a2 Fix issue 105 - lost fixes for some version of Visual Studio (#106) 2019-04-02 15:30:58 +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
Grzegorz Wawiorko
7c763df0a1 Khronos Bug 15728 SPIR 1.2 tests fail when some cases are skipped (#116) 2019-03-21 11:04:59 +00:00