1
0
mirror of https://github.com/GOSTSec/ccminer synced 2025-02-02 01:44:32 +00:00

heavy: fix define typo, else it works with cuda 7.5

This commit is contained in:
Tanguy Pruvot 2015-10-26 07:55:48 +01:00
parent 31bd1697b1
commit c4d6310143

View File

@ -1,9 +1,15 @@
#include <stdio.h> #include <stdio.h>
#include <openssl/sha.h> #include <openssl/sha.h>
#include <cuda.h>
#include <map> #include <map>
// include thrust // include thrust if possible
#define USE_TRUST 1 #if defined(__GNUC__) && __GNUC__ == 5 && __GNUC_MINOR__ >= 2 && CUDA_VERSION < 7000
#warning "Heavy: incompatible GCC version!"
#define USE_THRUST 0
#else
#define USE_THRUST 1
#endif
#if USE_THRUST #if USE_THRUST
#include <thrust/remove.h> #include <thrust/remove.h>