Skip to content

Commit aa5722c

Browse files
[CI] Fix install_drivers/reset_gpu in pre-commit task (#10759)
1 parent a5a5e03 commit aa5722c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/sycl_precommit_linux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
7676
image_options: -u 1001
7777
target_devices: ext_intel_esimd_emulator:gpu
78+
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
7879
- name: AMD/HIP
7980
runner: '["Linux", "amdgpu"]'
8081
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
@@ -85,7 +86,8 @@ jobs:
8586
image: ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest
8687
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
8788
target_devices: ext_oneapi_level_zero:gpu;opencl:gpu;opencl:cpu
88-
reset_gpu: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
89+
reset_gpu: true
90+
install_drivers: ${{ contains(needs.detect_changes.outputs.filters, 'drivers') }}
8991
uses: ./.github/workflows/sycl_linux_run_tests.yml
9092
with:
9193
name: ${{ matrix.name }}

0 commit comments

Comments
 (0)