Make single thread bench cheat-resistant

Each hash is dependent on the previous hash to make multi-threaded cheating impossible.
This commit is contained in:
SChernykh
2020-11-15 20:38:27 +01:00
parent c3e7899704
commit 76c406ce63
11 changed files with 43 additions and 15 deletions

View File

@@ -163,7 +163,7 @@ size_t xmrig::OclWorker::intensity() const
}
void xmrig::OclWorker::start()
void xmrig::OclWorker::start(xmrig::Config*)
{
cl_uint results[0x100];