Browse Source

lyra2: clean the intelli-non-sense stuff

2upstream
Tanguy Pruvot 7 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 @@
#include <memory.h> #include <memory.h>
#ifdef __INTELLISENSE__ #ifdef __INTELLISENSE__
/* just for vstudio code colors */ /* just for vstudio code colors, only uncomment that temporary, dont commit it */
#undef __CUDA_ARCH__ //#undef __CUDA_ARCH__
#define __CUDA_ARCH__ 500 //#define __CUDA_ARCH__ 500
#endif #endif
#include "cuda_helper.h" #include "cuda_helper.h"

6
lyra2/cuda_lyra2v2_sm3.cuh

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

Loading…
Cancel
Save