#[repr(C)]pub struct CUcheckpointCustomStoragePerDeviceData_st {
pub devPtr: CUdeviceptr,
pub size: size_t,
pub stream: CUstream,
}Expand description
Per-GPU data for zero-copy mapped device memory used with CUDA checkpoint/restore on custom storage.
Fields§
§devPtr: CUdeviceptrZero-copy mapped device memory pointer for the user to copy to/from.
size: size_tSize of mapped memory.
stream: CUstreamStream the user may use for the copy; the CUDA driver synchronizes on this stream before completing checkpoint or restore.
Trait Implementations§
impl Copy for CUcheckpointCustomStoragePerDeviceData_st
impl Eq for CUcheckpointCustomStoragePerDeviceData_st
Source§impl Ord for CUcheckpointCustomStoragePerDeviceData_st
impl Ord for CUcheckpointCustomStoragePerDeviceData_st
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUcheckpointCustomStoragePerDeviceData_st
impl PartialOrd for CUcheckpointCustomStoragePerDeviceData_st
impl StructuralPartialEq for CUcheckpointCustomStoragePerDeviceData_st
Auto Trait Implementations§
impl !Send for CUcheckpointCustomStoragePerDeviceData_st
impl !Sync for CUcheckpointCustomStoragePerDeviceData_st
impl Forget for CUcheckpointCustomStoragePerDeviceData_st
impl Freeze for CUcheckpointCustomStoragePerDeviceData_st
impl Move for CUcheckpointCustomStoragePerDeviceData_st
impl RefUnwindSafe for CUcheckpointCustomStoragePerDeviceData_st
impl Unpin for CUcheckpointCustomStoragePerDeviceData_st
impl UnsafeUnpin for CUcheckpointCustomStoragePerDeviceData_st
impl UnwindSafe for CUcheckpointCustomStoragePerDeviceData_st
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