mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-23 05:19:16 -05:00
Compare commits
2 Commits
v6.22.2
...
5bedabc238
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5bedabc238 | ||
|
|
ead82cdba9 |
@@ -1,7 +1,3 @@
|
|||||||
# v6.22.2
|
|
||||||
- [#3569](https://github.com/xmrig/xmrig/pull/3569) Fixed corrupted API output in some rare conditions.
|
|
||||||
- [#3571](https://github.com/xmrig/xmrig/pull/3571) Fixed number of threads on the new Intel Core Ultra CPUs.
|
|
||||||
|
|
||||||
# v6.22.1
|
# v6.22.1
|
||||||
- [#3531](https://github.com/xmrig/xmrig/pull/3531) Always reset nonce on RandomX dataset change.
|
- [#3531](https://github.com/xmrig/xmrig/pull/3531) Always reset nonce on RandomX dataset change.
|
||||||
- [#3534](https://github.com/xmrig/xmrig/pull/3534) Fixed threads auto-config on Zen5.
|
- [#3534](https://github.com/xmrig/xmrig/pull/3534) Fixed threads auto-config on Zen5.
|
||||||
|
|||||||
@@ -180,11 +180,11 @@ public:
|
|||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
mutex.lock();
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(mutex);
|
||||||
|
|
||||||
pages += status.hugePages();
|
pages += status.hugePages();
|
||||||
|
}
|
||||||
mutex.unlock();
|
|
||||||
|
|
||||||
rapidjson::Value hugepages;
|
rapidjson::Value hugepages;
|
||||||
|
|
||||||
@@ -380,13 +380,13 @@ void xmrig::CpuBackend::setJob(const Job &job)
|
|||||||
|
|
||||||
void xmrig::CpuBackend::start(IWorker *worker, bool ready)
|
void xmrig::CpuBackend::start(IWorker *worker, bool ready)
|
||||||
{
|
{
|
||||||
mutex.lock();
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(mutex);
|
||||||
|
|
||||||
if (d_ptr->status.started(worker, ready)) {
|
if (d_ptr->status.started(worker, ready)) {
|
||||||
d_ptr->status.print();
|
d_ptr->status.print();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
mutex.unlock();
|
|
||||||
|
|
||||||
if (ready) {
|
if (ready) {
|
||||||
worker->start();
|
worker->start();
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ void xmrig::HwlocCpuInfo::processTopLevelCache(hwloc_obj_t cache, const Algorith
|
|||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_ALGO_RANDOMX
|
# ifdef XMRIG_ALGO_RANDOMX
|
||||||
if ((vendor() == VENDOR_INTEL) && (algorithm.family() == Algorithm::RANDOM_X) && L3_exclusive && (PUs < cores.size() * 2)) {
|
if ((algorithm.family() == Algorithm::RANDOM_X) && L3_exclusive && (PUs > cores.size()) && (PUs < cores.size() * 2)) {
|
||||||
// Use all L3+L2 on latest Intel CPUs with P-cores, E-cores and exclusive L3 cache
|
// Use all L3+L2 on latest Intel CPUs with P-cores, E-cores and exclusive L3 cache
|
||||||
cacheHashes = (L3 + L2) / scratchpad;
|
cacheHashes = (L3 + L2) / scratchpad;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -465,7 +465,8 @@ void xmrig::CudaBackend::setJob(const Job &job)
|
|||||||
|
|
||||||
void xmrig::CudaBackend::start(IWorker *worker, bool ready)
|
void xmrig::CudaBackend::start(IWorker *worker, bool ready)
|
||||||
{
|
{
|
||||||
mutex.lock();
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(mutex);
|
||||||
|
|
||||||
if (d_ptr->status.started(ready)) {
|
if (d_ptr->status.started(ready)) {
|
||||||
d_ptr->status.print();
|
d_ptr->status.print();
|
||||||
@@ -473,7 +474,7 @@ void xmrig::CudaBackend::start(IWorker *worker, bool ready)
|
|||||||
CudaWorker::ready = true;
|
CudaWorker::ready = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
mutex.unlock();
|
}
|
||||||
|
|
||||||
if (ready) {
|
if (ready) {
|
||||||
worker->start();
|
worker->start();
|
||||||
|
|||||||
@@ -447,15 +447,15 @@ void xmrig::OclBackend::setJob(const Job &job)
|
|||||||
|
|
||||||
void xmrig::OclBackend::start(IWorker *worker, bool ready)
|
void xmrig::OclBackend::start(IWorker *worker, bool ready)
|
||||||
{
|
{
|
||||||
mutex.lock();
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(mutex);
|
||||||
|
|
||||||
if (d_ptr->status.started(ready)) {
|
if (d_ptr->status.started(ready)) {
|
||||||
d_ptr->status.print();
|
d_ptr->status.print();
|
||||||
|
|
||||||
OclWorker::ready = true;
|
OclWorker::ready = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
mutex.unlock();
|
|
||||||
|
|
||||||
if (ready) {
|
if (ready) {
|
||||||
worker->start();
|
worker->start();
|
||||||
|
|||||||
@@ -569,7 +569,14 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
|
|||||||
|
|
||||||
d_ptr->algorithm = job.algorithm();
|
d_ptr->algorithm = job.algorithm();
|
||||||
|
|
||||||
mutex.lock();
|
# ifdef XMRIG_ALGO_RANDOMX
|
||||||
|
bool ready = false;
|
||||||
|
# else
|
||||||
|
constexpr const bool ready = true;
|
||||||
|
# endif
|
||||||
|
|
||||||
|
{
|
||||||
|
std::lock_guard<std::mutex> lock(mutex);
|
||||||
|
|
||||||
const uint8_t index = donate ? 1 : 0;
|
const uint8_t index = donate ? 1 : 0;
|
||||||
|
|
||||||
@@ -588,14 +595,12 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
|
|||||||
}
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_ALGO_RANDOMX
|
# ifdef XMRIG_ALGO_RANDOMX
|
||||||
const bool ready = d_ptr->initRX();
|
ready = d_ptr->initRX();
|
||||||
|
|
||||||
// Always reset nonce on RandomX dataset change
|
// Always reset nonce on RandomX dataset change
|
||||||
if (!ready) {
|
if (!ready) {
|
||||||
d_ptr->reset = true;
|
d_ptr->reset = true;
|
||||||
}
|
}
|
||||||
# else
|
|
||||||
constexpr const bool ready = true;
|
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# ifdef XMRIG_ALGO_GHOSTRIDER
|
# ifdef XMRIG_ALGO_GHOSTRIDER
|
||||||
@@ -604,7 +609,7 @@ void xmrig::Miner::setJob(const Job &job, bool donate)
|
|||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
mutex.unlock();
|
}
|
||||||
|
|
||||||
d_ptr->active = true;
|
d_ptr->active = true;
|
||||||
d_ptr->m_taskbar.setActive(true);
|
d_ptr->m_taskbar.setActive(true);
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
#define APP_ID "xmrig"
|
#define APP_ID "xmrig"
|
||||||
#define APP_NAME "XMRig"
|
#define APP_NAME "XMRig"
|
||||||
#define APP_DESC "XMRig miner"
|
#define APP_DESC "XMRig miner"
|
||||||
#define APP_VERSION "6.22.2"
|
#define APP_VERSION "6.22.2-dev"
|
||||||
#define APP_DOMAIN "xmrig.com"
|
#define APP_DOMAIN "xmrig.com"
|
||||||
#define APP_SITE "www.xmrig.com"
|
#define APP_SITE "www.xmrig.com"
|
||||||
#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com"
|
#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com"
|
||||||
|
|||||||
Reference in New Issue
Block a user