Skip to content

Commit 2d0ee99

Browse files
authored
[SYCL][E2E] Stop skipping image_selection.cpp test. (#13086)
Using `,` in requires is equivalent to `&&`, and a device can't support simultaneously `opencl` and `level-zero`, so this test was always skipped. This patch corrects this by requiring either `opencl` or `level-zero`, but not both simultaneously. Signed-off-by: Marcos Maronas <[email protected]>
1 parent 9e4768c commit 2d0ee99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/SpecConstants/2020/image_selection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// REQUIRES: opencl, level-zero, gpu, ocloc
1+
// REQUIRES: (opencl || level-zero) && gpu && ocloc
22

33
// Check the case when -fsycl-add-default-spec-consts-image option is used which
44
// results in generation of two types of images: where specialization constants

0 commit comments

Comments
 (0)