File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments