Implemented cryptonight mining.

This commit is contained in:
XMRig
2019-10-27 17:53:00 +07:00
parent 97f9364dc6
commit 7ac6e0ac91
15 changed files with 486 additions and 29 deletions

View File

@@ -39,8 +39,8 @@ constexpr size_t oneGiB = 1024 * 1024 * 1024;
xmrig::OclBaseRunner::OclBaseRunner(size_t id, const OclLaunchData &data) :
m_algorithm(data.algorithm),
m_ctx(data.ctx),
m_algorithm(data.algorithm),
m_source(OclSource::get(data.algorithm)),
m_data(data),
m_align(OclLib::getUint(data.device.id(), CL_DEVICE_MEM_BASE_ADDR_ALIGN)),