Skip to main content

Module local_memory

Module local_memory 

Source
Expand description

Local memory abstractions for RDMA operations.

KeepaliveLocalMemory wraps a raw pointer with a Keepalive guard and dispatches reads/writes to CPU or CUDA paths.

Structs§

KeepaliveLocalMemory
Local memory handle that keeps its backing allocation alive via an Arc<dyn Keepalive>.

Traits§

Keepalive
Marker trait: the implementor keeps a backing memory allocation alive.

Functions§

is_device_ptr
Returns true when addr is a CUDA device pointer.