Skip to content

Commit 68cb6d2

Browse files
author
Colin Davidson
committed
[SYCL][E2E][NATIVE_CPU] Add Native CPU e2e PR testing
The Native CPU work is being passed onto a team in Intel now that all of Native CPU is independent of the oneAPI Construction Kit. Native CPU does not pass all of E2E testing, either through bugs or unimplemented functionality. All are currently being marked as UNSUPPORTED until these failures are processed and tracked by the new team. This also adds a separate job for E2E build and run for Native CPU, as it cannot be added to the prebuilt due to build fails.
1 parent 3274ca1 commit 68cb6d2

File tree

54 files changed

+354
-218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+354
-218
lines changed

.github/workflows/sycl-linux-precommit.yml

Lines changed: 215 additions & 179 deletions
Large diffs are not rendered by default.

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Currently mark Native CPU as unsupported, does not compile and should be investigated and tracked post team transfer
2+
config.unsupported_features += ['target-native_cpu']

sycl/test-e2e/Adapters/queue_submit_mode.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// REQUIRES: gpu, level_zero
22
// UNSUPPORTED: level_zero_v2_adapter
33
// UNSUPPORTED-INTENDED: v2 adapter does support regular cmd lists
4+
// UNSUPPORTED: target-native_cpu
5+
// UNSUPPORTED-INTENDED: Currently mark Native CPU as unsupported, should be
6+
// investigated and tracked post team transfer
47
// RUN: %{build} %level_zero_options -o %t.out
58
// RUN: env %{l0_leak_check} SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %{run} %t.out 0 2>&1 | FileCheck %s --check-prefixes=CHECK-STD
69
// RUN: env %{l0_leak_check} SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{run} %t.out 1 2>&1 | FileCheck %s --check-prefixes=CHECK-IMM

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/built-ins/marray_math.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// UNSUPPORTED: target-native_cpu
2+
// UNSUPPORTED-INTENDED: Currently mark Native CPU as unsupported, should be
3+
// investigated and tracked post team transfer
4+
15
// DEFINE: %{mathflags} = %if cl_options %{/clang:-fno-fast-math%} %else %{-fno-fast-math%}
26

37
// RUN: %{build} %{mathflags} -o %t.out

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/Basic/vector/load_store.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// UNSUPPORTED: target-native_cpu
2+
// UNSUPPORTED-INTENDED: Currently mark Native CPU as unsupported, should be
3+
// investigated and tracked post team transfer
4+
15
// RUN: %{build} -o %t.out
26
// RUN: %{run} %t.out
37

0 commit comments

Comments
 (0)