Skip to content

[SYCL] Support device_global in SYCLBIN kernel_bundle #19164

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

Draft
wants to merge 2 commits into
base: sycl
Choose a base branch
from

Conversation

steffenlarsen
Copy link
Contributor

@steffenlarsen steffenlarsen commented Jun 26, 2025

This commit adds the functionality for using device_global in SYCLBIN-based kernel_bundle, with some temporary limitations such as the names have to be without namespace qualification.

This commit changes the use of RTDeviceBinaryImage pointers to be const
in more places. Primary cases where we break this is for compressed
images, where decompression happens semi-lazily, so const-casts are
occassionally necessary.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen
Copy link
Contributor Author

Based on #19099 so I'll keep it draft while it gets reviewed.

Signed-off-by: Larsen, Steffen <[email protected]>
@steffenlarsen steffenlarsen changed the title [SYCL][NFCI] Make device binary image pointers const in more places [SYCL] Support device_global in SYCLBIN kernel_bundle Jun 26, 2025
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.

1 participant