1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-29 23:03:04 -05:00

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

@@ -116,6 +116,7 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<OclThreads> &threads, const
auto rx = OclThreads(devices, Algorithm::RX_0);
auto wow = OclThreads(devices, Algorithm::RX_WOW);
auto arq = OclThreads(devices, Algorithm::RX_ARQ);
auto xeq = OclThreads(devices, Algorithm::RX_XEQ);
if (!threads.isExist(Algorithm::RX_WOW) && wow != rx) {
count += threads.move(Algorithm::kRX_WOW, std::move(wow));
@@ -125,6 +126,10 @@ size_t inline generate<Algorithm::RANDOM_X>(Threads<OclThreads> &threads, const
count += threads.move(Algorithm::kRX_ARQ, std::move(arq));
}
if (!threads.isExist(Algorithm::RX_XEQ) && xeq != rx) {
count += threads.move(Algorithm::kRX_XEQ, std::move(xeq));
}
count += threads.move(Algorithm::kRX, std::move(rx));
return count;