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
commit 70a3a83c26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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