Skip to content

Commit 8552343

Browse files
authored
[SYCL][E2E] Update is_compatible tests (#17809)
Update REQUIRES
1 parent 51ec5c1 commit 8552343

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

sycl/test-e2e/E2EExpr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ class E2EExpr(BooleanExpression):
3030
"xptifw",
3131
"level_zero_dev_kit",
3232
"cuda_dev_kit",
33+
"hip_dev_kit",
3334
"zstd",
3435
"vulkan",
3536
"true",

sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_amdgcn.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// REQUIRES: hip_dev_kit
2+
13
// UNSUPPORTED: windows
24
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17515
3-
// There are no ROCm libs on win machines, so the compilation fails.
5+
// ROCm libraries are not installed correctly.
46

57
// RUN: %clangxx -fsycl -fsycl-targets=amdgcn-amd-amdhsa -Xsycl-target-backend=amdgcn-amd-amdhsa --offload-arch=gfx1030 %S/Inputs/is_compatible_with_env.cpp -o %t.out
68

sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_nvptx64.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
// REQUIRES: cuda_dev_kit
2+
13
// UNSUPPORTED: windows
24
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17515
3-
// There are no CUDA libs on win machines, so the compilation fails.
5+
// CUDA libs are not installed correctly.
46

57
// RUN: %clangxx -fsycl -fsycl-targets=nvptx64-nvidia-cuda %S/Inputs/is_compatible_with_env.cpp -o %t.out
68

sycl/test-e2e/OptionalKernelFeatures/is_compatible/is_compatible_spir64_x86_64.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// REQUIRES: opencl-aot
2-
3-
// UNSUPPORTED: windows
4-
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17515
5-
// There is no CPU device on win yet, so opencl-aot fails to compile the kernel.
1+
// REQUIRES: opencl-aot, any-device-is-cpu
62

73
// RUN: %{run-aux} %clangxx -fsycl -fsycl-targets=spir64_x86_64 %S/Inputs/is_compatible_with_env.cpp -o %t.out
84

0 commit comments

Comments
 (0)