Browse Source

nist5: reported ccminer hashrate was wrong

2upstream
Tanguy Pruvot 8 years ago
parent
commit
8ecf0a9101
  1. 2
      cuda_nist5.cu

2
cuda_nist5.cu

@ -145,7 +145,7 @@ extern "C" int scanhash_nist5(int thr_id, struct work *work, uint32_t max_nonce, @@ -145,7 +145,7 @@ extern "C" int scanhash_nist5(int thr_id, struct work *work, uint32_t max_nonce,
} while (!work_restart[thr_id].restart);
out:
*hashes_done = pdata[19] - first_nonce;
// *hashes_done = pdata[19] - first_nonce;
#ifdef USE_STREAMS
for (int i = 0; i < 5; i++)
cudaStreamDestroy(stream[i]);

Loading…
Cancel
Save