Expand description
Local memory abstractions for RDMA operations.
This module defines the RdmaLocalMemory trait and its implementations:
KeepaliveLocalMemory– wraps a raw pointer with a keepalive guard and dispatches reads/writes to CPU or CUDA paths.UnsafeLocalMemory– raw pointer-based handle where the caller is responsible for lifetime management.
Structs§
- Keepalive
Local Memory - Local memory handle that keeps its backing allocation alive via an
Arc<dyn Keepalive>. - Unsafe
Local Memory - Raw pointer-based local memory handle that supports both CPU and GPU memory.
Traits§
- Keepalive
- Marker trait: the implementor keeps a backing memory allocation alive.
- Rdma
Local Memory - Handle to a contiguous region of local memory.
Functions§
- is_
device_ ptr - Returns
truewhenaddris a CUDA device pointer.