SYCL Weekly #20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SYCL Weekly | |
on: | |
workflow_dispatch: | |
schedule: | |
# At 00:00 on Sunday. | |
- cron: '0 0 * * 0' | |
permissions: read-all | |
jobs: | |
ubuntu2204_build: | |
if: github.repository == 'intel/llvm' | |
uses: ./.github/workflows/sycl-linux-build.yml | |
secrets: inherit | |
with: | |
build_cache_root: "/__w/" | |
build_artifact_suffix: default | |
build_configure_extra_args: '' | |
# This job builds SYCL-CTS with -fsycl-use-spirv-backend-for-spirv-gen. | |
build-sycl-cts: | |
needs: ubuntu2204_build | |
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} | |
uses: ./.github/workflows/sycl-linux-run-tests.yml | |
with: | |
name: Build SYCL-CTS | |
runner: '["Linux", "build"]' | |
cts_testing_mode: 'build-only' | |
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN | |
tests_selector: cts | |
repo_ref: ${{ github.sha }} | |
sycl_toolchain_artifact: sycl_linux_default | |
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }} | |
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }} | |
extra_cmake_args: -DDPCPP_FLAGS=-fsycl-use-spirv-backend-for-spirv-gen | |
sycl_cts_artifact: sycl_cts_bin | |
run-sycl-cts: | |
needs: [ubuntu2204_build, build-sycl-cts] | |
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: SYCL-CTS on OCL CPU PVC w/ LLVM SPIR-V Backend | |
runner: '["Linux", "pvc"]' | |
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN | |
target_devices: opencl:cpu | |
- name: SYCL-CTS on L0 GPU PVC w/ LLVM SPIR-V Backend | |
runner: '["Linux", "pvc"]' | |
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN | |
target_devices: level_zero:gpu | |
uses: ./.github/workflows/sycl-linux-run-tests.yml | |
with: | |
name: ${{ matrix.name }} | |
runner: ${{ matrix.runner }} | |
cts_testing_mode: 'run-only' | |
image_options: ${{ matrix.image_options }} | |
target_devices: ${{ matrix.target_devices }} | |
tests_selector: cts | |
repo_ref: ${{ github.sha }} | |
sycl_toolchain_artifact: sycl_linux_default | |
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }} | |
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }} | |
sycl_cts_artifact: sycl_cts_bin |