mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-27 14:23:28 -05:00
Compare commits
3 Commits
cfbf557f78
...
1eaecc1cc7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1eaecc1cc7 | ||
|
|
c5d8b8265b | ||
|
|
77c14c8362 |
@@ -342,7 +342,7 @@ void xmrig::HwlocCpuInfo::processTopLevelCache(hwloc_obj_t cache, const Algorith
|
||||
}
|
||||
|
||||
# ifdef XMRIG_ALGO_RANDOMX
|
||||
if ((algorithm.family() == Algorithm::RANDOM_X) && L3_exclusive && (PUs > cores.size()) && (PUs < cores.size() * 2)) {
|
||||
if ((vendor() == VENDOR_INTEL) && (algorithm.family() == Algorithm::RANDOM_X) && L3_exclusive && (PUs < cores.size() * 2)) {
|
||||
// Use all L3+L2 on latest Intel CPUs with P-cores, E-cores and exclusive L3 cache
|
||||
cacheHashes = (L3 + L2) / scratchpad;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user