Merge branch 'master' of https://github.com/kevacoin-project/xmrig into feature-rx-keva

This commit is contained in:
XMRig 2020-03-07 17:13:08 +07:00
commit ab90af37b3
No known key found for this signature in database
GPG key ID: 446A53638BE94409
12 changed files with 281 additions and 92 deletions

View file

@ -123,6 +123,17 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<CpuThreads> &threads, uint32
}
}
if (!threads.isExist(Algorithm::RX_KEVA)) {
auto keva = Cpu::info()->threads(Algorithm::RX_KEVA, limit);
if (keva == wow) {
threads.setAlias(Algorithm::RX_KEVA, "rx/wow");
++count;
}
else {
count += threads.move("rx/keva", std::move(keva));
}
}
if (!threads.isExist(Algorithm::RX_WOW)) {
count += threads.move("rx/wow", std::move(wow));
}