cuda.bindings._v2.driver.CheckpointGpuPair#

class cuda.bindings._v2.driver.CheckpointGpuPair#

Empty-initialize an instance of CUcheckpointGpuPair.

See also

CUcheckpointGpuPair

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

Create an CheckpointGpuPair instance with the memory from the given buffer.

from_data(data)

Create an CheckpointGpuPair instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an CheckpointGpuPair instance wrapping the given pointer.

Attributes

new_uuid

Uuid:

old_uuid

Uuid:

ptr

Get the pointer address to the data as Python int.