summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/jconf.cpp
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/jconf.cpp
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/jconf.cpp')
-rw-r--r--xmrstak/backend/cpu/jconf.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/xmrstak/backend/cpu/jconf.cpp b/xmrstak/backend/cpu/jconf.cpp
index 6e709bd..5ee6676 100644
--- a/xmrstak/backend/cpu/jconf.cpp
+++ b/xmrstak/backend/cpu/jconf.cpp
@@ -30,13 +30,6 @@
#include <stdlib.h>
#include <string>
-#ifdef _WIN32
-#define strcasecmp _stricmp
-#include <intrin.h>
-#else
-#include <cpuid.h>
-#endif
-
namespace xmrstak
{
@@ -110,7 +103,7 @@ bool jconf::GetThreadConfig(size_t id, thd_cfg &cfg)
const Value *mode, *no_prefetch, *aff;
mode = GetObjectMember(oThdConf, "low_power_mode");
- no_prefetch = GetObjectMember(oThdConf, "no_prefetch");
+ no_prefetch = GetObjectMember(oThdConf, "be_mode");
aff = GetObjectMember(oThdConf, "affine_to_cpu");
if(mode == nullptr || no_prefetch == nullptr || aff == nullptr)
OpenPOWER on IntegriCloud