From 41a68f8f788ac03d0051f79cccbf15f021300718 Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sat, 11 Jun 2016 13:37:51 +0200 Subject: [PATCH] lyra2v2 fix define position --- lyra2/cuda_lyra2v2.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lyra2/cuda_lyra2v2.cu b/lyra2/cuda_lyra2v2.cu index c3f89e6..df3291c 100644 --- a/lyra2/cuda_lyra2v2.cu +++ b/lyra2/cuda_lyra2v2.cu @@ -14,6 +14,8 @@ #define __CUDA_ARCH__ 500 #endif +#define TPB 32 + #if __CUDA_ARCH__ >= 500 #include "cuda_lyra2_vectors.h" @@ -22,8 +24,6 @@ #define Ncol 4 #define memshift 3 -#define TPB 32 - __device__ uint2x4 *DMatrix; __device__ __forceinline__ uint2 LD4S(const int index)