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 Jan 12, 2018
2 parents 156edc2 + bd0714e commit cb53f54
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ccminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2751,6 +2751,23 @@ int main(int argc, char *argv[])
printf("CUDA support by Christian Buchner, Christian H. and DJM34\n");
printf("Includes optimizations implemented by sp-hash, klaust, tpruvot and tsiv.\n\n");

#ifdef WIN32
if(CUDART_VERSION == 8000 && _MSC_VER > 1900)
printf("WARNING! CUDA 8 is not compatible with Visual Studio versions newer than 2015\n\n");
#endif
#if !defined __clang__ && defined __GNUC__
if(CUDART_VERSION == 8000 && __GNUC__ > 5)
{
printf("WARNING! GCC %d IS NOT COMPATIBLE WITH CUDA 8!\n");
printf("PLEASE USE GCC 5\n");
}
if((CUDART_VERSION == 9000 || CUDART_VERSION == 9010) && __GNUC__ > 6)
{
printf("WARNING! GCC %d IS NOT COMPATIBLE WITH CUDA 9!\n");
printf("PLEASE USE GCC 6\n\n");
}
#endif

rpc_user = strdup("");
rpc_pass = strdup("");

Expand Down

0 comments on commit cb53f54

Please sign in to comment.