[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:
7
src/common/sort.hpp
Normal file
7
src/common/sort.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef __SORT_PCI__
|
||||
#define __SORT_PCI__
|
||||
|
||||
void sort_pci_devices(struct pci_dev **first_dev);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user