Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .github/workflows/sycl-linux-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ on:
e2e_binaries_preview_artifact:
type: string
required: false
e2e_binaries_new_offload_model_artifact:
type: string
required: false

outputs:
build_conclusion:
Expand Down Expand Up @@ -338,21 +335,6 @@ jobs:
sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++
extra_lit_opts: --param sycl_build_targets="spir;nvidia;amd"

- name: Build E2E tests with NewOffloadModel
if: |
inputs.e2e_binaries_new_offload_model_artifact &&
!cancelled()
&& steps.build.conclusion == 'success' &&
contains(github.event.pull_request.labels.*.name, 'new-offload-model')
uses: ./devops/actions/run-tests/e2e
with:
ref: ${{ inputs.ref || github.sha }}
testing_mode: build-only
target_devices: all
binaries_artifact: ${{ inputs.e2e_binaries_new_offload_model_artifact }}
sycl_compiler: $GITHUB_WORKSPACE/toolchain/bin/clang++
extra_lit_opts: --param sycl_build_targets="spir;nvidia;amd" --param enable_new_offload_model=True

- name: Build E2E tests with SPIR-V Backend
if: ${{ inputs.e2e_binaries_spirv_backend_artifact && !cancelled() && steps.build.conclusion == 'success' }}
uses: ./devops/actions/run-tests/e2e
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/sycl-linux-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ jobs:
toolchain_artifact: sycl_linux_default
e2e_binaries_artifact: e2e_bin
e2e_binaries_preview_artifact: e2e_bin_preview
e2e_binaries_new_offload_model_artifact: e2e_bin_new_offload_model

# Build and run native cpu e2e tests separately as cannot currently
# build all the e2e tests
Expand Down Expand Up @@ -237,57 +236,6 @@ jobs:
skip_run: ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || matrix.skip_run || 'false'}}
env: ${{ matrix.env || (contains(needs.detect_changes.outputs.filters, 'esimd') && '{}' || '{"LIT_FILTER_OUT":"ESIMD/"}') }}

E2E-with-new-offload-model:
needs: [build, detect_changes, compat_read_exclude]
if: |
!cancelled() &&
needs.build.outputs.build_conclusion == 'success' &&
contains(github.event.pull_request.labels.*.name, 'new-offload-model')
permissions:
contents: write
packages: read
strategy:
fail-fast: false
matrix:
include:
- name: Intel / GEN 12 Integrated
runner: '["Linux", "gen12"]'
target_devices: opencl:cpu;opencl:gpu
- name: Intel / Arc A-Series Graphics
runner: '["Linux", "arc"]'
target_devices: level_zero:gpu
- name: Intel / Ponte Vecchio GPU
runner: '["Linux", "pvc"]'
target_devices: level_zero:gpu
- name: Intel / Battlemage Graphics
runner: '["Linux", "bmg"]'
target_devices: level_zero_v2:gpu
- name: NVIDIA/CUDA
runner: '["Linux", "cuda"]'
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
target_devices: cuda:gpu
- name: AMD/HIP
runner: '["Linux", "amdgpu"]'
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd
target_devices: hip:gpu
extra_lit_opts: -j 1

uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }} with NewOffloadModel
runner: ${{ matrix.runner }}
image: ${{ matrix.image }}
image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }}
target_devices: ${{ matrix.target_devices }}
extra_lit_opts: ${{ matrix.extra_lit_opts }} --param enable_new_offload_model=True
repo_ref: ${{ github.sha }}
toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
binaries_artifact: 'e2e_bin_new_offload_model'
testing_mode: 'run-only'


test-perf:
needs: [build, detect_changes]
permissions:
Expand Down
13 changes: 2 additions & 11 deletions .github/workflows/sycl-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ jobs:
toolchain_artifact_filename: sycl_linux_libcxx.tar.zst

ubuntu2204_test:
name: ubuntu2204_test
needs: [ubuntu2204_build]
permissions:
contents: write
Expand All @@ -101,7 +100,6 @@ jobs:
strategy:
fail-fast: false
matrix:
enable_new_offload_model: ['False', 'True']
include:
- name: AMD/HIP
runner: '["Linux", "amdgpu"]'
Expand All @@ -113,7 +111,6 @@ jobs:
image_options: -u 1001 --device=/dev/dri --device=/dev/kfd
target_devices: hip:gpu
extra_lit_opts: --param test-preview-mode=True
enable_new_offload_model: 'False'

- name: NVIDIA/CUDA
runner: '["Linux", "cuda"]'
Expand All @@ -125,7 +122,6 @@ jobs:
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN
target_devices: cuda:gpu
extra_lit_opts: --param test-preview-mode=True
enable_new_offload_model: 'False'

- name: Intel L0 Gen12 GPU
runner: '["Linux", "gen12"]'
Expand All @@ -143,7 +139,6 @@ jobs:
runner: '["Linux", "bmg"]'
target_devices: level_zero:gpu
extra_lit_opts: --param test-preview-mode=True
enable_new_offload_model: 'False'

- name: Intel L0 Arc A-Series GPU
runner: '["Linux", "arc"]'
Expand Down Expand Up @@ -172,16 +167,15 @@ jobs:
runner: '["Linux", "pvc"]'
target_devices: level_zero:gpu
extra_lit_opts: --param test-preview-mode=True
enable_new_offload_model: 'False'

uses: ./.github/workflows/sycl-linux-run-tests.yml
with:
name: ${{ matrix.name }} with ${{ matrix.enable_new_offload_model == 'True' && 'New Offload Model' || 'Old Offload Model' }}
name: ${{ matrix.name }}
runner: ${{ matrix.runner }}
image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }}
target_devices: ${{ matrix.target_devices }}
tests_selector: e2e
extra_lit_opts: "--param 'cxx_flags=-D_GLIBCXX_USE_CXX11_ABI=0' ${{ matrix.extra_lit_opts }} --param enable_new_offload_model=${{ matrix.enable_new_offload_model }}"
extra_lit_opts: "--param 'cxx_flags=-D_GLIBCXX_USE_CXX11_ABI=0' ${{ matrix.extra_lit_opts }}"
repo_ref: ${{ github.sha }}
toolchain_artifact: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact }}
toolchain_artifact_filename: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact_filename }}
Expand Down Expand Up @@ -220,15 +214,13 @@ jobs:

e2e-win:
needs: build-win
name: E2E win with ${{ matrix.enable_new_offload_model == 'True' && 'New Offload Model' || 'Old Offload Model' }}
# Continue if build was successful.
if: |
!cancelled()
&& needs.build-win.outputs.build_conclusion == 'success'
strategy:
fail-fast: false
matrix:
enable_new_offload_model: ['False', 'True']
include:
- name: Intel Gen12 GPU
runner: '["Windows", "gen12"]'
Expand All @@ -245,7 +237,6 @@ jobs:
runner: ${{ matrix.runner }}
target_devices: level_zero:gpu
toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }}
extra_lit_opts: --param enable_new_offload_model=${{ matrix.enable_new_offload_model }}

cuda-aws-start:
needs: [ubuntu2204_build]
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/sycl-windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ on:
type: string
required: false

e2e_binaries_new_offload_model_artifact:
type: string
required: false

outputs:
build_conclusion:
value: ${{ jobs.build.outputs.build_conclusion }}
Expand Down Expand Up @@ -255,21 +251,6 @@ jobs:
extra_lit_opts: --param sycl_build_targets="spir"
cxx: ${{ inputs.cxx }}

- name: Build E2E tests with New Offload Model
if: |
inputs.e2e_binaries_artifact &&
!cancelled() &&
steps.build.conclusion == 'success' &&
contains(github.event.pull_request.labels.*.name, 'new-offload-model')
uses: ./devops/actions/run-tests/windows/e2e
with:
ref: ${{ inputs.ref || github.sha }}
testing_mode: build-only
target_devices: all
binaries_artifact: ${{ inputs.e2e_binaries_new_offload_model_artifact }}
extra_lit_opts: --param sycl_build_targets="spir" --param enable_new_offload_model=True
cxx: ${{ inputs.cxx }}

- name: Detect hung tests
if: always()
shell: powershell
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/sycl-windows-precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
with:
changes: ${{ needs.detect_changes.outputs.filters }}
e2e_binaries_artifact: sycl_windows_e2ebin
e2e_binaries_new_offload_model_artifact: sycl_windows_e2ebin_with_new_offload_model

run_prebuilt_e2e_tests:
needs: build
Expand All @@ -83,30 +82,3 @@ jobs:
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
testing_mode: run-only
binaries_artifact: sycl_windows_e2ebin

run_prebuilt_e2e_with_new_offload_model_tests:
needs: build
# Continue if build was successful.
if: |
!cancelled() &&
needs.build.outputs.build_conclusion == 'success' &&
contains(github.event.pull_request.labels.*.name, 'new-offload-model')
strategy:
fail-fast: false
matrix:
include:
- name: Intel GEN12 Graphics with Level Zero
runner: '["Windows","gen12"]'
- name: Intel Arc Graphics with Level Zero
runner: '["Windows","arc"]'
- name: Intel Battlemage Graphics with Level Zero
runner: '["Windows","bmg"]'
uses: ./.github/workflows/sycl-windows-run-tests.yml
with:
name: ${{ matrix.name }}
runner: ${{ matrix.runner }}
target_devices: "level_zero:gpu"
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
testing_mode: run-only
binaries_artifact: sycl_windows_e2ebin_with_new_offload_model
extra_lit_opts: --param enable_new_offload_model=True
3 changes: 0 additions & 3 deletions sycl/test-e2e/AOT/multiple-devices.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
//
//===----------------------------------------------------------------------===//

// XFAIL: new-offload-model && run-mode
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// REQUIRES: opencl-aot, ocloc, any-device-is-cpu, any-device-is-gpu, target-spir, opencl-cpu-rt

// Produce a fat object for all targets (generic SPIR-V, CPU, GPU)
Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/Compression/compression.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// XFAIL: new-offload-model && target-amd
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// End-to-End test for testing device image compression.
// REQUIRES: zstd

Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/Compression/compression_multiple_tu.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// XFAIL: new-offload-model && target-amd
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// End-to-End test for testing device image compression when we have two
// translation units, one compressed and one not compressed.
// REQUIRES: zstd, linux
Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/DeviceLib/rand_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// XFAIL: new-offload-model && target-amd
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

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

Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/E2EExpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class E2EExpr(BooleanExpression):
"pdtracker",
"ze_debug",
"device-config-file",
"new-offload-model",
}

def __init__(self, string, variables, build_only_mode, final_unknown_value):
Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/ESIMD/lit.local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,3 @@ config.unsupported_features += ['spirv-backend']

# https://github.com/intel/llvm/issues/20142
config.unsupported_features += ['target-native_cpu']

# https://github.com/intel/llvm/issues/20797
config.unsupported_features += ['new-offload-model']
3 changes: 0 additions & 3 deletions sycl/test-e2e/InvokeSimd/lit.local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,3 @@ config.unsupported_features += ['spirv-backend']

# https://github.com/intel/llvm/issues/20142.
config.unsupported_features += ['target-native_cpu']

# https://github.com/intel/llvm/issues/20797
config.unsupported_features += ['new-offload-model']
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// XFAIL: new-offload-model && linux
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// REQUIRES: gpu
// Disable fallback assert here so, that build process isn't affected
// RUN: %{build} -DSYCL_DISABLE_FALLBACK_ASSERT=1 -o %t1.out %debug_option
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// XFAIL: new-offload-model && linux
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// REQUIRES: gpu
// RUN: %{build} -o %t.out %debug_option
// RUN: env SYCL_UR_TRACE=2 %{run} %t.out | FileCheck %s
Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/KernelAndProgram/level-zero-link-flags.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// XFAIL: new-offload-model && linux
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// REQUIRES: target-spir, level_zero
// RUN: %{build} -Xsycl-target-linker=spir64 -foo -o %t.out
// RUN: %{run} %t.out
Expand Down
4 changes: 0 additions & 4 deletions sycl/test-e2e/KernelCompiler/sycl_join.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} %{run} %t.out
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} %{l0_leak_check} %{run} %t.out

// This test is flaky in NewOffloadModel model for Arc GPU in windows.
// UNSUPPORTED: new-offload-model && windows && run-mode
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20797

// XFAIL: target-native_cpu
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20142

Expand Down
3 changes: 1 addition & 2 deletions sycl/test-e2e/ProgramManager/uneven_kernel_split.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
// UNSUPPORTED: linux
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17305

// XFAIL: windows && !new-offload-model
// XFAIL: windows
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20127
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// RUN: %clangxx -fsycl -fsycl-targets=spir64_x86_64 -I %S/Inputs/ %S/uneven_kernel_split.cpp -c -o %t.o
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend=spir64_gen %gpu_aot_target_opts -I %S/Inputs/ %S/Inputs/gpu_kernel1.cpp -c -o %t1.o
Expand Down
1 change: 0 additions & 1 deletion sycl/test-e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ configure specific single test execution in the command line:
by CMake variable HIP_LIBS_DIR (autodetected).
* **run_launcher** - part of `%{run*}` expansion/substitution to alter execution
of the test by, e.g., running it through Valgrind.
* **enable_new_offload_model** - enables New Offload Model driver mode for all tests.

Example:

Expand Down
5 changes: 0 additions & 5 deletions sycl/test-e2e/Regression/reduction_resource_leak_dw.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// This test is flaky in NewOffloadModel mode among different targets at
// Windows.
// UNSUPPORTED: new-offload-model && windows && run-mode
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20797

// REQUIRES: level_zero
//
// UNSUPPORTED: windows && level_zero_v2_adapter
Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/SeparateCompile/test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// XFAIL: new-offload-model
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20797

// REQUIRES: target-spir
//
// FIXME Disabled fallback assert as it'll require either online linking or
Expand Down
5 changes: 0 additions & 5 deletions sycl/test-e2e/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -987,11 +987,6 @@ def get_sycl_ls_verbose(sycl_device, env):
"sycl-jit was not found. Tests requiring sycl-jit will be skipped."
)

# Check for enabled NewOffloadModel
if lit_config.params.get("enable_new_offload_model", "False") != "False":
config.available_features.add("new-offload-model")
config.cxx_flags += " --offload-new-driver "

# That has to be executed last so that all device-independent features have been
# discovered already.
config.sycl_dev_features = {}
Expand Down
Loading