1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-01-10 14:57:53 +00:00

nvml: fix hwinfo gpu vendor/product id

subsys ids are wrong... so use generic one
This commit is contained in:
Tanguy Pruvot 2014-11-23 10:10:09 +01:00
parent d7c13b0611
commit 84d7d926c9

View File

@ -191,7 +191,7 @@ wrap_nvml_handle * wrap_nvml_create()
nvmlh->nvml_pci_domain_id[i] = pciinfo.domain;
nvmlh->nvml_pci_bus_id[i] = pciinfo.bus;
nvmlh->nvml_pci_device_id[i] = pciinfo.device;
nvmlh->nvml_pci_subsys_id[i] = pciinfo.pci_subsystem_id;
nvmlh->nvml_pci_subsys_id[i] = pciinfo.pci_device_id;
}
/* build mapping of NVML device IDs to CUDA IDs */