diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-10-15 22:00:22 +0100 |
---|---|---|
committer | fireice-uk <fireice-uk@users.noreply.github.com> | 2017-10-22 13:12:52 +0100 |
commit | 98a4caa224f637d1e1025b5e385352e5156896a8 (patch) | |
tree | 1df26615ebdbc5922f153fc06877d9fc991810af /xmrstak/backend/amd/minethd.cpp | |
parent | 7fdaceee72dae5cceb265b528d5071ff5bf28e92 (diff) | |
download | xmr-stak-98a4caa224f637d1e1025b5e385352e5156896a8.zip xmr-stak-98a4caa224f637d1e1025b5e385352e5156896a8.tar.gz |
Implement changes suggested
Diffstat (limited to 'xmrstak/backend/amd/minethd.cpp')
-rw-r--r-- | xmrstak/backend/amd/minethd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/amd/minethd.cpp b/xmrstak/backend/amd/minethd.cpp index 048c3f0..8658e5c 100644 --- a/xmrstak/backend/amd/minethd.cpp +++ b/xmrstak/backend/amd/minethd.cpp @@ -198,7 +198,7 @@ void minethd::work_main() while(globalStates::inst().iGlobalJobNo.load(std::memory_order_relaxed) == iJobNo) { //Allocate a new nonce every 16 rounds - if((++round_ctr & 0xF) == 0) + if((round_ctr++ & 0xF) == 0) { if(oWork.bNiceHash) pGpuCtx->Nonce = globalStates::inst().calc_start_nonce(pGpuCtx->Nonce & 0xFF000000u, h_per_round * 16); |