From eae183059eaecdfadca13740310bc14c5a6cd2a2 Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Thu, 30 Jan 2025 13:49:58 +0100 Subject: [PATCH 1/4] [SYCL][E2E] Refactor is_compatible tests Due to too demanding REQUIRES most of these tests are ton launched at all. Refactored some & reduced the number of requirements. --- .../is_compatible/is_compatible_amdgcn.cpp | 3 +-- .../is_compatible/is_compatible_nvptx64.cpp | 3 +-- .../is_compatible/is_compatible_nvptx64_on_cuda.cpp | 7 +++++++ .../is_compatible/is_compatible_several_targets.cpp | 2 +- .../is_compatible/is_compatible_spir64.cpp | 3 +-- .../is_compatible/is_compatible_spir64_gen.cpp | 2 +- .../is_compatible/is_compatible_spir64_x86_64.cpp | 2 +- .../is_compatible/is_compatible_with_aspects.cpp | 2 +- .../e2e_test_requirements/no-unsupported-without-info.cpp | 3 +-- 9 files changed, 15 insertions(+), 12 deletions(-) create mode 100644 sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp index caf53df00e1d4..8fd2b46103e7a 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp @@ -1,7 +1,6 @@ -// REQUIRES: hip, opencl, gpu, cpu +// REQUIRES: hip, opencl // RUN: %clangxx -fsycl -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx906 -fsycl-targets=amdgcn-amd-amdhsa %S/Inputs/is_compatible_with_env.cpp -o %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=hip:gpu %{run} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run} not %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp index ccfa829293c3f..3bce4c47d0093 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp @@ -1,7 +1,6 @@ -// REQUIRES: cuda, opencl, gpu, cpu +// REQUIRES: opencl, gpu, cpu // RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run} not %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp new file mode 100644 index 0000000000000..e318b3e5b6f97 --- /dev/null +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp @@ -0,0 +1,7 @@ +// REQUIRES: cuda + +// RUN: %clangxx -fsycl -fsycl-targets=spir64 %S/../Inputs/is_compatible_with_env.cpp -o %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} not %t.out + +// RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/../Inputs/is_compatible_with_env.cpp -o %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp index eb7f4b0056162..a595385e58a51 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp @@ -1,4 +1,4 @@ -// REQUIRES: ocloc, any-device-is-level_zero, any-device-is-gpu, any-device-is-cpu +// REQUIRES: ocloc, level_zero // RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device *" %S/Inputs/is_compatible_with_env.cpp -o %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp index 465a79056906a..1e45c6865d136 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp @@ -1,7 +1,6 @@ -// REQUIRES: cuda, opencl, gpu, cpu +// REQUIRES: opencl, gpu, cpu // RUN: %clangxx -fsycl -fsycl-targets=spir64 %S/Inputs/is_compatible_with_env.cpp -o %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp index 5adb27e0ae697..a4b33f61ed481 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp @@ -1,4 +1,4 @@ -// REQUIRES: ocloc, gpu, level_zero, cpu +// REQUIRES: ocloc, level_zero // RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend "-device *" %S/Inputs/is_compatible_with_env.cpp -o %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp index 0a6f2c39df8af..3de9bebab6369 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp @@ -1,4 +1,4 @@ -// REQUIRES: opencl-aot, cpu, gpu, level_zero +// REQUIRES: opencl-aot, level_zero // RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/is_compatible_with_env.cpp -o %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp index 1afdf9975cf99..052101146e57a 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp @@ -1,6 +1,6 @@ // requires: cpu, gpu, accelerator // UNSUPPORTED: hip -// FIXME: enable the test back, see intel/llvm#8146 +// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/8146 // RUN: %{build} -Wno-error=incorrect-sub-group-size %O0 -o %t.out // RUN: %{run} %t.out diff --git a/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp b/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp index f95323d179fb0..c2f5e2c1cc6c6 100644 --- a/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp +++ b/sycl/test/e2e_test_requirements/no-unsupported-without-info.cpp @@ -54,7 +54,7 @@ // tests to match the required format and in that case you should just update // (i.e. reduce) the number and the list below. // -// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 375 +// NUMBER-OF-UNSUPPORTED-WITHOUT-INFO: 374 // // List of improperly UNSUPPORTED tests. // Remove the CHECK once the test has been properly UNSUPPORTED. @@ -296,7 +296,6 @@ // CHECK-NEXT: NonUniformGroups/opportunistic_group.cpp // CHECK-NEXT: NonUniformGroups/tangle_group.cpp // CHECK-NEXT: NonUniformGroups/tangle_group_algorithms.cpp -// CHECK-NEXT: OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp // CHECK-NEXT: OptionalKernelFeatures/large-reqd-work-group-size.cpp // CHECK-NEXT: OptionalKernelFeatures/no-fp64-optimization-declared-aspects.cpp // CHECK-NEXT: Printf/char.cpp From 4590390c971170834886483206f579389766e6fe Mon Sep 17 00:00:00 2001 From: KornevNikita Date: Fri, 31 Jan 2025 04:02:58 -0800 Subject: [PATCH 2/4] fix path --- .../is_compatible/is_compatible_nvptx64_on_cuda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp index e318b3e5b6f97..ce39c7653670e 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp @@ -1,7 +1,7 @@ // REQUIRES: cuda -// RUN: %clangxx -fsycl -fsycl-targets=spir64 %S/../Inputs/is_compatible_with_env.cpp -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=spir64 %S/Inputs/is_compatible_with_env.cpp -o %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} not %t.out -// RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/../Inputs/is_compatible_with_env.cpp -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/Inputs/is_compatible_with_env.cpp -o %t.out // RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} %t.out From 84d4e9492b0a8eb1256ad78fba37e9b476feeabe Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Mon, 3 Feb 2025 17:10:58 +0100 Subject: [PATCH 3/4] update requires --- .../is_compatible/is_compatible_amdgcn.cpp | 6 +++--- .../is_compatible/is_compatible_nvptx64.cpp | 6 +++--- .../is_compatible/is_compatible_nvptx64_on_cuda.cpp | 4 ++-- .../is_compatible/is_compatible_several_targets.cpp | 2 +- .../is_compatible/is_compatible_spir64.cpp | 2 +- .../is_compatible/is_compatible_spir64_fpga.cpp | 8 ++++---- .../is_compatible/is_compatible_spir64_gen.cpp | 10 +++++----- .../is_compatible/is_compatible_spir64_x86_64.cpp | 8 ++++---- .../is_compatible/is_compatible_with_aspects.cpp | 1 - 9 files changed, 23 insertions(+), 24 deletions(-) diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp index 8fd2b46103e7a..1188b874494fa 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp @@ -1,6 +1,6 @@ -// REQUIRES: hip, opencl +// REQUIRES: hip, any-device-is-cpu // RUN: %clangxx -fsycl -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx906 -fsycl-targets=amdgcn-amd-amdhsa %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=hip:gpu %{run} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=hip:gpu %{run-unfiltered-devices} %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp index 3bce4c47d0093..499f62e542b69 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp @@ -1,6 +1,6 @@ -// REQUIRES: opencl, gpu, cpu +// REQUIRES: opencl, any-device-is-gpu, any-device-is-cpu // RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run} not %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run-unfiltered-devices} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp index ce39c7653670e..4ad23c5b71bad 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64_on_cuda.cpp @@ -1,7 +1,7 @@ // REQUIRES: cuda // RUN: %clangxx -fsycl -fsycl-targets=spir64 %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} not %t.out +// RUN: %{run} not %t.out // RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=cuda:gpu %{run} %t.out +// RUN: %{run} %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp index a595385e58a51..eb7f4b0056162 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_several_targets.cpp @@ -1,4 +1,4 @@ -// REQUIRES: ocloc, level_zero +// REQUIRES: ocloc, any-device-is-level_zero, any-device-is-gpu, any-device-is-cpu // RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen "-device *" %S/Inputs/is_compatible_with_env.cpp -o %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp index 1e45c6865d136..f5f68f15ab38e 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64.cpp @@ -1,4 +1,4 @@ -// REQUIRES: opencl, gpu, cpu +// REQUIRES: opencl, any-device-is-gpu, any-device-is-cpu // RUN: %clangxx -fsycl -fsycl-targets=spir64 %S/Inputs/is_compatible_with_env.cpp -o %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp index 57366482e7082..24b2e26f65b39 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp @@ -1,7 +1,7 @@ -// REQUIRES: opencl-aot, accelerator, gpu, cpu +// REQUIRES: opencl-aot, any-device-is-gpu, any-device-is-cpu // RUN: %clangxx -fsycl -fsycl-targets=spir64_fpga %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:fpga %{run} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=*:gpu %{run} not %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:fpga %{run-unfiltered-devices} %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=*:gpu %{run-unfiltered-devices} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp index a4b33f61ed481..e8b5bb4e93e62 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp @@ -1,7 +1,7 @@ -// REQUIRES: ocloc, level_zero +// REQUIRES: ocloc, any-device-is-cpu, level_zero -// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend "-device *" %S/Inputs/is_compatible_with_env.cpp -o %t.out +// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu %{run} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run-unfiltered-devices} %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu %{run-unfiltered-devices} %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp index 3de9bebab6369..d6298c784d7a3 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp @@ -1,7 +1,7 @@ -// REQUIRES: opencl-aot, level_zero +// REQUIRES: opencl-aot, any-device-is-cpu, level_zero // RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/is_compatible_with_env.cpp -o %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run} not %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu %{run} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:gpu %{run-unfiltered-devices} not %t.out +// RUN: env ONEAPI_DEVICE_SELECTOR=level_zero:gpu %{run-unfiltered-devices} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp index 052101146e57a..de7a94f777e9d 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_with_aspects.cpp @@ -1,4 +1,3 @@ -// requires: cpu, gpu, accelerator // UNSUPPORTED: hip // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/8146 // RUN: %{build} -Wno-error=incorrect-sub-group-size %O0 -o %t.out From 79c0975475e08091fbfd86a5b466fb82b5633754 Mon Sep 17 00:00:00 2001 From: "Kornev, Nikita" Date: Tue, 11 Feb 2025 13:37:50 +0100 Subject: [PATCH 4/4] update tests --- .../is_compatible/is_compatible_spir64_fpga.cpp | 7 ------- .../is_compatible/is_compatible_spir64_gen.cpp | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp deleted file mode 100644 index 24b2e26f65b39..0000000000000 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_fpga.cpp +++ /dev/null @@ -1,7 +0,0 @@ -// REQUIRES: opencl-aot, any-device-is-gpu, any-device-is-cpu - -// RUN: %clangxx -fsycl -fsycl-targets=spir64_fpga %S/Inputs/is_compatible_with_env.cpp -o %t.out - -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:fpga %{run-unfiltered-devices} %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=*:gpu %{run-unfiltered-devices} not %t.out -// RUN: env ONEAPI_DEVICE_SELECTOR=opencl:cpu %{run-unfiltered-devices} not %t.out diff --git a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp index e8b5bb4e93e62..885f89059b54d 100644 --- a/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp +++ b/sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_gen.cpp @@ -1,4 +1,4 @@ -// REQUIRES: ocloc, any-device-is-cpu, level_zero +// REQUIRES: ocloc, any-device-is-cpu, any-device-is-level_zero // RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts %S/Inputs/is_compatible_with_env.cpp -o %t.out