pub struct NixlDescriptor {
pub addr: u64,
pub size: usize,
pub mem_type: MemType,
pub device_id: u64,
}Expand description
NIXL descriptor containing registration information.
This struct holds the information needed to describe a memory region to NIXL for transfer operations.
Fields§
§addr: u64Base address of the memory region.
size: usizeSize of the memory region in bytes.
mem_type: MemTypeType of memory (host, device, etc.).
device_id: u64Device identifier (GPU index for device memory, 0 for host memory).
Trait Implementations§
Source§impl Clone for NixlDescriptor
impl Clone for NixlDescriptor
Source§fn clone(&self) -> NixlDescriptor
fn clone(&self) -> NixlDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NixlDescriptor
impl Debug for NixlDescriptor
Source§impl<'de> Deserialize<'de> for NixlDescriptor
impl<'de> Deserialize<'de> for NixlDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl MemoryRegion for NixlDescriptor
impl MemoryRegion for NixlDescriptor
Source§impl NixlDescriptor for NixlDescriptor
impl NixlDescriptor for NixlDescriptor
Auto Trait Implementations§
impl Freeze for NixlDescriptor
impl RefUnwindSafe for NixlDescriptor
impl Send for NixlDescriptor
impl Sync for NixlDescriptor
impl Unpin for NixlDescriptor
impl UnsafeUnpin for NixlDescriptor
impl UnwindSafe for NixlDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more