From e28f327dcb711e6c581b54511716918ccaea35a8 Mon Sep 17 00:00:00 2001 From: Joseph Suber Date: Sat, 12 Apr 2014 04:16:15 -0500 Subject: [PATCH] Update salsa_kernel.cu --- salsa_kernel.cu | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/salsa_kernel.cu b/salsa_kernel.cu index cdba326..49c90e2 100644 --- a/salsa_kernel.cu +++ b/salsa_kernel.cu @@ -1,4 +1,3 @@ - // // Contains the autotuning logic and some utility functions. // Note that all CUDA kernels have been moved to other .cu files @@ -992,7 +991,7 @@ extern "C" bool cuda_scrypt_sync(int thr_id, int stream) { cudaError_t err; - if(device_interactive[thr_id]) && !opt_benchmark) + if((device_interactive[thr_id]) && !opt_benchmark) { // For devices that also do desktop rendering or compositing, we want to free up some time slots. // That requires making a pause in work submission when there is no active task on the GPU,