mirror of
https://github.com/xmrig/xmrig.git
synced 2026-02-01 01:42:59 -05:00
Fixed command line config and removed --max-cpu-usage and --safe.
This commit is contained in:
@@ -273,7 +273,7 @@ template<size_t N>
|
||||
void xmrig::CpuWorker<N>::allocateCnCtx()
|
||||
{
|
||||
if (m_ctx[0] == nullptr) {
|
||||
CnCtx::create(m_ctx, m_memory->scratchpad(), m_memory->size(), N);
|
||||
CnCtx::create(m_ctx, m_memory->scratchpad(), m_algorithm.memory(), N);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user