Skip to content

Commit 43b7670

Browse files
authored
[SYCL][E2E] Update test requirements (#17293)
1 parent b3c8987 commit 43b7670

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
// on opencl & level-zero backends
33
// (because only SPIR-V supports specialization constants natively)
44

5-
// FIXME: This set is never satisfied all at once in our infrastructure.
6-
// REQUIRES: opencl, level-zero, cpu, gpu, opencl-aot, ocloc
7-
// XFAIL: *
8-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/17107
5+
// REQUIRES: opencl-aot, ocloc, target-spir
96

10-
// RUN: %clangxx -fsycl -DJIT %s -o %t.out
11-
// RUN: %{run} %t.out
7+
// RUN: %{build} -DJIT -o %t1.out
8+
// RUN: %{run} %t1.out
129

13-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %s -o %t.out
14-
// RUN: %{run} %t.out
10+
// RUN: %if any-device-is-gpu %{ %{run-aux} %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %s -o %t2.out %}
11+
// RUN: %if gpu %{ %{run} %t2.out %}
1512

16-
#include <sycl/detail/core.hpp>
13+
// RUN: %if any-device-is-cpu %{ %{run-aux} %clangxx -fsycl -fsycl-targets=spir64_x86_64 %s -o %t3.out %}
14+
// RUN: %if cpu %{ %{run} %t3.out %}
1715

16+
#include <sycl/detail/core.hpp>
17+
#include <sycl/kernel_bundle.hpp>
1818
#include <sycl/specialization_id.hpp>
1919

2020
constexpr sycl::specialization_id<float> float_id(3.14f);

0 commit comments

Comments
 (0)