Skip to content

Commit

Permalink
[SYCL] minor changes to kernel_compiler tests. (#15320)
Browse files Browse the repository at this point in the history
minor changes to ensure tests are and are not run on appropriate devices
  • Loading branch information
cperkinsintel authored Sep 9, 2024
1 parent c49ef6b commit e7935c6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions sycl/test-e2e/KernelCompiler/kernel_compiler_opencl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@
//===----------------------------------------------------------------------===//

// REQUIRES: (opencl || level_zero)
// UNSUPPORTED: accelerator

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

// the new spec for the kernel_compiler opens the door to supporting several
// different source languages. But, initially, OpenCL Kernels are the only ones
// supported. This test is limited to that (thus the cm-compiler requirement)
// but in the future it may need to broken out into other tests.

#include <sycl/detail/core.hpp>

auto constexpr CLSource = R"===(
Expand Down
4 changes: 1 addition & 3 deletions sycl/test-e2e/KernelCompiler/kernel_compiler_sycl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
//===----------------------------------------------------------------------===//

// REQUIRES: (opencl || level_zero)

// https://github.com/intel/llvm/issues/14826
// XFAIL: arch-intel_gpu_pvc && igc-dev
// UNSUPPORTED: accelerator

// RUN: %{build} -o %t.out
// RUN: %{run} %t.out
Expand Down
2 changes: 2 additions & 0 deletions sycl/test-e2e/KernelCompiler/multi_device.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// REQUIRES: (opencl || level_zero)
// UNSUPPORTED: accelerator

// RUN: %{build} -o %t.out
// RUN: env NEOReadDebugKeys=1 CreateMultipleRootDevices=3 %{run} %t.out

Expand Down

0 comments on commit e7935c6

Please sign in to comment.