cuda.bindings.nvml.vgpu_instance_get_gpu_instance_id#

cuda.bindings.nvml.vgpu_instance_get_gpu_instance_id(
unsigned int vgpu_instance,
) unsigned int#

Retrieve the GPU Instance ID for the given vGPU Instance. The API will return a valid GPU Instance ID for MIG backed vGPU Instance, else INVALID_GPU_INSTANCE_ID is returned.

Parameters:

vgpu_instance (unsigned int) – Identifier of the target vGPU instance.

Returns:

GPU Instance ID.

Return type:

unsigned int

See also

nvmlVgpuInstanceGetGpuInstanceId