Skip to content

Commit 2054243

Browse files
authored
[CI] Add Windows BMG testing in precommit (#17105)
We got a Windows BMG machine, so add Windows BMG testing. There are two categories of failures here: consistent failures/timeouts and really slow tests causing CI to take 30min extra. I disabled both of these and made two GH issues: [one](#17165), [two](#17255). --------- Signed-off-by: Sarnie, Nick <[email protected]>
1 parent 8c5dbbd commit 2054243

File tree

11 files changed

+38
-2
lines changed

11 files changed

+38
-2
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,16 @@ jobs:
5050
always()
5151
&& !cancelled()
5252
&& needs.build.outputs.build_conclusion == 'success'
53+
strategy:
54+
fail-fast: false
55+
matrix:
56+
include:
57+
- name: Intel GEN12 Graphics with Level Zero
58+
runner: '["Windows","gen12"]'
59+
- name: Intel Battlemage Graphics with Level Zero
60+
runner: '["Windows","bmg"]'
5361
uses: ./.github/workflows/sycl-windows-run-tests.yml
5462
with:
55-
name: Intel GEN12 Graphics with Level Zero
56-
runner: '["Windows","gen12"]'
63+
name: ${{ matrix.name }}
64+
runner: ${{ matrix.runner }}
5765
sycl_toolchain_archive: ${{ needs.build.outputs.artifact_archive_name }}

sycl/test-e2e/Adapters/level_zero_eager_init.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// UNSUPPORTED-INTENDED: ze_debug UR emits summary of leaks that contains
44
// function names that we match in the test.
55

6+
// XFAIL: windows && arch-intel_gpu_bmg_g21
7+
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/17165
8+
69
// RUN: %{build} -Wno-error=deprecated-declarations %level_zero_options -o %t.out
710
// RUN: env UR_L0_DEBUG=1 SYCL_EAGER_INIT=1 %{run} %t.out 2>&1 | FileCheck %s
811
//

sycl/test-e2e/Adapters/level_zero_events_caching.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// REQUIRES: gpu, level_zero
22

3+
// UNSUPPORTED: windows && arch-intel_gpu_bmg_g21
4+
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17255
5+
36
// RUN: %{build} -o %t.out
47

58
// RUN: %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck --check-prefixes=CACHING-ENABLED %s

sycl/test-e2e/DeviceLib/std_complex_math_fp64_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// REQUIRES: aspect-fp64
22
// UNSUPPORTED: target-amd || target-nvidia
3+
// XFAIL: windows && arch-intel_gpu_bmg_g21
4+
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/17165
35
// RUN: %{build} -o %t1.out
46
// RUN: %{run} %t1.out
57

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
config.required_features += ['aspect-ext_oneapi_limited_graph']
2+
3+
# https://github.com/intel/llvm/issues/17165
4+
if 'windows' in config.available_features:
5+
config.unsupported_features += ['arch-intel_gpu_bmg_g21']
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
config.required_features += ['aspect-ext_oneapi_graph']
2+
3+
# https://github.com/intel/llvm/issues/17165
4+
if 'windows' in config.available_features:
5+
config.unsupported_features += ['arch-intel_gpu_bmg_g21']

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

Whitespace-only changes.

sycl/test-e2e/KernelCompiler/kernel_compiler_sycl_jit.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// UNSUPPORTED: accelerator
1313
// UNSUPPORTED-INTENDED: while accelerator is AoT only, this cannot run there.
1414

15+
// UNSUPPORTED: windows && arch-intel_gpu_bmg_g21
16+
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17255
17+
1518
// RUN: %{build} -o %t.out
1619
// RUN: %{run} %t.out 1
1720
// RUN: %{l0_leak_check} %{run} %t.out 1

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# drivers version, so we temporarily mark it as unsupported (CMPLRLLVM-64705).
44
config.unsupported_features += ['spirv-backend']
55

6+
# https://github.com/intel/llvm/issues/17165
7+
if 'windows' in config.available_features:
8+
config.unsupported_features += ['arch-intel_gpu_bmg_g21']
9+
610
config.substitutions.append(("%helper-includes", "-I {}/Inputs".format(os.path.dirname(os.path.abspath(__file__)))))
711
original_clangxx=""
812
for substitution in config.substitutions:

sycl/test-e2e/Regression/static-buffer-dtor.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
// Windows doesn't yet have full shutdown().
1919
// UNSUPPORTED: ze_debug && windows
2020

21+
// UNSUPPORTED: windows && arch-intel_gpu_bmg_g21
22+
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17255
23+
2124
#include <sycl/detail/core.hpp>
2225

2326
int main() {

sycl/test-e2e/WorkGroupMemory/basic_usage.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// UNSUPPORTED: windows && arch-intel_gpu_bmg_g21
2+
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17255
13
// RUN: %{build} -o %t.out
24
// RUN: %{run} %t.out
35
#include <cassert>

0 commit comments

Comments
 (0)