From 78c3d25ccf2029a57708ed93c16ea07c80aced38 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Tue, 19 Jul 2016 13:32:04 +0200 Subject: [PATCH] release 1.8, as promised --- README.txt | 4 ++-- configure.sh | 2 +- nvml.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.txt b/README.txt index f435c05..8391498 100644 --- a/README.txt +++ b/README.txt @@ -1,5 +1,5 @@ -ccMiner 1.8 Preview (July 2016) "CUDA 8, lbry and x11evo algos" +ccMiner 1.8 (20th July 2016) "CUDA 8, lbry and x11evo algos" --------------------------------------------------------------- *************************************************************** @@ -243,7 +243,7 @@ features. >>> RELEASE HISTORY <<< - July 2016 v1.8.0 + July 20th 2016 v1.8.0 Pascal support with cuda 8 lbry new multi sha / ripemd algo (LBC) x11evo algo (XRE) diff --git a/configure.sh b/configure.sh index 375b1b8..a4c4f46 100755 --- a/configure.sh +++ b/configure.sh @@ -3,5 +3,5 @@ extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16" CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" \ - ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda-8.0 --with-nvml=libnvidia-ml.so + ./configure CXXFLAGS="-O3 $extracflags" --with-cuda=/usr/local/cuda --with-nvml=libnvidia-ml.so diff --git a/nvml.cpp b/nvml.cpp index 0b32967..509ec6b 100644 --- a/nvml.cpp +++ b/nvml.cpp @@ -1157,12 +1157,12 @@ int nvapi_pstateinfo(unsigned int devNum) uint32_t plim = nvapi_get_plimit(devNum); applog(LOG_RAW, " Power limit is set to %u%%", plim); +#if 0 NVAPI_COOLER_SETTINGS *cooler; NV_INIT_STRUCT_ON(NVAPI_COOLER_SETTINGS, cooler, mem); ret = NvAPI_DLL_GetCoolerSettings(phys[devNum], 7, cooler); if (ret == NVAPI_OK) { - applog(LOG_RAW, " Fan level is set to %u%%", cooler->level); -#if 0 + applog(LOG_RAW, " Fan level is set to %u%%", cooler->level); // wrong val, seems 1 (auto ?) NVAPI_COOLER_LEVEL *fan; NV_INIT_STRUCT_ALLOC(NVAPI_COOLER_LEVEL, fan); fan->level = 100; @@ -1171,8 +1171,8 @@ int nvapi_pstateinfo(unsigned int devNum) free(fan); sleep(10); ret = NvAPI_DLL_RestoreCoolerSettings(phys[devNum], cooler, 7); -#endif } +#endif NV_GPU_THERMAL_SETTINGS *tset; NV_INIT_STRUCT_ON(NV_GPU_THERMAL_SETTINGS, tset, mem);