Skip to content

[SYCL] Default initialize group_local_memory_for_overwrite #8472

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

Conversation

steffenlarsen
Copy link
Contributor

In accordance with the extension introducing it, the group_local_memory_for_overwrite should default initialize its data. This commit adds this behavior, making it only initialize and synchronize when needed.

Additionally it changes the local ID calculation in group_local_memory use the group, as suggested in the TODO.

In accordance with the extension introducing it, the
group_local_memory_for_overwrite should default initialize its data.
This commit adds this behavior, making it only initialize and
synchronize when needed.

Additionally it changes the local ID calculation in group_local_memory
use the group, as suggested in the TODO.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner February 27, 2023 14:19
@steffenlarsen
Copy link
Contributor Author

/verify with intel/llvm-test-suite#1619

Copy link
Contributor

@againull againull left a comment

Choose a reason for hiding this comment

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

LGTM

@againull againull merged commit 37a43f9 into intel:sycl Feb 27, 2023
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.

2 participants