From d2ced77ae89cc645f13f9523bfdb10f7a9c32aab Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Thu, 23 Apr 2015 08:14:24 +0200 Subject: [PATCH] zr5: disable reset on validation errors cudaResetDevice() do a segfault, to check later... --- skein.cu | 3 --- zr5.cu | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/skein.cu b/skein.cu index e072cab..5c67cd8 100644 --- a/skein.cu +++ b/skein.cu @@ -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; diff --git a/zr5.cu b/zr5.cu index fe444e1..c3c3c9c 100644 --- a/zr5.cu +++ b/zr5.cu @@ -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;