-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Use pinned memory for doing transfers #80
Comments
Hey, just to be clear, you mean something like RustaCUDA's LockedBuffer, right? FYI I need this to switch from RustaCUDA to cudarc. |
Yep, this will be utilizing cuMemAllocHost and cuMemFreeHost underneath the hood, which is also what the LockedBuffer is using. As far as how this would be integrated into result/safe APIs, we could either:
|
Do you know if this feature has been supported? And how should I pin a certain array? I'm binding my Rust code with my Cuda code, so I really need the support to pin memory in safe Rust code. |
@coreylowman I love your work on this project, thank you for making Rust <-> CUDA interop possible. Do we have any status or roadmap on this feature? If some guidance were available I would be much more than happy to work on it. |
No description provided.
The text was updated successfully, but these errors were encountered: