Expand description
External memory / semaphore interop via the Runtime API.
Mirrors [baracuda_driver::external]. Because cudaExternalMemory_t
and CUexternalMemory are typedef-compatible (same underlying C
pointer), the two wrappers are interchangeable at the handle level —
this module exists so Runtime-API users don’t have to pull in the
Driver crate just for external-resource import.
Struct layouts (CUDA_EXTERNAL_MEMORY_HANDLE_DESC etc.) are shared
with the Driver API — populate using the same typed builders in
baracuda_cuda_sys::types.
Structs§
- External
Memory - An imported external-memory handle (Vulkan
VkDeviceMemory, D3D12 heap / resource, NvSciBuf, DMA-buf FD, …). Destroyed on drop. - External
Semaphore - An imported external-semaphore handle. Destroyed on drop.