CUDA backend: update RandomX dataset when it changes

This commit is contained in:
SChernykh
2024-12-18 13:18:11 +01:00
parent 8b38849118
commit b92e288546
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;
};