RandomXEQ added

This commit is contained in:
m@lbit 2024-05-18 16:11:52 +02:00 committed by MoneroOcean
parent 09b15aca7a
commit e40dffac86
21 changed files with 6136 additions and 5923 deletions

View file

@ -126,6 +126,17 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<CpuThreads> &threads, uint32
}
}
if (!threads.isExist(Algorithm::RX_XEQ)) {
auto xeq = cpuInfo->threads(Algorithm::RX_XEQ, limit);
if (xeq == wow) {
threads.setAlias(Algorithm::RX_XEQ, Algorithm::kRX_WOW);
++count;
}
else {
count += threads.move(Algorithm::kRX_XEQ, std::move(xeq));
}
}
if (!threads.isExist(Algorithm::RX_KEVA)) {
auto keva = cpuInfo->threads(Algorithm::RX_KEVA, limit);
if (keva == wow) {