Skip to content

Clarify optional kernel features.#1010

Merged
gmlueck merged 3 commits into
KhronosGroup:mainfrom
VerenaBeckham:verena/optional_features
May 21, 2026
Merged

Clarify optional kernel features.#1010
gmlueck merged 3 commits into
KhronosGroup:mainfrom
VerenaBeckham:verena/optional_features

Conversation

@VerenaBeckham
Copy link
Copy Markdown
Contributor

No description provided.

@TApplencourt
Copy link
Copy Markdown
Contributor

One more reviewer and waiting from Hugh

Copy link
Copy Markdown

@hdelan hdelan left a comment

Choose a reason for hiding this comment

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

Slight nit but otherwise LGTM.

Comment thread adoc/chapters/device_compiler.adoc Outdated
implementation supports the features on any of its devices.
For the two C++ attributes listed above, all implementations must be able to
compile kernels that are decorated with these attributes regardless of whether
the implementation supports the specified work-group or sub-group size.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Slight nit:

Suggested change
the implementation supports the specified work-group or sub-group size.
a device supports the specified work-group or sub-group size.

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.

Either way is OK with me. The previous sentence say:

... regardless of whether the implementation supports the features on any of its devices.

we could use that same language here:

... regardless of whether the implementation supports the specified work-group or sub-group size on any of its devices.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

That sounds good to me

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I made those changes, please verify.

Comment thread adoc/chapters/device_compiler.adoc Outdated
@TApplencourt
Copy link
Copy Markdown
Contributor

Amazing! Thanks a lot

@TApplencourt
Copy link
Copy Markdown
Contributor

WG: Agree to merge as clarification.

@gmlueck gmlueck merged commit 1a17389 into KhronosGroup:main May 21, 2026
2 checks passed
gmlueck added a commit that referenced this pull request May 21, 2026
Cherry pick #1010 from main
(cherry picked from commit 1a17389)
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