[SYCL][DOC] Physical memory IPC specification, generic handle struct and related aliases.#21949
Open
slawekptak wants to merge 11 commits intointel:syclfrom
Open
[SYCL][DOC] Physical memory IPC specification, generic handle struct and related aliases.#21949slawekptak wants to merge 11 commits intointel:syclfrom
slawekptak wants to merge 11 commits intointel:syclfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the sycl_ext_oneapi_inter_process_communication extension specification to generalize IPC handle representation and to specify IPC support for sycl::ext::oneapi::experimental::physical_mem, while also aligning the existing USM IPC text with the new direction.
Changes:
- Introduces generic IPC handle types under
sycl::ext::oneapi::experimental::ipc(handle,handle_data_t,handle_data_view_t). - Adds a new “Inter-process exchange of physical memory” section with
ipc::physical_memory::{get, open}APIs and the new device aspect. - Updates USM IPC documentation to fix examples/calls and explicitly marks
ipc_memory::handleas backward-compatibility-only pending an ABI break.
…uirement for the open function, add enable_ipc property.
gmlueck
reviewed
May 7, 2026
| [source] | ||
| ---- | ||
| syclext::physical_mem open(const syclext::ipc::handle_data_t &handle_data, | ||
| const sycl::context &ctx, const sycl::device &dev) |
Contributor
There was a problem hiding this comment.
Just checking ... we don't need numBytes here because that is conveyed through the handle_data?
Contributor
Author
There was a problem hiding this comment.
Yes, I think we can store it in the handle_data either on the SYCL or UR layer.
IPC for memory in ipc::memory namespace.
was not created with the enable_ipc property.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce the following changes to the extensions specifications: