-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] New workflow for SYCL-CTS with SPIR-V backend #16731
Merged
Merged
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# This workflow builds SYCL-CTS with -fsycl-use-spirv-backend-for-spirv-gen and | ||
# runs it with opencl:cpu & gen12 and level_zero:gpu & PVC on Sundays. | ||
|
||
name: SYCL-CTS with SPIR-V backend | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- 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: '' | ||
merge_ref: '' | ||
|
||
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: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest | ||
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN | ||
tests_selector: cts | ||
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 | ||
KornevNikita marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
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: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest | ||
KornevNikita marked this conversation as resolved.
Show resolved
Hide resolved
|
||
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: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:latest | ||
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: ${{ matrix.image }} | ||
image_options: ${{ matrix.image_options }} | ||
target_devices: ${{ matrix.target_devices }} | ||
tests_selector: cts | ||
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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to set
merge_ref
to empty anywhere in this workflow?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, it's only needed for build