1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-13 18:12:50 -05:00

WorkerJob: fix calls of add/nextRound

WorkerJob::nextRound() doesn't require roundSize to be power of 2
Use CudaWorker::intensity(), OclWorker::intensity() to get device batch size
Sync nonce and device iteration
This commit is contained in:
cohcho
2020-10-15 14:56:37 +00:00
parent 7727014eea
commit 5b4648339a
3 changed files with 4 additions and 35 deletions

View File

@@ -67,7 +67,6 @@ private:
const Algorithm m_algorithm;
const Miner *m_miner;
const uint32_t m_intensity;
IOclRunner *m_runner = nullptr;
OclSharedData &m_sharedData;
WorkerJob<1> m_job;