Skip to content

[SYCL] Add assert for device_global without device_image_scope #6791

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

device_global is currently not fully supported but for backends that support it, they should be usable on device only when the device_image_scope property is present. This commit adds a temporary static assert to avoid prevent the use of device_global without device_image_scope until proper initialization has been implemented.

device_global is currently not fully supported but for backends that
support it, they should be usable on device only when the
device_image_scope property is present. This commit adds a temporary
static assert to avoid prevent the use of device_global without
device_image_scope until proper initialization has been implemented.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner September 15, 2022 10:53
@steffenlarsen
Copy link
Contributor Author

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

@steffenlarsen steffenlarsen merged commit 832161b into intel:sycl Sep 16, 2022
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