cuda.bindings.nvml.Utilization#

class cuda.bindings.nvml.Utilization#

Empty-initialize an instance of nvmlUtilization_t.

See also

nvmlUtilization_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an Utilization instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an Utilization instance wrapping the given pointer.

Attributes

gpu

int:

memory

int:

ptr

Get the pointer address to the data as Python int.