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