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_valfloat:
ptrGet the pointer address to the data as Python
int.si_valint:
sll_valint:
ui_valint:
ul_valint:
ull_valint:
us_valint: