mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 08:42:40 -05:00
Compare commits
2 Commits
master
...
ca632fd38c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ca632fd38c | ||
|
|
1ed99453dd |
@@ -352,7 +352,7 @@ void xmrig::CpuBackend::setJob(const Job &job)
|
|||||||
const auto &cpu = d_ptr->controller->config()->cpu();
|
const auto &cpu = d_ptr->controller->config()->cpu();
|
||||||
|
|
||||||
auto threads = cpu.get(d_ptr->controller->miner(), job.algorithm());
|
auto threads = cpu.get(d_ptr->controller->miner(), job.algorithm());
|
||||||
if (!d_ptr->threads.empty() && d_ptr->threads.size() == threads.size() && std::equal(d_ptr->threads.begin(), d_ptr->threads.end(), threads.begin())) {
|
if (!d_ptr->threads.empty() && d_ptr->threads.size() == threads.size() && std::equal(d_ptr->threads.begin(), d_ptr->threads.end(), threads.begin()) && d_ptr->algo == job.algorithm()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user