Initial stub for setting job in OpenCL backend.

This commit is contained in:
XMRig 2019-08-28 02:05:19 +07:00
parent fcfb738ded
commit aa294ff066
10 changed files with 67 additions and 23 deletions

View file

@ -297,6 +297,10 @@ void xmrig::CpuWorker<N>::allocateCnCtx()
template<size_t N>
void xmrig::CpuWorker<N>::consumeJob()
{
if (Nonce::sequence(Nonce::CPU) == 0) {
return;
}
m_job.add(m_miner->job(), Nonce::sequence(Nonce::CPU), kReserveCount);
# ifdef XMRIG_ALGO_RANDOMX