zr5: disable reset on validation errors
cudaResetDevice() do a segfault, to check later...
This commit is contained in:
parent
7cd74cb212
commit
d2ced77ae8
3
skein.cu
3
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;
|
||||
|
4
zr5.cu
4
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;
|
||||
|
Loading…
Reference in New Issue
Block a user