X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=BOINC%20software%2FBOINC%20client%20apps%2Fdistrrtgen_cuda%2Frcuda.cu;h=412128ed6697bc929ca812b9957bc165a358e97c;hb=refs%2Fremotes%2Forigin%2Fmaster;hp=b626041ede05721baf29f545226e9edcb5c9a524;hpb=7a1030772df696d2c07dc98c89a673a742ee5f64;p=freerainbowtables diff --git a/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.cu b/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.cu index b626041..412128e 100644 --- a/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.cu +++ b/BOINC software/BOINC client apps/distrrtgen_cuda/rcuda.cu @@ -160,6 +160,7 @@ extern "C" int CalcChainsOnCUDA(const rcuda::RCudaTask* task, uint64 *resultBuff cuErr = cudaSuccess; cudaSetDeviceFlags(cudaDeviceBlockingSync); + for(int idx = 0; idx < task->rainbowChainLen-1 && cuErr == cudaSuccess; idx+=KERN_CHAIN_SIZE) { switch(task->hash) { case rcuda::RHASH_MD5: