Skip to content

[SYCL] Implement sycl_ext_oneapi_root_group #9396

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

Merged
merged 5 commits into from
May 16, 2023

Conversation

0x12CC
Copy link
Contributor

@0x12CC 0x12CC commented May 10, 2023

Implements the extension proposed in llvm/sycl/sycl/doc/extensions/proposed/sycl_ext_oneapi_root_group.asciidoc. The implementation is complete, but the max_num_work_group_sync query always returns 1. The implemented barrier has work group scope since all work items in a root group are currently in the same work group. The two TODO annotations (in the query and barrier code) can be updated once the backends include the required functionality.

@0x12CC 0x12CC requested a review from a team as a code owner May 10, 2023 16:47
@0x12CC 0x12CC requested a review from steffenlarsen May 10, 2023 16:47
@steffenlarsen steffenlarsen requested a review from Pennycook May 10, 2023 18:15
@steffenlarsen
Copy link
Contributor

@0x12CC - Could you please add a description detailing what this implements and what it doesn't? It seems like there are a handful of TODO's in here, so it may help us understand how fully implemented the extension is when this is merged.

Copy link
Contributor

@Pennycook Pennycook left a comment

Choose a reason for hiding this comment

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

Thank you for implementing this!

@AlexeySachkov
Copy link
Contributor

@intel/sycl-language-enabling-triage: FYI

@0x12CC 0x12CC requested review from steffenlarsen and Pennycook May 15, 2023 21:21
@0x12CC 0x12CC requested a review from steffenlarsen May 16, 2023 13:45
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.

LGTM!

@0x12CC 0x12CC temporarily deployed to aws May 16, 2023 14:11 — with GitHub Actions Inactive
@0x12CC 0x12CC temporarily deployed to aws May 16, 2023 15:12 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen merged commit 743c35b into intel:sycl May 16, 2023
@0x12CC 0x12CC deleted the root_group branch May 16, 2023 16:36
@0x12CC 0x12CC restored the root_group branch May 29, 2023 21:00
@0x12CC 0x12CC deleted the root_group branch September 29, 2023 15:51
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.

5 participants