|
| 1 | +name: SYCL Nightly Benchmarking |
| 2 | + |
| 3 | +on: |
| 4 | + workflow_dispatch: |
| 5 | + schedule: |
| 6 | + - cron: '0 0 * * *' |
| 7 | + # 3 hours ahead of SYCL nightly |
| 8 | + |
| 9 | +permissions: read-all |
| 10 | + |
| 11 | +jobs: |
| 12 | + ubuntu2204_build: |
| 13 | + if: github.repository == 'intel/llvm' |
| 14 | + uses: ./.github/workflows/sycl-linux-build.yml |
| 15 | + secrets: inherit |
| 16 | + with: |
| 17 | + build_cache_root: "/__w/" |
| 18 | + build_configure_extra_args: '--no-assertions' |
| 19 | + build_image: ghcr.io/intel/llvm/ubuntu2404_build:latest |
| 20 | + |
| 21 | + toolchain_artifact: sycl_linux_default |
| 22 | + toolchain_artifact_filename: sycl_linux.tar.gz |
| 23 | + |
| 24 | + run-sycl-benchmarks: |
| 25 | + needs: [ubuntu2204_build] |
| 26 | + if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} |
| 27 | + strategy: |
| 28 | + fail-fast: false |
| 29 | + matrix: |
| 30 | + runner: ['["PVC_PERF"]', '["BMG_PERF"]'] |
| 31 | + backend: ['level_zero:gpu', 'level_zero_v2:gpu'] |
| 32 | + include: |
| 33 | + - ref: ${{ github.sha }} |
| 34 | + save_name: 'Baseline' |
| 35 | + preset: 'Full' |
| 36 | + uses: ./.github/workflows/sycl-linux-run-tests.yml |
| 37 | + secrets: inherit |
| 38 | + with: |
| 39 | + name: Run compute-benchmarks (${{ matrix.runner }}, ${{ matrix.backend }}) |
| 40 | + runner: ${{ matrix.runner }} |
| 41 | + image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest |
| 42 | + image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN |
| 43 | + target_devices: ${{ matrix.backend }} |
| 44 | + tests_selector: benchmarks |
| 45 | + benchmark_upload_results: true |
| 46 | + benchmark_save_name: ${{ matrix.save_name }} |
| 47 | + benchmark_preset: ${{ matrix.preset }} |
| 48 | + repo_ref: ${{ matrix.ref }} |
| 49 | + toolchain_artifact: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact }} |
| 50 | + toolchain_artifact_filename: ${{ needs.ubuntu2204_build.outputs.toolchain_artifact_filename }} |
| 51 | + toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.toolchain_decompress_command }} |
| 52 | + |
0 commit comments