Fixed issue with XLA
This commit is contained in:
parent
777765b4fd
commit
4fe9f373a4
3 changed files with 11 additions and 1 deletions
|
@ -352,6 +352,8 @@ void xmrig::HwlocCpuInfo::processTopLevelCache(hwloc_obj_t cache, const Algorith
|
|||
if (extra == 0 && algorithm.l2() > 0) {
|
||||
cacheHashes = std::min<size_t>(std::max<size_t>(L2 / algorithm.l2(), cores.size()), cacheHashes);
|
||||
}
|
||||
if (algorithm == Algorithm::RX_XLA) cacheHashes = cores.size();
|
||||
|
||||
# endif
|
||||
|
||||
if (limit > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue