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.
The vGPU PCI id is returned as “00000000:00:00.0” if NVIDIA driver is not installed on the vGPU instance.
- 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