cuda.bindings.nvml.device_discover_gpus#

cuda.bindings.nvml.device_discover_gpus(intptr_t pci_info)#
Request the OS and the NVIDIA kernel driver to rediscover a portion of the PCI subsystem looking for GPUs that were previously removed. The portion of the PCI tree can be narrowed by specifying a domain, bus, and device. If all are zeroes then the entire PCI tree will be searched. Please note that for long-running NVML processes the enumeration will change based on how many GPUs are discovered and where they are inserted in bus order.

:param pci_info: The PCI tree to be searched. Only the domain, bus, and device fields are used in this call.
:type pci_info: intptr_t

.. seealso:: `nvmlDeviceDiscoverGpus`