Skip to content

Conversation

jopperm
Copy link
Contributor

@jopperm jopperm commented Mar 12, 2025

Adds three new methods on kernel_bundle to interact with device globals defined in runtime-compiled code:

bool ext_oneapi_has_device_global(const std::string &name);
void *ext_oneapi_get_device_global_address(const std::string &name, const device &dev); // return a device USM pointer suitable for queue::memcpy etc.
size_t ext_oneapi_get_device_global_size(const std::string &name);

@jopperm jopperm force-pushed the rtc-devglobs-spec-new branch from 13dc424 to 10aa1c8 Compare March 12, 2025 05:38
@sommerlukas sommerlukas marked this pull request as ready for review March 14, 2025 08:28
@sommerlukas sommerlukas requested a review from a team as a code owner March 14, 2025 08:28
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.

3 participants