Skip to content

[CI][GHA] Introduce SYCL runtime check - #37085

Open
kuwa6805 wants to merge 2 commits into
openvinotoolkit:masterfrom
FujitsuResearch:sycl_gha
Open

[CI][GHA] Introduce SYCL runtime check#37085
kuwa6805 wants to merge 2 commits into
openvinotoolkit:masterfrom
FujitsuResearch:sycl_gha

Conversation

@kuwa6805

Copy link
Copy Markdown

Details:

  • Introduce SYCL runtime checks to GitHub Actions workflows
  • Add ubuntu_22_sycl based on ubuntu_22_dpcpp since SYCL requires DPC++
  • Minimize build options to verify SYCL build

Tickets:

AI Assistance:

  • AI assistance used: no

Based on ubuntu_22_dpcpp

Signed-off-by: KUWAMURA Shin'ya <kuwa@fujitsu.com>
@kuwa6805
kuwa6805 requested a review from a team as a code owner July 28, 2026 08:28
@github-actions github-actions Bot added category: CI OpenVINO public CI github_actions Pull requests that update GitHub Actions code labels Jul 28, 2026
@sys-openvino-ci sys-openvino-ci added the ExternalPR External contributor label Jul 28, 2026
@maxnick

maxnick commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@mryzhov , could you please review?

@maxnick maxnick assigned mryzhov and unassigned isanghao Jul 29, 2026
@maxnick maxnick added this to the 2026.4 milestone Jul 29, 2026
@maxnick

maxnick commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@kuwa6805 , a general comment. Isn't it better to update ubuntu version to at least 24.06 ? Ubuntu 22 looks rather outdated.

@kuwa6805

Copy link
Copy Markdown
Author

@kuwa6805 , a general comment. Isn't it better to update ubuntu version to at least 24.06 ? Ubuntu 22 looks rather outdated.

@maxnick
This workflow is based on the ubuntu_22_dpcpp workflow since the SYCL runtime requires the Intel DPC++ compiler.
And ubuntu_22_dpcpp uses Ubuntu 22.04.

@mryzhov

mryzhov commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

@kuwa6805 , a general comment. Isn't it better to update ubuntu version to at least 24.06 ? Ubuntu 22 looks rather outdated.

@maxnick This workflow is based on the ubuntu_22_dpcpp workflow since the SYCL runtime requires the Intel DPC++ compiler. And ubuntu_22_dpcpp uses Ubuntu 22.04.

We can migrate to the new Ubuntu version in a separate PR. For that, we just need to create a new build Dockerfile, similar to how it was done for Ubuntu 22.(https://github.com/openvinotoolkit/openvino/blob/master/.github/dockerfiles/ov_build/ubuntu_22_04_x64_dpcpp/Dockerfile#L43)

build-contrib: false
build-rpm-packages: false
target-branch: ${{ inputs.target-branch }}
cmake-options: >-

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we explicitly set only non-default options? For example CPACK_GENERATOR=TGZ is set by default

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

There's no particular reason. It's simply to reduce build time. I plan to use the default settings.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Now, cmake-options is based on ubuntu_22.yml.

Comment thread .github/workflows/ubuntu_22_sycl.yml Outdated
-DENABLE_OV_TF_LITE_FRONTEND=OFF
-DENABLE_SAMPLES=OFF
-DENABLE_PLUGINS_XML=ON
-DENABLE_WHEEL=ON

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we really need to build ov wheel build? Looks like we can switch it off

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

No, I'll turn that option off.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Building wheels is disabled.

@mryzhov mryzhov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good, just left minor comments

@mryzhov
mryzhov requested review from akashchi and akladiev and a lite review from Copilot July 31, 2026 13:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a dedicated GitHub Actions workflow intended to validate building OpenVINO with Intel DPC++ and the SYCL GPU runtime on Ubuntu 22.04, aligning with the request in issue #36041 to introduce SYCL runtime CI validation.

Changes:

  • Introduces a new ubuntu_22_sycl.yml workflow based on the existing DPC++ pipeline.
  • Configures a minimized CMake feature set with GPU_RT_TYPE=SYCL to validate SYCL-enabled builds.

Comment on lines +2 to +11
on:
workflow_dispatch:
inputs:
target-branch:
description: 'Target branch for the build; taken from event context by default'
type: string
required: false
# pull_request:
# merge_group:

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ok, I'll make the change.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done.

Comment thread .github/workflows/ubuntu_22_sycl.yml Outdated
Comment on lines +82 to +101
Build:
needs: [Docker, Smart_CI]
if: "!needs.smart_ci.outputs.skip_workflow"
uses: ./.github/workflows/job_build_linux.yml
with:
runner: 'aks-linux-16-cores-32gb'
image: ${{ fromJSON(needs.docker.outputs.images).ov_build.ubuntu_22_04_x64_dpcpp }}
affected-components: ${{ needs.smart_ci.outputs.affected_components }}
event-name: ${{ github.event_name }}
os: 'ubuntu_22_04_dpcpp'
build-js: false
build-debian-packages: false
build-contrib: false
build-rpm-packages: false
target-branch: ${{ inputs.target-branch }}
cmake-options: >-
-DENABLE_NCC_STYLE=OFF
-DENABLE_TESTS=OFF
-DENABLE_INTEL_GPU=ON
-DENABLE_INTEL_NPU=OFF

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Now, tests are enabled.

- Run when a pull_request or merge_group occurs
- cmake-options are based on ubuntu_22.yml
- Disable wheel building
- Since it is incompatible with DPC++, the system's FlatBuffers are disabled

Signed-off-by: KUWAMURA Shin'ya <kuwa@fujitsu.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: CI OpenVINO public CI ExternalPR External contributor github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants