Always disable kawpow for CPU backend.

This commit is contained in:
XMRig 2021-02-07 18:49:54 +07:00
parent f460d76f8d
commit b1e14dc1d3
No known key found for this signature in database
GPG key ID: 446A53638BE94409
3 changed files with 6 additions and 4 deletions

View file

@ -109,6 +109,10 @@ size_t xmrig::CpuConfig::memPoolSize() const
std::vector<xmrig::CpuLaunchData> xmrig::CpuConfig::get(const Miner *miner, const Algorithm &algorithm) const
{
if (algorithm.family() == Algorithm::KAWPOW) {
return {};
}
std::vector<CpuLaunchData> out;
const auto &threads = m_threads.get(algorithm);

View file

@ -39,8 +39,7 @@
"astrobwt-max-size": 550,
"astrobwt-avx2": false,
"cn/0": false,
"cn-lite/0": false,
"kawpow": false
"cn-lite/0": false
},
"opencl": {
"enabled": false,

View file

@ -69,8 +69,7 @@ R"===(
"astrobwt-max-size": 550,
"astrobwt-avx2": false,
"cn/0": false,
"cn-lite/0": false,
"kawpow": false
"cn-lite/0": false
},
"opencl": {
"enabled": false,