Skip to content
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

SYCL CTS CI for riscv64 qemu #701

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

alan-forbes-cp
Copy link
Collaborator

@alan-forbes-cp alan-forbes-cp commented Mar 3, 2025

Overview

Add SYCL CTS tests for riscv64 qemu

Reason for change

Add remaining architecture, plus qemu support.

Description of change

  • Update planned_testing SYCL CTS build/run with support for riscv64 plus correct container image.
  • Add SYCL CTS override .csv file for riscv64.
  • Update DPCPP workflow for riscv64, cross-build options, patches and configuration (.cfg) files.
  • Update DPCPP patches.
  • Expand SYCL CTS build to include support for riscv64 qemu
  • Expand SYCL CTS run to include qemu support ($PREPEND_PATH var)

Anything else we should know?

  • Results for riscv64 are the same as x86-64/aarch64
  • This PR is fully tested for, and merge-able for, all 3 architectures, but ...
  • It will not being merged due to the patches.
  • A number of temporary updates were added to facilitate development testing. Ordinarily these would have been removed prior to final merge (but we're not merging).

@alan-forbes-cp alan-forbes-cp changed the title DRAFT: First cut of SYC CTS riscv newly rebased on aarch64/x86_64 DRAFT: SYCL CTS CI for riscv64 qemu Mar 6, 2025
- '.github/workflows/run_pr_tests.yml'
- '.github/workflows/run_pr_tests_caller.yml'
- 'CMakeLists.txt'
#pull_request:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove all temporary updates added to facilitate development testing.

@alan-forbes-cp alan-forbes-cp changed the title DRAFT: SYCL CTS CI for riscv64 qemu SYCL CTS CI for riscv64 qemu Mar 6, 2025
@alan-forbes-cp alan-forbes-cp marked this pull request as ready for review March 6, 2025 15:33
@alan-forbes-cp alan-forbes-cp requested a review from a team as a code owner March 6, 2025 15:33
@@ -305,18 +306,18 @@ jobs:
download_dpcpp_artefact: ${{ inputs.download_dpcpp_artefact }}

build_sycl_cts:
needs: [workflow_vars, build_icd, build_dpcpp_native]
needs: [workflow_vars, build_icd, build_dpcpp_native, build_dpcpp_cross]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a slight gotcha here in that build_dpcpp_cross is now only needed for riscv64 (true also for SYCL CTS run job below).
If riscv64 is excluded from the target_list and this setting is retained then the SYCL CTS build job will not fire.
However, this is not currently an issue for production. Comments welcome.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it's a bit icky the dependencies, we could either fire build_dpcc_cross regardless (but do nothing if not needed) or we use the json method we've used elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants