Skip to content

Commit 6f011d1

Browse files
committed
[CI] run v2 adapter tests on PVC and BMG
1 parent b7093bf commit 6f011d1

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
- name: E2E tests on Intel Ponte Vecchio GPU
111111
runner: '["Linux", "pvc"]'
112112
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
113-
target_devices: level_zero:gpu;opencl:gpu
113+
target_devices: level_zero:gpu;opencl:gpu;level_zero_v2:gpu
114114
- name: Dev IGC on Intel Ponte Vecchio GPU
115115
runner: '["Linux", "pvc"]'
116116
image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
@@ -120,7 +120,7 @@ jobs:
120120
- name: Intel Battlemage Graphics
121121
runner: '["Linux", "bmg"]'
122122
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
123-
target_devices: level_zero:gpu
123+
target_devices: level_zero:gpu;level_zero_v2:gpu
124124
- name: SPIR-V Backend / Intel Battlemage Graphics
125125
runner: '["Linux", "bmg"]'
126126
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN

sycl/test-e2e/Regression/profiling_tag_cached_conflicting.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
// UNSUPPORTED: cuda
1515
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/14053
1616

17+
// UNSUPPORTED: level_zero_v2_adapter
18+
// UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/17760
19+
1720
#include <sycl/detail/core.hpp>
1821
#include <sycl/ext/oneapi/experimental/profiling_tag.hpp>
1922

sycl/test-e2e/format.py

+6
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,12 @@ def get_extra_env(sycl_devices):
333333
dev_features = test.config.sycl_dev_features[full_dev_name]
334334
if "level_zero_v2_adapter" in dev_features:
335335
expanded += " env UR_LOADER_USE_LEVEL_ZERO_V2=1"
336+
if any(
337+
"pvc" in feature or "gen12" in feature or "bmg" in feature
338+
for feature in test.config.sycl_dev_features[full_dev_name]
339+
):
340+
# TODO: For those platforms, devices using copy offload results in test timeouts
341+
expanded += " env UR_L0_V2_FORCE_DISABLE_COPY_OFFLOAD=1"
336342

337343
expanded += " ONEAPI_DEVICE_SELECTOR={} {}".format(
338344
parsed_dev_name, test.config.run_launcher

0 commit comments

Comments
 (0)