Skip to content

Conversation

@andfoy
Copy link

@andfoy andfoy commented Oct 22, 2025

This PR exposes the functions cudaIpcGetMemHandle, cudaIpcOpenMemHandle and cudaIpcCloseMemHandle, it also adds the definition for cudaIpcMemHandle_t, which are required to share device memory pointers between processes. This can be helpful for cross-language IPC access, e.g., creating a CuPy array in Python and then accessing the values as a tch::Tensor.

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