cuda.bindings.nvml.VgpuPlacementList_v2#
- class cuda.bindings.nvml.VgpuPlacementList_v2#
Empty-initialize an instance of nvmlVgpuPlacementList_v2_t.
See also
nvmlVgpuPlacementList_v2_t
- __init__(*args, **kwargs)#
Methods
__init__(*args, **kwargs)from_buffer(buffer)Create an VgpuPlacementList_v2 instance with the memory from the given buffer.
from_data(data)Create an VgpuPlacementList_v2 instance wrapping the given NumPy array.
from_ptr(intptr_t ptr, bool readonly=False)Create an VgpuPlacementList_v2 instance wrapping the given pointer.
Attributes
modeThe vGPU mode.
placement_idsPlacement IDs for the vGPU type.
placement_sizeThe number of slots occupied by the vGPU type.
ptrGet the pointer address to the data as Python
int.versionThe version number of this struct.