cuda.bindings.nvml.Value#

class cuda.bindings.nvml.Value#

Empty-initialize an instance of nvmlValue_t.

See also

nvmlValue_t

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

from_buffer(buffer)

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

from_data(data)

Create an Value instance wrapping the given NumPy array.

from_ptr(intptr_t ptr, bool readonly=False)

Create an Value instance wrapping the given pointer.

Attributes

d_val

float:

ptr

Get the pointer address to the data as Python int.

si_val

int:

sll_val

int:

ui_val

int:

ul_val

int:

ull_val

int:

us_val

int: