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_out

int:

gpu_pairs

int:

gpu_pairs_count

int:

ptr

Get the pointer address to the data as Python int.