From b5fa113a71d5d01990d99fcf30c4bfa395a7360c Mon Sep 17 00:00:00 2001 From: "Li, Ian" Date: Thu, 2 Jan 2025 15:11:00 -0800 Subject: [PATCH] fix benchmarking --- .github/workflows/sycl-linux-precommit.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sycl-linux-precommit.yml b/.github/workflows/sycl-linux-precommit.yml index 3ab4497d6f0b9..7b745514af380 100644 --- a/.github/workflows/sycl-linux-precommit.yml +++ b/.github/workflows/sycl-linux-precommit.yml @@ -242,6 +242,8 @@ jobs: benchmark: needs: [build, detect_changes] + permissions: + contents: write if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }} strategy: fail-fast: false @@ -264,7 +266,6 @@ jobs: image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN target_devices: level_zero:gpu;opencl:gpu reset_intel_gpu: true - extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True env: | { "LIT_FILTER": ${{ needs.determine_arc_tests.outputs.arc_tests }}, @@ -288,11 +289,10 @@ jobs: image: ${{ matrix.image }} image_options: ${{ matrix.image_options }} target_devices: ${{ matrix.target_devices }} - extra_lit_opts: ${{ matrix.extra_lit_opts }} env: ${{ matrix.env || '{}' }} # TODO integrate these - # # Do not install drivers on AMD and CUDA runners. + # # Do not install drivers on AMD and CUDA runnersu # install_igc_driver: >- # ${{ !contains(matrix.target_devices, 'ext_oneapi_cuda') && # !contains(matrix.target_devices, 'ext_oneapi_hip') &&