CUDA backend: update RandomX dataset when it changes

This commit is contained in:
SChernykh 2024-12-18 13:18:11 +01:00
parent cd2fd9d7a6
commit 4a13a8a75c
4 changed files with 22 additions and 0 deletions

View file

@ -27,6 +27,7 @@
#include "backend/cuda/runners/CudaBaseRunner.h"
#include "base/tools/Buffer.h"
namespace xmrig {
@ -46,6 +47,7 @@ protected:
private:
bool m_ready = false;
const bool m_datasetHost = false;
Buffer m_seed;
size_t m_intensity = 0;
};