Merge pull request #1635 from SChernykh/dev

Pooled allocation of RandomX VMs
This commit is contained in:
xmrig
2020-04-08 17:04:25 +07:00
committed by GitHub
11 changed files with 68 additions and 61 deletions

View File

@@ -118,7 +118,7 @@ void xmrig::CpuWorker<N>::allocateRandomX_VM()
}
if (!m_vm) {
m_vm = new RxVm(dataset, m_memory->scratchpad(), !m_hwAES, m_assembly);
m_vm = new RxVm(dataset, m_memory->scratchpad(), !m_hwAES, m_assembly, m_node);
}
}
#endif