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. :param device: The identifier of the target device. :type device: intptr_t :param vgpu_type_id: Handle to vGPU type. :type vgpu_type_id: unsigned int :returns: Pointer to get the max number of vGPU instances that can be created on a deicve for given vgpu_type_id. :rtype: unsigned int .. seealso:: `nvmlVgpuTypeGetMaxInstances`