summaryrefslogtreecommitdiffstats
path: root/cli-miner.cpp
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-05-13 21:18:43 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-05-13 21:30:59 +0200
commitd7788995c2d06f7864b2cfbf57289bf3f04c0821 (patch)
treeb8eafb5db64af5aab06170476dca28011f09ea24 /cli-miner.cpp
parent8f51236e6743849bd3737d633f9716607b7427d1 (diff)
downloadxmr-stak-d7788995c2d06f7864b2cfbf57289bf3f04c0821.zip
xmr-stak-d7788995c2d06f7864b2cfbf57289bf3f04c0821.tar.gz
hwloc autoadjust
- `CMakeLists.txt` add find code to search for `hwloc` - `autoAdjustHwloc.hpp` search optimal config based on hwloc topology - update `README.txt`
Diffstat (limited to 'cli-miner.cpp')
-rw-r--r--cli-miner.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli-miner.cpp b/cli-miner.cpp
index 70a5228..2cbe6d9 100644
--- a/cli-miner.cpp
+++ b/cli-miner.cpp
@@ -26,7 +26,11 @@
#include "jconf.h"
#include "console.h"
#include "donate-level.h"
-#include "autoAdjust.hpp"
+#ifndef CONF_NO_HWLOC
+# include "autoAdjustHwloc.hpp"
+#else
+# include "autoAdjust.hpp"
+#endif
#include "version.h"
#ifndef CONF_NO_HTTPD
OpenPOWER on IntegriCloud