cuda.bindings.nvml.device_get_handle_by_pci_bus_id_v2#
- cuda.bindings.nvml.device_get_handle_by_pci_bus_id_v2(pci_bus_id) intptr_t#
Acquire the handle for a particular device, based on its PCI bus id. :param pci_bus_id: The PCI bus id of the target GPU Accept the following formats (all numbers in hexadecimal): domain:bus:device.function in format x:x:x.x domain:bus:device in format x:x:x bus:device.function in format x:x.x. :type pci_bus_id: str :returns: Reference in which to return the device handle. :rtype: intptr_t .. seealso:: `nvmlDeviceGetHandleByPciBusId_v2`