cuda.bindings.nvml.PSUInfo#

class cuda.bindings.nvml.PSUInfo#

Empty-initialize an instance of nvmlPSUInfo_t.

See also

nvmlPSUInfo_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an PSUInfo instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an PSUInfo instance wrapping the given pointer.

Attributes

current

int:

power

int:

ptr

Get the pointer address to the data as Python int.

state

(array of length 256).

voltage

int: