Browse Source

prepare release 1.6.6

2upstream
Tanguy Pruvot 9 years ago
parent
commit
64e997e9d6
  1. 2
      ccminer.cpp
  2. 6
      cpuminer-config.h
  3. 2
      nvml.cpp

2
ccminer.cpp

@ -1067,7 +1067,7 @@ static bool get_mininginfo(CURL *curl, struct work *work) @@ -1067,7 +1067,7 @@ static bool get_mininginfo(CURL *curl, struct work *work)
}
key = json_object_get(res, "netmhashps");
if (key && json_is_real(key)) {
net_hashrate = (json_real_value(key) * 1e6);
net_hashrate = (uint64_t)(json_real_value(key) * 1e6);
}
key = json_object_get(res, "blocks");
if (key && json_is_integer(key)) {

6
cpuminer-config.h

@ -162,7 +162,7 @@ @@ -162,7 +162,7 @@
#define PACKAGE_NAME "ccminer"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "ccminer 1.6.5-C11"
#define PACKAGE_STRING "ccminer 1.6.6"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ccminer"
@ -171,7 +171,7 @@ @@ -171,7 +171,7 @@
#define PACKAGE_URL "http://github.com/tpruvot/ccminer"
/* Define to the version of this package. */
#define PACKAGE_VERSION "1.6.5-C11"
#define PACKAGE_VERSION "1.6.6"
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
@ -185,7 +185,7 @@ @@ -185,7 +185,7 @@
#define STDC_HEADERS 1
/* Version number of package */
#define VERSION "1.6.5-C11"
#define VERSION "1.6.6"
/* Define curl_free() as free() if our version of curl lacks curl_free. */
/* #undef curl_free */

2
nvml.cpp

@ -338,7 +338,7 @@ int nvml_set_clocks(nvml_handle *nvmlh, int dev_id) @@ -338,7 +338,7 @@ int nvml_set_clocks(nvml_handle *nvmlh, int dev_id)
nclocks = min(nclocks, 127);
if (nclocks)
nvmlh->nvmlDeviceGetSupportedMemoryClocks(nvmlh->devs[n], &nclocks, clocks);
for (int8_t u=0; u < nclocks; u++) {
for (uint8_t u=0; u < nclocks; u++) {
// ordered by pstate (so highest is first memory clock - P0)
if (clocks[u] <= mem_clk) {
mem_clk = clocks[u];

Loading…
Cancel
Save