From 84d7d926c9cb8670ba71bf0d92bb50d56017a808 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sun, 23 Nov 2014 10:10:09 +0100 Subject: [PATCH] nvml: fix hwinfo gpu vendor/product id subsys ids are wrong... so use generic one --- nvml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvml.cpp b/nvml.cpp index 553940b..07217aa 100644 --- a/nvml.cpp +++ b/nvml.cpp @@ -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 */