[v0.25] Leave cuda/intel backend to decide how to report PCI vendor failure

This commit is contained in:
Dr-Noob
2023-03-31 16:16:46 +02:00
parent 3d36852f9d
commit ed35cb872b
3 changed files with 2 additions and 1 deletions

View File

@@ -152,6 +152,7 @@ struct gpu_info* get_gpu_info_cuda(struct pci_dev *devices, int gpu_idx) {
strcpy(gpu->name, deviceProp.name);
if((gpu->pci = get_pci_from_pciutils(devices, PCI_VENDOR_ID_NVIDIA, gpu_idx)) == NULL) {
printErr("Unable to find a valid device for vendor id 0x%.4X using pciutils", PCI_VENDOR_ID_NVIDIA);
return NULL;
}
gpu->arch = get_uarch_from_cuda(gpu);