[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:
@@ -4,7 +4,7 @@
|
||||
#include "../common/gpu.hpp"
|
||||
#define CUDA_DRIVER_START_WARNING "Waiting for CUDA driver to start..."
|
||||
|
||||
struct gpu_info* get_gpu_info_cuda(int gpu_idx);
|
||||
struct gpu_info* get_gpu_info_cuda(struct pci_dev *devices, int gpu_idx);
|
||||
bool print_gpu_cuda(struct gpu_info* gpu);
|
||||
char* get_str_sm(struct gpu_info* gpu);
|
||||
char* get_str_cores_sm(struct gpu_info* gpu);
|
||||
|
||||
Reference in New Issue
Block a user