fixed hardware monitor for amd/nv (one problem that is still there since last commit: dynamic loading of libnvidia-ml)

This commit is contained in:
philsmd
2015-12-15 18:41:11 +01:00
parent 50f39b3563
commit 3ab7a23cd5
10 changed files with 116 additions and 106 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
#include <nvapi.h>
//typedef NvPhysicalGpuHandle HM_ADAPTER;
typedef NvPhysicalGpuHandle HM_ADAPTER_NV;
int hc_NvAPI_EnumPhysicalGPUs (NvPhysicalGpuHandle nvGPUHandle[NVAPI_MAX_PHYSICAL_GPUS], NvU32 *pGpuCount);
int hc_NvAPI_GPU_GetThermalSettings (NvPhysicalGpuHandle hPhysicalGpu, NvU32 sensorIndex, NV_GPU_THERMAL_SETTINGS *pThermalSettings);