cuda.bindings.nvml.VgpuVersion#
- class cuda.bindings.nvml.VgpuVersion#
Empty-initialize an instance of nvmlVgpuVersion_t.
See also
nvmlVgpuVersion_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an VgpuVersion instance with the memory from the given buffer.
from_data(data)Create an VgpuVersion instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an VgpuVersion instance wrapping the given pointer.
Attributes
max_versionint:
min_versionint:
ptrGet the pointer address to the data as Python
int.