hwloc autoadjust

- `CMakeLists.txt` add find code to search for `hwloc`
- `autoAdjustHwloc.hpp` search optimal config based on hwloc topology
- update `README.txt`
This commit is contained in:
psychocrypt
2017-05-13 21:30:59 +02:00
parent 8f51236e67
commit d7788995c2
4 changed files with 231 additions and 4 deletions
+5 -1
View File
@@ -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