From b40e028dfbac2feca5338eb9d464a47361b0cba1 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 11 May 2017 12:05:03 -0400 Subject: [PATCH] minor performance improvement --- gost/cuda_gosthash.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gost/cuda_gosthash.cu b/gost/cuda_gosthash.cu index 3429c55..6d6f8e5 100644 --- a/gost/cuda_gosthash.cu +++ b/gost/cuda_gosthash.cu @@ -712,7 +712,7 @@ static void GOST_E12(uint64_t* const K, uint64_t *state) { uint64_t state1[8], K1[8]; GOST_Copy512(K1, K); - //#pragma unroll 1 + #pragma unroll 4 for(int i=0; i<12; i++) { GOST_Xor512(state1, K1, CC[i]);