Skip to content

[SYCL] Support 512 GRF size for CRI in sycl_ext_intel_grf_size#22707

Open
sarnex wants to merge 2 commits into
intel:syclfrom
sarnex:512grf
Open

[SYCL] Support 512 GRF size for CRI in sycl_ext_intel_grf_size#22707
sarnex wants to merge 2 commits into
intel:syclfrom
sarnex:512grf

Conversation

@sarnex

@sarnex sarnex commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

CRI is no longer embargoed so unembargo this feature.

Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
@sarnex sarnex changed the title [SYCL] Support 512 GRF size in sycl_ext_intel_grf_size [SYCL] Support 512 GRF size for CRI in sycl_ext_intel_grf_size Jul 21, 2026
@sarnex
sarnex marked this pull request as ready for review July 21, 2026 19:36
@sarnex
sarnex requested review from a team as code owners July 21, 2026 19:36
@sarnex
sarnex requested a review from uditagarwal97 July 21, 2026 19:36

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

This PR un-embargoes and wires up support for requesting a 512-byte GRF size (for CRI) via the sycl_ext_intel_grf_size experimental extension, including runtime option propagation, documentation, and an end-to-end validation test.

Changes:

  • Extend the grf_size<...> property to accept 512.
  • Propagate the 512-GRF request into backend compile options in the program manager.
  • Add an E2E test and update the extension documentation to list CRI-supported values.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
sycl/test-e2e/DeviceCodeSplit/grf_512.cpp New E2E test that exercises grf_size<512> and checks UR trace for the expected backend compile flag.
sycl/source/detail/program_manager/program_manager.cpp Adds handling for sycl-grf-size == 512 to append a backend compile option.
sycl/include/sycl/ext/intel/experimental/grf_size_properties.hpp Updates compile-time validation to allow grf_size<512>.
sycl/doc/extensions/experimental/sycl_ext_intel_grf_size.asciidoc Documents CRI as supporting 128/256/512 GRF sizes.

Comment thread sycl/source/detail/program_manager/program_manager.cpp
Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
@sarnex
sarnex requested a review from Copilot July 21, 2026 20:23

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Comment thread sycl/test-e2e/DeviceCodeSplit/grf_512.cpp
Comment thread sycl/test-e2e/DeviceCodeSplit/grf_512.cpp
Comment thread sycl/source/detail/program_manager/program_manager.cpp

@gmlueck gmlueck 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.

Spec changes LGTM.

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.

4 participants