cuda.bindings._v2.driver.CheckpointRestoreArgs#
- class cuda.bindings._v2.driver.CheckpointRestoreArgs#
Empty-initialize an instance of CUcheckpointRestoreArgs.
See also
CUcheckpointRestoreArgs
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an CheckpointRestoreArgs instance with the memory from the given buffer.
from_data(data)Create an CheckpointRestoreArgs instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an CheckpointRestoreArgs instance wrapping the given pointer.
Attributes
custom_storage_info_outint:
gpu_pairsint:
gpu_pairs_countint:
ptrGet the pointer address to the data as Python
int.