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