[v0.23] Sort PCI devices; this makes the devices list to match CUDA driver ordering, which fixes a bug when there was more than one NVIDIA GPU
This commit is contained in:
@@ -15,7 +15,7 @@ struct pci {
|
||||
uint16_t func;
|
||||
};
|
||||
|
||||
struct pci* get_pci_from_pciutils(struct pci_dev *devices, int id);
|
||||
struct pci* get_pci_from_pciutils(struct pci_dev *devices, int id, int idx);
|
||||
struct pci_dev *get_pci_devices_from_pciutils();
|
||||
void print_gpus_list_pci();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user