From 45206e49c195fbc329424f5baf9ba64524b7594d Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Sat, 24 Jan 2015 07:17:12 +0100 Subject: [PATCH] hamsi: TPB of 128 give better results (+10kh) --- x13/cuda_x13_hamsi512.cu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x13/cuda_x13_hamsi512.cu b/x13/cuda_x13_hamsi512.cu index 1e5de99..f2085e5 100644 --- a/x13/cuda_x13_hamsi512.cu +++ b/x13/cuda_x13_hamsi512.cu @@ -688,11 +688,11 @@ void x13_hamsi512_cpu_init(int thr_id, int threads) __host__ void x13_hamsi512_cpu_hash_64(int thr_id, int threads, uint32_t startNounce, uint32_t *d_nonceVector, uint32_t *d_hash, int order) { - const int threadsperblock = 256; + const int threadsperblock = 128; dim3 grid((threads + threadsperblock-1)/threadsperblock); dim3 block(threadsperblock); x13_hamsi512_gpu_hash_64<<>>(threads, startNounce, (uint64_t*)d_hash, d_nonceVector); - MyStreamSynchronize(NULL, order, thr_id); -} \ No newline at end of file + //MyStreamSynchronize(NULL, order, thr_id); +}