cuda.bindings.nvml.UnitInfo#
- class cuda.bindings.nvml.UnitInfo#
Empty-initialize an instance of nvmlUnitInfo_t.
See also
nvmlUnitInfo_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an UnitInfo instance with the memory from the given buffer.
from_data(data)Create an UnitInfo instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an UnitInfo instance wrapping the given pointer.
Attributes
firmware_version(array of length 96).
id(array of length 96).
name(array of length 96).
ptrGet the pointer address to the data as Python
int.serial(array of length 96).