cuda.bindings.nvml.ComputeInstanceInfo#

class cuda.bindings.nvml.ComputeInstanceInfo#

Empty-initialize an instance of nvmlComputeInstanceInfo_t.

See also

nvmlComputeInstanceInfo_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an ComputeInstanceInfo instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an ComputeInstanceInfo instance wrapping the given pointer.

Attributes

device_

int:

gpu_instance

int:

id

int:

placement

ComputeInstancePlacement:

profile_id

int:

ptr

Get the pointer address to the data as Python int.