Skip to content

Commit 302d6b0

Browse files
committed
Re-enable resetting the GPU
1 parent 26180cd commit 302d6b0

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,14 @@ jobs:
203203
env: ${{ fromJSON(inputs.env) }}
204204
steps:
205205
- name: Reset Intel GPU
206-
if: inputs.reset_intel_gpu == 'true'
206+
if: >
207+
${{ inputs.reset_intel_gpu == 'true' ||
208+
( github.event_name == 'workflow_dispatch' &&
209+
inputs.tests_selector == 'compute-benchmarks' &&
210+
inputs.runner == '["PVC_PERF"]' ) }}
211+
# Specifically, manual dispatch running compute-benchmarks on PVC_PERF
212+
# should reset intel GPU, since manual dispatch does not provide an option
213+
# for users to pick whether or not manual dispatch resets the GPU.
207214
run: |
208215
sudo mount -t debugfs none /sys/kernel/debug
209216
base_dir="/sys/kernel/debug/dri"

.github/workflows/sycl-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ jobs:
266266
runner: '["PVC_PERF"]'
267267
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
268268
target_devices: level_zero:gpu
269-
reset_intel_gpu: false
269+
reset_intel_gpu: true
270270
uses: ./.github/workflows/sycl-linux-run-tests.yml
271271
secrets: inherit
272272
with:

0 commit comments

Comments
 (0)