Skip to content

Implement sycl_khr_work_item_queries extension #18519

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

Open
wants to merge 5 commits into
base: sycl
Choose a base branch
from

Conversation

0x12CC
Copy link
Contributor

@0x12CC 0x12CC commented May 16, 2025

Implements the extension defined in KhronosGroup/SYCL-Docs#682.

Signed-off-by: Michael Aziz <michael.aziz@intel.com>
@0x12CC 0x12CC requested a review from a team as a code owner May 16, 2025 17:18
@0x12CC 0x12CC requested a review from steffenlarsen May 16, 2025 17:18
@0x12CC 0x12CC temporarily deployed to WindowsCILock May 16, 2025 17:51 — with GitHub Actions Inactive
@0x12CC 0x12CC temporarily deployed to WindowsCILock May 16, 2025 18:51 — with GitHub Actions Inactive
@0x12CC 0x12CC temporarily deployed to WindowsCILock May 16, 2025 18:51 — with GitHub Actions Inactive
Copy link
Contributor

@steffenlarsen steffenlarsen left a comment

Choose a reason for hiding this comment

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

Looks good overall! One test nit.

0x12CC added 3 commits May 30, 2025 09:26
Signed-off-by: Michael Aziz <michael.aziz@intel.com>
Signed-off-by: Michael Aziz <michael.aziz@intel.com>
Signed-off-by: Michael Aziz <michael.aziz@intel.com>
@0x12CC 0x12CC temporarily deployed to WindowsCILock May 30, 2025 16:53 — with GitHub Actions Inactive
@0x12CC
Copy link
Contributor Author

0x12CC commented May 30, 2025

Thanks for the reviews, @steffenlarsen, @dyniols. I've applied your suggested changes.

Copy link
Contributor

@dyniols dyniols left a comment

Choose a reason for hiding this comment

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

LGTM!

@0x12CC 0x12CC temporarily deployed to WindowsCILock May 30, 2025 17:21 — with GitHub Actions Inactive
@0x12CC 0x12CC temporarily deployed to WindowsCILock May 30, 2025 17:21 — with GitHub Actions Inactive
namespace khr {

template <int Dimensions> nd_item<Dimensions> this_nd_item() {
return ext::oneapi::experimental::this_nd_item<Dimensions>();
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar comment as in #18521 (comment). We should let KHR extensions be the leaves as much as possible.

@0x12CC
Copy link
Contributor Author

0x12CC commented Jun 5, 2025

@intel/llvm-gatekeepers, this should be ready to merge.

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.

3 participants