Skip to content

Commit

Permalink
Merge branch 'windows' into cuda9
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausT committed Dec 15, 2017
2 parents 0bd6247 + c7fa7ac commit c3d6245
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ccMiner release 8.15(KlausT-mod) (November 21th, 2017)
ccMiner release 8.16(KlausT-mod) (December 15th, 2017)
---------------------------------------------------------------

***************************************************************
Expand Down Expand Up @@ -244,6 +244,7 @@ features.
fix bug that prevented a reconnect after a connection loss
2017-11-21 v8.15: support up to 16 GPUs
fix problem with not exiting when there's an error
2017-12-15 v8.16: add sm_71 (Titan cards) (CUDA 9 and newer versions)
>>> AUTHORS <<<

Notable contributors to this application are:
Expand Down
6 changes: 3 additions & 3 deletions ccminer-config-win.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
#define PACKAGE_NAME "ccminer"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "ccminer 8.15-KlausT"
#define PACKAGE_STRING "ccminer 8.16-KlausT"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "ccminer"
Expand All @@ -165,7 +165,7 @@
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "8.15-KlausT"
#define PACKAGE_VERSION "8.16-KlausT"

/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
Expand All @@ -188,7 +188,7 @@
//#define USE_XOP 1

/* Version number of package */
#define VERSION "8.15-KlausT"
#define VERSION "8.16-KlausT"

/* Define curl_free() as free() if our version of curl lacks curl_free. */
/* #undef curl_free */
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([ccminer], [8.15-KlausT])
AC_INIT([ccminer], [8.16-KlausT])

AC_PREREQ([2.59c])
AC_CANONICAL_SYSTEM
Expand Down
10 changes: 8 additions & 2 deletions lyra2/lyra2REv2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,14 @@ int scanhash_lyra2v2(int thr_id, uint32_t *pdata,

cudaDeviceProp props;
cudaGetDeviceProperties(&props, device_map[thr_id]);

if(strstr(props.name, "1080"))
if(strstr(props.name, "Titan"))
{
intensity = 256 * 256 * 15;
#ifdef _WIN64
intensity = 256 * 256 * 22;
#endif
}
else if(strstr(props.name, "1080"))
{
intensity = 256 * 256 * 15;
#ifdef _WIN64
Expand Down
3 changes: 2 additions & 1 deletion x11/c11.cu
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ int scanhash_c11(int thr_id, uint32_t *pdata,
#if defined WIN32 && !defined _WIN64
intensity = 256 * 256 * 16;
#else
if(strstr(props.name, "970")) intensity = (256 * 256 * 22);
if(strstr(props.name, "Titan")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "970")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "980")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "1070")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "1080")) intensity = (256 * 256 * 22);
Expand Down
3 changes: 2 additions & 1 deletion x11/x11.cu
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ extern int scanhash_x11(int thr_id, uint32_t *pdata,
#if defined WIN32 && !defined _WIN64
intensity = 256 * 256 * 16;
#else
if(strstr(props.name, "970")) intensity = (256 * 256 * 22);
if(strstr(props.name, "Titan")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "970")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "980")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "1070")) intensity = (256 * 256 * 22);
else if(strstr(props.name, "1080")) intensity = (256 * 256 * 22);
Expand Down

0 comments on commit c3d6245

Please sign in to comment.