1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-09 08:42:40 -05:00

KawPow: tuned work group size for OpenCL

This commit is contained in:
SChernykh
2020-05-28 10:58:06 +02:00
parent 22b937cc1c
commit e3d727cdb6
11 changed files with 162 additions and 117 deletions

View File

@@ -52,7 +52,7 @@ protected:
void init() override;
private:
uint8_t* m_blob;
uint8_t* m_blob = nullptr;
uint32_t m_blockHeight = 0;
uint32_t m_epoch = 0xFFFFFFFFUL;
@@ -69,7 +69,8 @@ private:
cl_program m_searchProgram = nullptr;
cl_kernel m_searchKernel = nullptr;
size_t m_workGroupSize = 64;
size_t m_workGroupSize = 256;
size_t m_dagWorkGroupSize = 64;
};