cuda.bindings.nvml.vgpu_instance_get_gpu_pci_id#

cuda.bindings.nvml.vgpu_instance_get_gpu_pci_id(unsigned int vgpu_instance) str#

Retrieves the PCI Id of the given vGPU Instance i.e. the PCI Id of the GPU as seen inside the VM.

Parameters:

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

Returns:

Caller-supplied buffer to return vGPU PCI Id string.

Return type:

char

See also

nvmlVgpuInstanceGetGpuPciId