Added support for build without ADL/NVML/NVAPI (issue #120)

Added support for build OSX native binaries (issue #63)
This commit is contained in:
Gabriele 'matrix' Gristina
2016-01-20 20:55:09 +01:00
parent c3bb94f5d0
commit 5da79e4411
13 changed files with 456 additions and 108 deletions
+4
View File
@@ -6,6 +6,8 @@
#ifndef EXT_NVML_H
#define EXT_NVML_H
#if defined(HAVE_HWMON) && defined(HAVE_NVML)
#include <common.h>
#include <nvml.h>
@@ -31,4 +33,6 @@ nvmlReturn_t hc_NVML_nvmlDeviceGetFanSpeed (HM_LIB hDLL, int, nvmlDevice_t devic
nvmlReturn_t hc_NVML_nvmlDeviceGetPowerUsage (HM_LIB hDLL, nvmlDevice_t device, unsigned int *power);
nvmlReturn_t hc_NVML_nvmlDeviceGetUtilizationRates (HM_LIB hDLL, nvmlDevice_t device, nvmlUtilization_t *utilization);
#endif // HAVE_HWMON && HAVE_NVML
#endif