Expand description
2026-09-25: Minimal CUDA driver-API FFI for metrale-storage: context and stream, device and pinned host buffers, async copies, stream sync.
Owner: metrale-storage. Invariants:
- A non-zero driver status becomes an
Errnaming the call, except in theDropimpls, which ignore the status of the free or destroy call.
Re-exports§
pub use crate::cuda_module::CudaEvent;pub use crate::cuda_module::CudaModule;pub use crate::cuda_module::launch_kernel;
Structs§
Functions§
- copy_
d_ to_ h_ async - copy_
h_ to_ d_ async - mem_
info - 2026-09-25: The current context’s free and total device memory in bytes
(
cuMemGetInfo). - stream_
sync