1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-02-02 01:44:32 +00:00

nvml: vid/pid was reversed

This commit is contained in:
Tanguy Pruvot 2014-11-23 11:17:52 +01:00
parent e2ac7a2a75
commit f42bb85785

View File

@ -330,8 +330,8 @@ int wrap_nvml_get_info(wrap_nvml_handle *nvmlh, int cudaindex, uint16_t *vid, ui
return -1;
subids = nvmlh->nvml_pci_subsys_id[gpuindex];
(*vid) = subids >> 16;
(*pid) = subids & 0xFFFF;
(*pid) = subids >> 16;
(*vid) = subids & 0xFFFF;
return 0;
}