cuda.bindings.nvml.vgpu_instance_get_vm_id#

cuda.bindings.nvml.vgpu_instance_get_vm_id(unsigned int vgpu_instance) tuple#

Retrieve the VM ID associated with a vGPU instance.

Parameters:

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

Returns:

  • char: Pointer to caller-supplied buffer to hold VM ID.

  • int: Pointer to hold VM ID type.

Return type:

A 2-tuple containing

See also

nvmlVgpuInstanceGetVmID