Skip to content
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

Documentation and example of usage of cuMemExportToShareableHandle #174

Closed
MaximeDebarbat opened this issue Oct 16, 2024 · 2 comments
Closed
Labels
cuda.bindings Everything related to the cuda.bindings module

Comments

@MaximeDebarbat
Copy link

It would be great to have a reproductible example of the usage of cuMemExportToShareableHandle.

I have spent hours now trying to use it unsuccessfully. My goal is simply to transfer cuda memory between 2 processes in 2 different containers, the nature of the data being media, it should be real time scalable. I thus trust cuMemExportToShareableHandle is the way to go.

@leofang
Copy link
Member

leofang commented Oct 20, 2024

Hi @MaximeDebarbat, sorry this fell through the crack, as noted elsewhere #129 (comment) please refer to CUDA C/C++ samples if you don't find what you need in this repo. For IPC through the mem export API, perhaps this could be a good starting point?
https://github.com/NVIDIA/cuda-samples/tree/9c688d7ff78455ed42e345124d1495aad6bf66de/Samples/3_CUDA_Features/memMapIPCDrv

@leofang leofang added the cuda.bindings Everything related to the cuda.bindings module label Oct 20, 2024
@leofang leofang closed this as completed Jan 18, 2025
@leofang
Copy link
Member

leofang commented Jan 18, 2025

Closing due to lack of response. Let us know if you have further questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.bindings Everything related to the cuda.bindings module
Projects
None yet
Development

No branches or pull requests

2 participants