summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/autoAdjustHwloc.hpp
diff options
context:
space:
mode:
authorJudemir Ribeiro <jribeiro@venetian.bioinfo.puc.cl>2018-04-01 15:58:14 -0300
committerJudemir Ribeiro <jribeiro@venetian.bioinfo.puc.cl>2018-04-01 15:58:14 -0300
commit3290a3cd851c0af76aef1b8dcaca73241a5c5761 (patch)
tree11b52d66ab0ce86fa98387450aa6884f282f7738 /xmrstak/backend/cpu/autoAdjustHwloc.hpp
parenta036cd81592e3b3de804ba88bb8f94729ab60b7d (diff)
downloadxmr-stak-3290a3cd851c0af76aef1b8dcaca73241a5c5761.zip
xmr-stak-3290a3cd851c0af76aef1b8dcaca73241a5c5761.tar.gz
Ported xmr-stak 2.3.0 rc to ppc64le
Diffstat (limited to 'xmrstak/backend/cpu/autoAdjustHwloc.hpp')
-rw-r--r--xmrstak/backend/cpu/autoAdjustHwloc.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmrstak/backend/cpu/autoAdjustHwloc.hpp b/xmrstak/backend/cpu/autoAdjustHwloc.hpp
index 568abb5..a9cc2d7 100644
--- a/xmrstak/backend/cpu/autoAdjustHwloc.hpp
+++ b/xmrstak/backend/cpu/autoAdjustHwloc.hpp
@@ -67,7 +67,7 @@ public:
{
conf += std::string(" { \"low_power_mode\" : ");
conf += std::string((id & 0x8000000) != 0 ? "true" : "false");
- conf += std::string(", \"no_prefetch\" : true, \"affine_to_cpu\" : ");
+ conf += std::string(", \"be_mode\" : true, \"affine_to_cpu\" : ");
conf += std::to_string(id & 0x7FFFFFF);
conf += std::string(" },\n");
}
@@ -75,7 +75,7 @@ public:
catch(const std::runtime_error& err)
{
// \todo add fallback to default auto adjust
- conf += std::string(" { \"low_power_mode\" : false, \"no_prefetch\" : true, \"affine_to_cpu\" : false },\n");
+ conf += std::string(" { \"low_power_mode\" : false, \"be_mode\" : true, \"affine_to_cpu\" : false },\n");
printer::inst()->print_msg(L0, "Autoconf FAILED: %s. Create config for a single thread.", err.what());
}
OpenPOWER on IntegriCloud