Browse Source

lyra2: clean the intelli-non-sense stuff

2upstream
Tanguy Pruvot 8 years ago
parent
commit
b549bd54fe
  1. 6
      lyra2/cuda_lyra2_sm2.cuh
  2. 6
      lyra2/cuda_lyra2v2_sm3.cuh

6
lyra2/cuda_lyra2_sm2.cuh

@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
#include <memory.h>
#ifdef __INTELLISENSE__
/* just for vstudio code colors */
#undef __CUDA_ARCH__
#define __CUDA_ARCH__ 500
/* just for vstudio code colors, only uncomment that temporary, dont commit it */
//#undef __CUDA_ARCH__
//#define __CUDA_ARCH__ 500
#endif
#include "cuda_helper.h"

6
lyra2/cuda_lyra2v2_sm3.cuh

@ -1,9 +1,9 @@ @@ -1,9 +1,9 @@
/* SM 2/3/3.5 Variant for lyra2REv2 */
#ifdef __INTELLISENSE__
/* just for vstudio code colors */
#undef __CUDA_ARCH__
#define __CUDA_ARCH__ 350
/* just for vstudio code colors, only uncomment that temporary, dont commit it */
//#undef __CUDA_ARCH__
//#define __CUDA_ARCH__ 500
#endif
#define TPB20 64

Loading…
Cancel
Save