Skip to content

Commit e9822b2

Browse files
[CI][SYCL][E2E] Mount by-path dir in docker container on PVC (#16562)
`by-path` dir is required for `NEOReadDebugKeys=1 CreateMultipleRootDevices=[num_devices]`to work correctly. Same as #15563
1 parent f86a60b commit e9822b2

File tree

4 files changed

+2
-11
lines changed

4 files changed

+2
-11
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@ jobs:
157157
- name: E2E tests on Intel Ponte Vecchio GPU
158158
runner: '["Linux", "pvc"]'
159159
image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest
160-
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
160+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
161161
target_devices: level_zero:gpu;opencl:gpu
162162
extra_lit_opts: -j 50
163163
- name: E2E tests with dev igc on Intel Ponte Vecchio GPU
164164
runner: '["Linux", "pvc"]'
165165
image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
166-
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
166+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
167167
target_devices: level_zero:gpu;opencl:gpu
168168
use_igc_dev: true
169169
extra_lit_opts: -j 50

sycl/test-e2e/KernelAndProgram/persistent-cache-multi-device.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
// RUN: env NEOReadDebugKeys=1 CreateMultipleRootDevices=3 SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=1 SYCL_CACHE_DIR=%t/cache_dir env -u XDG_CACHE_HOME env -u HOME %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-BUILD
66
// RUN: env NEOReadDebugKeys=1 CreateMultipleRootDevices=3 SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=1 SYCL_CACHE_DIR=%t/cache_dir env -u XDG_CACHE_HOME env -u HOME %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-CACHE
77

8-
// XFAIL: arch-intel_gpu_pvc
9-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16401
10-
118
// Test checks that persistent cache works correctly with multiple devices.
129

1310
#include <sycl/detail/core.hpp>

sycl/test-e2e/ProgramManager/multi_device_bundle/build_twice.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
// RUN: %{build} -o %t.out
77
// RUN: env NEOReadDebugKeys=1 CreateMultipleRootDevices=3 SYCL_UR_TRACE=2 %{run} %t.out | FileCheck %s
88

9-
// XFAIL: arch-intel_gpu_pvc
10-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16401
11-
129
#include <sycl/detail/core.hpp>
1310
#include <sycl/kernel_bundle.hpp>
1411

sycl/test-e2e/ProgramManager/multi_device_bundle/device_libs_and_caching.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
// Check the case when in-memory caching of the programs is disabled.
3030
// RUN: env SYCL_CACHE_IN_MEM=0 NEOReadDebugKeys=1 CreateMultipleRootDevices=4 %{run} %t.out
3131

32-
// XFAIL: arch-intel_gpu_pvc
33-
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/16401
34-
3532
#include <cmath>
3633
#include <complex>
3734
#include <sycl/detail/core.hpp>

0 commit comments

Comments
 (0)