Browse Source

release 1.8, as promised

2upstream 1.8.0-tpruvot
Tanguy Pruvot 9 years ago
parent
commit
78c3d25ccf
  1. 4
      README.txt
  2. 2
      configure.sh
  3. 6
      nvml.cpp

4
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 <<< >>> RELEASE HISTORY <<<
July 2016 v1.8.0 July 20th 2016 v1.8.0
Pascal support with cuda 8 Pascal support with cuda 8
lbry new multi sha / ripemd algo (LBC) lbry new multi sha / ripemd algo (LBC)
x11evo algo (XRE) x11evo algo (XRE)

2
configure.sh

@ -3,5 +3,5 @@
extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16" extracflags="-march=native -D_REENTRANT -falign-functions=16 -falign-jumps=16 -falign-labels=16"
CUDA_CFLAGS="-O3 -lineno -Xcompiler -Wall -D_FORCE_INLINES" \ 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

6
nvml.cpp

@ -1157,12 +1157,12 @@ int nvapi_pstateinfo(unsigned int devNum)
uint32_t plim = nvapi_get_plimit(devNum); uint32_t plim = nvapi_get_plimit(devNum);
applog(LOG_RAW, " Power limit is set to %u%%", plim); applog(LOG_RAW, " Power limit is set to %u%%", plim);
#if 0
NVAPI_COOLER_SETTINGS *cooler; NVAPI_COOLER_SETTINGS *cooler;
NV_INIT_STRUCT_ON(NVAPI_COOLER_SETTINGS, cooler, mem); NV_INIT_STRUCT_ON(NVAPI_COOLER_SETTINGS, cooler, mem);
ret = NvAPI_DLL_GetCoolerSettings(phys[devNum], 7, cooler); ret = NvAPI_DLL_GetCoolerSettings(phys[devNum], 7, cooler);
if (ret == NVAPI_OK) { if (ret == NVAPI_OK) {
applog(LOG_RAW, " Fan level is set to %u%%", cooler->level); applog(LOG_RAW, " Fan level is set to %u%%", cooler->level); // wrong val, seems 1 (auto ?)
#if 0
NVAPI_COOLER_LEVEL *fan; NVAPI_COOLER_LEVEL *fan;
NV_INIT_STRUCT_ALLOC(NVAPI_COOLER_LEVEL, fan); NV_INIT_STRUCT_ALLOC(NVAPI_COOLER_LEVEL, fan);
fan->level = 100; fan->level = 100;
@ -1171,8 +1171,8 @@ int nvapi_pstateinfo(unsigned int devNum)
free(fan); free(fan);
sleep(10); sleep(10);
ret = NvAPI_DLL_RestoreCoolerSettings(phys[devNum], cooler, 7); ret = NvAPI_DLL_RestoreCoolerSettings(phys[devNum], cooler, 7);
#endif
} }
#endif
NV_GPU_THERMAL_SETTINGS *tset; NV_GPU_THERMAL_SETTINGS *tset;
NV_INIT_STRUCT_ON(NV_GPU_THERMAL_SETTINGS, tset, mem); NV_INIT_STRUCT_ON(NV_GPU_THERMAL_SETTINGS, tset, mem);

Loading…
Cancel
Save