Skip to content

Commit aed8b0b

Browse files
authored
[SYCL][E2E] Update some incompatible requirements (#18007)
These test are never launched due to the REQUIRES set.
1 parent 4ef071d commit aed8b0b

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

sycl/test-e2e/AOT/multiple-devices.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: opencl-aot, ocloc, cpu, gpu, target-spir, opencl-cpu-rt
9+
// REQUIRES: opencl-aot, ocloc, any-device-is-cpu, any-device-is-gpu, target-spir, opencl-cpu-rt
1010

1111
// Produce a fat object for all targets (generic SPIR-V, CPU, GPU)
1212
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64,spir64_gen %S/Inputs/aot.cpp -c -o %t.o
1313

1414
// CPU, GPU
15-
// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_cpu_gpu.out
16-
// RUN: %if gpu || cpu %{ %{run} %t_cpu_gpu.out %}
15+
// RUN: %{run-aux} %clangxx -fsycl -fsycl-targets=spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_cpu_gpu.out
16+
// RUN: %{run} %t_cpu_gpu.out
1717

1818
// No AOT-compiled image for CPU
1919
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_spv_gpu.out
2020
// Check that execution on AOT-compatible devices is unaffected
21-
// RUN: %{run} %t_spv_gpu.out
21+
// RUN: env ONEAPI_DEVICE_SELECTOR="*:gpu" %{run-unfiltered-devices} %t_spv_gpu.out
2222

2323
// No AOT-compiled image for GPU
24-
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64 %t.o -o %t_spv_cpu.out
24+
// RUN: %{run-aux} %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64 %t.o -o %t_spv_cpu.out
2525
// Check that execution on AOT-compatible devices is unaffected
26-
// RUN: %{run} %t_spv_cpu.out
26+
// RUN: env ONEAPI_DEVICE_SELECTOR="*:cpu" %{run-unfiltered-devices} %t_spv_cpu.out
2727

2828
// No AOT-compiled image for FPGA
29-
// RUN: %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_spv_cpu_gpu.out
29+
// RUN: %{run-aux} %clangxx -fsycl -fsycl-targets=spir64,spir64_x86_64,spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %t.o -o %t_spv_cpu_gpu.out
3030
// Check that execution on AOT-compatible devices is unaffected
3131
// RUN: %{run} %t_spv_cpu_gpu.out

sycl/test-e2e/AddressSanitizer/invalid-argument/bad-context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// REQUIRES: linux, cpu && (gpu && level_zero)
1+
// REQUIRES: linux, cpu, any-device-is-level_zero
22
// RUN: %{build} %device_asan_flags -DMALLOC_DEVICE -O2 -g -o %t
3-
// RUN: env UR_LAYER_ASAN_OPTIONS="detect_kernel_arguments:1" %{run} not %t 2>&1 | FileCheck --check-prefixes CHECK,CHECK-DEVICE %s
3+
// RUN: env UR_LAYER_ASAN_OPTIONS="detect_kernel_arguments:1" %{run-unfiltered-devices} not %t 2>&1 | FileCheck --check-prefixes CHECK,CHECK-DEVICE %s
44

55
#include <sycl/detail/core.hpp>
66

sycl/test-e2e/USM/multictxt.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
// RUN: %{build} -o %t1.out
2-
// RUN: %{run-unfiltered-devices} %t1.out
1+
// RUN: %{build} -o %t.out
2+
// RUN: %{run-unfiltered-devices} %t.out
33

4-
// REQUIRES: cpu, gpu
4+
// REQUIRES: cpu, any-device-is-gpu
55

66
//==----------------- multictxt.cpp - Multi Context USM test ---------------==//
77
//

0 commit comments

Comments
 (0)