GhostRider algorithm (Raptoreum) support

This commit is contained in:
SChernykh
2021-11-13 20:12:15 +01:00
parent f351120123
commit fa9b5c7b6e
67 changed files with 72022 additions and 177 deletions

View File

@@ -361,6 +361,12 @@ xmrig::CpuThreads xmrig::BasicCpuInfo::threads(const Algorithm &algorithm, uint3
}
# endif
# ifdef XMRIG_ALGO_GHOSTRIDER
if (f == Algorithm::GHOSTRIDER) {
return CpuThreads(std::max<size_t>(count / 2, 1), 8);
}
# endif
return CpuThreads(std::max<size_t>(count / 2, 1), 1);
}