From dd1de4fed9a7b31d028349c70bf1049975bba854 Mon Sep 17 00:00:00 2001 From: Christian Buchner Date: Sun, 4 May 2014 01:07:29 +0200 Subject: [PATCH] bug fix for low GPU utilization --- heavy/heavy.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy/heavy.cu b/heavy/heavy.cu index de86b42..c07d876 100644 --- a/heavy/heavy.cu +++ b/heavy/heavy.cu @@ -326,7 +326,7 @@ int scanhash_heavy_cpp(int thr_id, uint32_t *pdata, //cudaThreadSynchronize(); // Hier ist die längste CPU Wartephase. Deshalb ein strategisches MyStreamSynchronize() hier. - MyStreamSynchronize(NULL, 0, thr_id); + MyStreamSynchronize(NULL, 1, thr_id); ////// Compaction devNoncePtrEnd = thrust::remove_if(devNoncePtr, devNoncePtrEnd, check_nonce_for_remove(*((uint64_t*)target2), d_hash2output[thr_id], 8, pdata[19]));