cuda.bindings.nvml.vgpu_type_get_max_instances#
- cuda.bindings.nvml.vgpu_type_get_max_instances(
- intptr_t device,
- unsigned int vgpu_type_id,
Retrieve the maximum number of vGPU instances creatable on a device for given vGPU type.
For Kepler ™️ or newer fully supported devices.
- Parameters:
device (intptr_t) – The identifier of the target device.
vgpu_type_id (unsigned int) – Handle to vGPU type.
- Returns:
- Pointer to get the max number of vGPU instances that
can be created on a deicve for given vgpu_type_id.
- Return type:
unsigned int
See also
nvmlVgpuTypeGetMaxInstances