File tree Expand file tree Collapse file tree 6 files changed +26
-10
lines changed
ProgramManager/multi_device_bundle Expand file tree Collapse file tree 6 files changed +26
-10
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,12 @@ jobs:
112
112
runner : ' ["Linux", "bmg"]'
113
113
image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
114
114
target_devices : level_zero:gpu
115
- # The new Xe kernel driver used by BMG doesn't support resetting.
116
- reset_intel_gpu : false
115
+ reset_intel_gpu : true
117
116
- name : SPIR-V Backend / Intel Battlemage Graphics
118
117
runner : ' ["Linux", "bmg"]'
119
118
image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
120
119
target_devices : level_zero:gpu;opencl:gpu;opencl:cpu
121
- reset_intel_gpu : false
120
+ reset_intel_gpu : true
122
121
extra_lit_opts : --param spirv-backend=True
123
122
e2e_binaries_artifact : sycl_e2e_bin_default_spirv_backend
124
123
uses : ./.github/workflows/sycl-linux-run-tests.yml
Original file line number Diff line number Diff line change @@ -201,15 +201,22 @@ jobs:
201
201
steps :
202
202
- name : Reset Intel GPU
203
203
if : inputs.reset_intel_gpu == 'true'
204
+ shell : bash
204
205
run : |
205
- sudo mount -t debugfs none /sys/kernel/debug
206
- base_dir="/sys/kernel/debug/dri"
206
+ if [[ '${{ inputs.runner }}' == '["Linux", "bmg"]' ]]; then
207
+ sudo bash -c 'echo 0000:05:00.0 > /sys/bus/pci/drivers/xe/unbind'
208
+ sudo bash -c 'echo 1 > /sys/bus/pci/devices/0000:05:00.0/reset'
209
+ sudo bash -c 'echo 0000:05:00.0 > /sys/bus/pci/drivers/xe/bind'
210
+ else
211
+ sudo mount -t debugfs none /sys/kernel/debug
212
+ base_dir="/sys/kernel/debug/dri"
207
213
208
- for dir in "$base_dir"/*; do
209
- if [ -f "$dir/i915_wedged" ]; then
210
- sudo bash -c 'echo 1 > $0/i915_wedged' $dir
211
- fi
212
- done
214
+ for dir in "$base_dir"/*; do
215
+ if [ -f "$dir/i915_wedged" ]; then
216
+ sudo bash -c 'echo 1 > $0/i915_wedged' $dir
217
+ fi
218
+ done
219
+ fi
213
220
- uses : actions/checkout@v4
214
221
with :
215
222
ref : ${{ inputs.devops_ref || inputs.repo_ref }}
Original file line number Diff line number Diff line change 82
82
runner : ' ["Linux", "bmg"]'
83
83
image_options : -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
84
84
target_devices : level_zero:gpu
85
+ reset_intel_gpu : true
85
86
86
87
- name : Intel L0 Arc A-Series GPU
87
88
runner : ' ["Linux", "arc"]'
Original file line number Diff line number Diff line change 9
9
// XFAIL: spirv-backend && run-mode
10
10
// XFAIL-TRACKER: CMPLRLLVM-64705
11
11
12
+ // XFAIL: linux && arch-intel_gpu_bmg_g21 && !igc-dev && run-mode
13
+ // XFAIL-TRACKER: https://github.com/intel/llvm/issues/17453
14
+
12
15
// Test checks that persistent cache works correctly with multiple devices.
13
16
14
17
#include < sycl/detail/core.hpp>
Original file line number Diff line number Diff line change 10
10
// XFAIL: spirv-backend && run-mode
11
11
// XFAIL-TRACKER: CMPLRLLVM-64705
12
12
13
+ // XFAIL: linux && arch-intel_gpu_bmg_g21 && !igc-dev && run-mode
14
+ // XFAIL-TRACKER: https://github.com/intel/llvm/issues/17453
15
+
13
16
#include < sycl/detail/core.hpp>
14
17
#include < sycl/kernel_bundle.hpp>
15
18
Original file line number Diff line number Diff line change 32
32
// XFAIL: spirv-backend && run-mode
33
33
// XFAIL-TRACKER: CMPLRLLVM-64705
34
34
35
+ // XFAIL: linux && arch-intel_gpu_bmg_g21 && !igc-dev && run-mode
36
+ // XFAIL-TRACKER: https://github.com/intel/llvm/issues/17453
37
+
35
38
#include < cmath>
36
39
#include < complex>
37
40
#include < sycl/detail/core.hpp>
You can’t perform that action at this time.
0 commit comments