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