From 4e2932c83d4edfb4eea7c46a4c62273d92bbb652 Mon Sep 17 00:00:00 2001 From: orignal Date: Fri, 28 Apr 2017 18:56:49 -0400 Subject: [PATCH] set 128 threads per block --- 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 8f8d665..21feb95 100644 --- a/gost/cuda_gosthash.cu +++ b/gost/cuda_gosthash.cu @@ -920,7 +920,7 @@ void gostd_setBlock_80(uint32_t *pdata, uint32_t *ptarget) __host__ void gostd_hash_80(int thr_id, uint32_t threads, uint32_t startNonce, uint32_t *resNonces) { - const uint32_t threadsperblock = 256; + const uint32_t threadsperblock = 128; dim3 grid(threads/threadsperblock); dim3 block(threadsperblock);