Skip to content

Commit e7935c6

Browse files
[SYCL] minor changes to kernel_compiler tests. (#15320)
minor changes to ensure tests are and are not run on appropriate devices
1 parent c49ef6b commit e7935c6

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

sycl/test-e2e/KernelCompiler/kernel_compiler_opencl.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,11 @@
77
//===----------------------------------------------------------------------===//
88

99
// REQUIRES: (opencl || level_zero)
10+
// UNSUPPORTED: accelerator
1011

1112
// RUN: %{build} -o %t.out
1213
// RUN: %{run} %t.out
1314

14-
// the new spec for the kernel_compiler opens the door to supporting several
15-
// different source languages. But, initially, OpenCL Kernels are the only ones
16-
// supported. This test is limited to that (thus the cm-compiler requirement)
17-
// but in the future it may need to broken out into other tests.
18-
1915
#include <sycl/detail/core.hpp>
2016

2117
auto constexpr CLSource = R"===(

sycl/test-e2e/KernelCompiler/kernel_compiler_sycl.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
// REQUIRES: (opencl || level_zero)
10-
11-
// https://github.com/intel/llvm/issues/14826
12-
// XFAIL: arch-intel_gpu_pvc && igc-dev
10+
// UNSUPPORTED: accelerator
1311

1412
// RUN: %{build} -o %t.out
1513
// RUN: %{run} %t.out

sycl/test-e2e/KernelCompiler/multi_device.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// REQUIRES: (opencl || level_zero)
2+
// UNSUPPORTED: accelerator
3+
24
// RUN: %{build} -o %t.out
35
// RUN: env NEOReadDebugKeys=1 CreateMultipleRootDevices=3 %{run} %t.out
46

0 commit comments

Comments
 (0)