Skip to content

[SYCL] Allow const device_global #8642

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 1 commit into from
Mar 21, 2023

Conversation

steffenlarsen
Copy link
Contributor

This commit default constructs the USM pointer member of a device_global without the device_image_scope property. This fixes an issue where the compiler would disallow device_global from being const.

This commit default constructs the USM pointer member of a
device_global without the device_image_scope property. This fixes an
issue where the compiler would disallow device_global from being const.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen requested a review from a team as a code owner March 14, 2023 14:21
@steffenlarsen steffenlarsen requested a review from againull March 14, 2023 14:21
@steffenlarsen steffenlarsen temporarily deployed to aws March 14, 2023 14:49 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws March 14, 2023 15:16 — with GitHub Actions Inactive
@AlexeySachkov AlexeySachkov requested a review from a team March 16, 2023 09:22
@steffenlarsen steffenlarsen merged commit a43c5bd into intel:sycl Mar 21, 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