Skip to content

Commit 2479139

Browse files
author
Colin Davidson
committed
[E2E][NATIVE_CPU] Add definitely unsupported tags for native_cpu e2e tests
1 parent 3274ca1 commit 2479139

19 files changed

+29
-22
lines changed

sycl/test-e2e/Adapters/enqueue-arg-order-image.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// REQUIRES: aspect-ext_intel_legacy_image
2-
// UNSUPPORTED: target-amd
2+
// UNSUPPORTED: target-amd || target-native_cpu
33
// UNSUPPORTED-INTENDED: Legacy images aren't supported on AMD, but also fail
44
// to compile. Bindless images should be used instead.
55

sycl/test-e2e/AddressSanitizer/lit.local.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ config.unsupported_features += ['spirv-backend']
2121
# https://github.com/intel/llvm/issues/16920
2222
config.unsupported_features += ['arch-intel_gpu_bmg_g21']
2323

24+
# AddressSanitizer currently not supported for Native CPU
25+
config.unsupported_features += ['target-native_cpu']
2426
unsupported_san_flags = [
2527
# "-fsanitize=address",
2628
"-fsanitize=memory",

sycl/test-e2e/Assert/check_resource_leak.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// RUN: %{build} -Wno-error=#warnings -o %t.out
22
// RUN: %{run} %t.out
33

4-
// Device globals aren't supported on opencl:gpu yet.
5-
// UNSUPPORTED: opencl && gpu
4+
// Device globals aren't supported on opencl:gpu or Native CPU yet.
5+
// UNSUPPORTED: (opencl && gpu) || target-native_cpu
66

77
// TODO: Fails at JIT compilation for some reason.
88
// UNSUPPORTED: hip
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# BFloat16 is not supported on Native CPU
2+
config.unsupported_features += ['target-native_cpu']

sycl/test-e2e/Basic/image/lit.local.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
# https://github.com/KhronosGroup/SPIRV-Headers/issues/487
44
# After the issue is resolved we will re-enable Image support.
55
#
6-
# Legacy images aren't supported on AMD and also don't compile, so mark them
6+
# Legacy images aren't supported on AMD and Native CPU and also don't compile, so mark them
77
# unsupported here. Bindless images should be used instead.
8-
config.unsupported_features += ['spirv-backend', 'target-amd']
8+
config.unsupported_features += ['spirv-backend', 'target-amd', 'target-native_cpu']

sycl/test-e2e/DeviceGlobal/device_global_arrow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33
//
4-
// UNSUPPORTED: opencl && gpu
4+
// UNSUPPORTED: (opencl && gpu) || target-native_cpu
55
// UNSUPPORTED-TRACKER: GSD-4287
66
//
77
// Tests operator-> on device_global.

sycl/test-e2e/DeviceGlobal/device_global_arrow_dis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{build} -fsycl-device-code-split=per_source -DUSE_DEVICE_IMAGE_SCOPE -o %t.out
22
// RUN: %{run} %t.out
33
//
4-
// UNSUPPORTED: opencl && gpu
4+
// UNSUPPORTED: (opencl && gpu) || target-native_cpu
55
// UNSUPPORTED-TRACKER: GSD-4287
66
//
77
// Tests operator-> on device_global with device_image_scope.

sycl/test-e2e/DeviceGlobal/device_global_copy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// RUN: %{build} %{cpp23} -o %t.out
44
// RUN: %{run} %t.out
55
//
6-
// UNSUPPORTED: opencl && gpu
6+
// UNSUPPORTED: (opencl && gpu) || target-native_cpu
77
// UNSUPPORTED-TRACKER: GSD-4287
88
//
99
// Tests the copy ctor on device_global without device_image_scope.

sycl/test-e2e/DeviceGlobal/device_global_device_only.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{build} -o %t.out
22
// RUN: %{run} %t.out
33
//
4-
// UNSUPPORTED: opencl && gpu
4+
// UNSUPPORTED: (opencl && gpu) || target-native_cpu
55
// UNSUPPORTED-TRACKER: GSD-4287
66
//
77
// Tests basic device_global access through device kernels.

sycl/test-e2e/DeviceGlobal/device_global_device_only_dis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %{build} -fsycl-device-code-split=per_source -DUSE_DEVICE_IMAGE_SCOPE -o %t.out
22
// RUN: %{run} %t.out
33
//
4-
// UNSUPPORTED: opencl && gpu
4+
// UNSUPPORTED: (opencl && gpu) || target-native_cpu
55
// UNSUPPORTED-TRACKER: GSD-4287
66
//
77
// Tests basic device_global with device_image_scope access through device

0 commit comments

Comments
 (0)