Added support for build without ADL/NVML/NVAPI (issue #120)
Added support for build OSX native binaries (issue #63)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user