xmrig v6.2.2 based release
This commit is contained in:
commit
316af8c2b9
16 changed files with 136 additions and 34 deletions
|
@ -83,7 +83,8 @@ xmrig::OclWorker::OclWorker(size_t id, const OclLaunchData &data) :
|
|||
m_algorithm(data.algorithm),
|
||||
m_miner(data.miner),
|
||||
m_intensity(data.thread.intensity()),
|
||||
m_sharedData(OclSharedState::get(data.device.index()))
|
||||
m_sharedData(OclSharedState::get(data.device.index())),
|
||||
m_deviceIndex(data.device.index())
|
||||
{
|
||||
switch (m_algorithm.family()) {
|
||||
case Algorithm::RANDOM_X:
|
||||
|
@ -210,7 +211,7 @@ void xmrig::OclWorker::start()
|
|||
}
|
||||
|
||||
if (results[0xFF] > 0) {
|
||||
JobResults::submit(m_job.currentJob(), results, results[0xFF]);
|
||||
JobResults::submit(m_job.currentJob(), results, results[0xFF], m_deviceIndex);
|
||||
}
|
||||
|
||||
if (!Nonce::isOutdated(Nonce::OPENCL, m_job.sequence()) && !m_job.nextRound(roundSize(runnerRoundSize), runnerRoundSize)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue