mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Always disable kawpow for CPU backend.
This commit is contained in:
@@ -109,6 +109,10 @@ size_t xmrig::CpuConfig::memPoolSize() const
|
|||||||
|
|
||||||
std::vector<xmrig::CpuLaunchData> xmrig::CpuConfig::get(const Miner *miner, const Algorithm &algorithm) 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;
|
std::vector<CpuLaunchData> out;
|
||||||
const auto &threads = m_threads.get(algorithm);
|
const auto &threads = m_threads.get(algorithm);
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,7 @@
|
|||||||
"astrobwt-max-size": 550,
|
"astrobwt-max-size": 550,
|
||||||
"astrobwt-avx2": false,
|
"astrobwt-avx2": false,
|
||||||
"cn/0": false,
|
"cn/0": false,
|
||||||
"cn-lite/0": false,
|
"cn-lite/0": false
|
||||||
"kawpow": false
|
|
||||||
},
|
},
|
||||||
"opencl": {
|
"opencl": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
|
|||||||
@@ -69,8 +69,7 @@ R"===(
|
|||||||
"astrobwt-max-size": 550,
|
"astrobwt-max-size": 550,
|
||||||
"astrobwt-avx2": false,
|
"astrobwt-avx2": false,
|
||||||
"cn/0": false,
|
"cn/0": false,
|
||||||
"cn-lite/0": false,
|
"cn-lite/0": false
|
||||||
"kawpow": false
|
|
||||||
},
|
},
|
||||||
"opencl": {
|
"opencl": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user