zr5: disable reset on validation errors

cudaResetDevice() do a segfault, to check later...
This commit is contained in:
Tanguy Pruvot 2015-04-23 08:14:24 +02:00
parent 7cd74cb212
commit d2ced77ae8
2 changed files with 2 additions and 5 deletions

View File

@ -414,9 +414,6 @@ extern "C" int scanhash_skeincoin(int thr_id, uint32_t *pdata, const uint32_t *p
}
else {
applog(LOG_INFO, "GPU #%d: result for nonce $%08X does not validate on CPU!", device_map[thr_id], foundNonce);
// reinit the card
init[thr_id] = false;
}
}
pdata[19] += throughput;

4
zr5.cu
View File

@ -406,8 +406,8 @@ extern "C" int scanhash_zr5(int thr_id, uint32_t *pdata, const uint32_t *ptarget
} else {
applog(LOG_WARNING, "GPU #%d: result for %08x does not validate on CPU!", device_map[thr_id], foundNonce);
// reinit the card..
cuda_reset_device(thr_id, init);
// reinit the card.. segfault so no
// cuda_reset_device(thr_id, init);
pdata[19]++;
pdata[0] = oldp0;