Optimized RandomX initialization and switching.
This commit is contained in:
parent
ab0d3b8919
commit
84ff8af4bd
9 changed files with 156 additions and 157 deletions
|
@ -380,7 +380,7 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
|
|||
}
|
||||
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
Rx::init(job,
|
||||
Rx::init(d_ptr->job,
|
||||
d_ptr->controller->config()->rx().threads(),
|
||||
d_ptr->controller->config()->cpu().isHugePages(),
|
||||
d_ptr->controller->config()->rx().isNUMA()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue