1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-06-26 21:22:39 -04:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Tony Butler
0091232ae3 Merge cb1405d2d5 into 7e4caa8929 2024-08-14 10:13:11 +06:30
5 changed files with 4 additions and 12 deletions

View File

@@ -359,9 +359,7 @@ void xmrig::CpuWorker<N>::start()
}
}
if (!Nonce::isPaused()) {
consumeJob();
}
consumeJob();
}
}

View File

@@ -326,8 +326,7 @@ void xmrig::HwlocCpuInfo::processTopLevelCache(hwloc_obj_t cache, const Algorith
}
}
// This code is supposed to run only on Intel CPUs
if ((vendor() == VENDOR_INTEL) && (scratchpad == 2 * oneMiB)) {
if (scratchpad == 2 * oneMiB) {
if (L2 && (cores.size() * oneMiB) == L2 && L2_associativity == 16 && L3 >= L2) {
L3 = L2;
extra = L2;

View File

@@ -158,7 +158,7 @@ void xmrig::CudaWorker::start()
std::this_thread::yield();
}
if (isReady() && !consumeJob()) {
if (!consumeJob()) {
return;
}
}

View File

@@ -190,7 +190,7 @@ void xmrig::OclWorker::start()
std::this_thread::yield();
}
if (isReady() && !consumeJob()) {
if (!consumeJob()) {
return;
}
}

View File

@@ -576,11 +576,6 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
# ifdef XMRIG_ALGO_RANDOMX
const bool ready = d_ptr->initRX();
// Always reset nonce on RandomX dataset change
if (!ready) {
d_ptr->reset = true;
}
# else
constexpr const bool ready = true;
# endif