Skip to main content

CUcheckpointCustomStoragePerDeviceData

Type Alias CUcheckpointCustomStoragePerDeviceData 

Source
pub type CUcheckpointCustomStoragePerDeviceData = CUcheckpointCustomStoragePerDeviceData_st;
Expand description

Per-GPU data for zero-copy mapped device memory used with CUDA checkpoint/restore on custom storage.

Aliased Type§

#[repr(C)]
pub struct CUcheckpointCustomStoragePerDeviceData { pub devPtr: u64, pub size: u64, pub stream: *mut CUstream_st, }

Fields§

§devPtr: u64

Zero-copy mapped device memory pointer for the user to copy to/from

§size: u64

Size of mapped memory

§stream: *mut CUstream_st

Stream the user may use for the copy; the CUDA driver synchronizes on this stream before completing checkpoint or restore