Skip to content

[SYCL][Doc] Clarify restrictions on device global variables #4697

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 2 commits into from
Nov 15, 2021

Conversation

gmlueck
Copy link
Contributor

@gmlueck gmlueck commented Oct 4, 2021

Clarify the restrictions for declaring variables of type
device_global. These restrictions are similar to those we have
already for specialization_id variables.

The restriction against arrays of device_global variables is not
strictly necessary, but it would take extra effort to implement and
we do not have a compelling use case. We could lift the restriction
later if we find a need.

Clarify the restrictions for declaring variables of type
`device_global`.  These restrictions are similar to those we have
already for `specialization_id` variables.

The restriction against arrays of `device_global` variables is not
strictly necessary, but it would take extra effort to implement and
we do not have a compelling use case.  We could lift the restriction
later if we find a need.
@gmlueck gmlueck requested a review from a team as a code owner October 4, 2021 15:28
@gmlueck
Copy link
Contributor Author

gmlueck commented Oct 18, 2021

Ping to spec reviewers. Perhaps @mkinsner or @rolandschulz are good candidates to approve?

jbrodman
jbrodman previously approved these changes Oct 26, 2021
@gmlueck
Copy link
Contributor Author

gmlueck commented Nov 2, 2021

@bader: Can this be merged? This PR changes only the extension API specification, and a member of @intel/dpcpp-specification-reviewers has signed off.

@dm-vodopyanov
Copy link
Contributor

@gmlueck, can you please resolve a conflict in
sycl/doc/extensions/DeviceGlobal/SYCL_INTEL_device_global.asciidoc?

@gmlueck
Copy link
Contributor Author

gmlueck commented Nov 8, 2021

@gmlueck, can you please resolve a conflict in sycl/doc/extensions/DeviceGlobal/SYCL_INTEL_device_global.asciidoc?

Done.

@gmlueck
Copy link
Contributor Author

gmlueck commented Nov 10, 2021

ping to @dm-vodopyanov. Can this be merged now? The conflicts are resolved.

@bader bader changed the title Clarify restrictions on device global variables [SYCL][Doc] Clarify restrictions on device global variables Nov 15, 2021
@bader bader merged commit 589d488 into intel:sycl Nov 15, 2021
gmlueck added a commit to gmlueck/llvm that referenced this pull request Nov 15, 2021
Since PR intel#4697 was merged, there is no need to point to that PR.
Instead, just point to the extension specification for device global.
@gmlueck gmlueck deleted the gmlueck/device-global-restrictions branch January 18, 2022 22:50
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