Skip to content
This repository was archived by the owner on Apr 24, 2022. It is now read-only.

Hardware Monitoring for NVML, ADL and AMDGPU SysFS #319

Merged
merged 8 commits into from
Nov 27, 2017
4 changes: 2 additions & 2 deletions libhwmon/wrapadl.cpp
Original file line number Diff line number Diff line change
@@ -30,10 +30,10 @@ wrap_adl_handle * wrap_adl_create()
#define libatiadlxx "atiadlxx.dll"
#elif defined(__linux) && (defined(__i386__) || defined(__ARM_ARCH_7A__))
/* 32-bit linux assumed */
#define libatiadlxx "/usr/lib32/libatiadlxx.so"
#define libatiadlxx "libatiadlxx.so"
#elif defined(__linux)
/* 64-bit linux assumed */
#define libatiadlxx "/usr/lib/libatiadlxx.so"
#define libatiadlxx "libatiadlxx.so"
#else
#error "Unrecognized platform: need NVML DLL path for this platform..."
#endif
4 changes: 2 additions & 2 deletions libhwmon/wrapnvml.cpp
Original file line number Diff line number Diff line change
@@ -47,10 +47,10 @@ wrap_nvml_handle * wrap_nvml_create() {
#define libnvidia_ml "%PROGRAMFILES%/NVIDIA Corporation/NVSMI/nvml.dll"
#elif defined(__linux) && (defined(__i386__) || defined(__ARM_ARCH_7A__))
/* 32-bit linux assumed */
#define libnvidia_ml "/usr/lib32/libnvidia-ml.so"
#define libnvidia_ml "libnvidia-ml.so"
#elif defined(__linux)
/* 64-bit linux assumed */
#define libnvidia_ml "/usr/lib/libnvidia-ml.so"
#define libnvidia_ml "libnvidia-ml.so"
#else
#error "Unrecognized platform: need NVML DLL path for this platform..."
#endif