summaryrefslogtreecommitdiffstats
path: root/backend/cpu/autoAdjustHwloc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/cpu/autoAdjustHwloc.hpp')
-rw-r--r--backend/cpu/autoAdjustHwloc.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/backend/cpu/autoAdjustHwloc.hpp b/backend/cpu/autoAdjustHwloc.hpp
index 161aa5c..e1916e0 100644
--- a/backend/cpu/autoAdjustHwloc.hpp
+++ b/backend/cpu/autoAdjustHwloc.hpp
@@ -3,6 +3,7 @@
#include "../../console.h"
#include <hwloc.h>
#include <stdio.h>
+#include "../../Params.hpp"
#ifdef _WIN32
#include <windows.h>
@@ -74,8 +75,8 @@ public:
}
configTpl.replace("CPUCONFIG",conf);
- configTpl.write("cpu.txt");
- printer::inst()->print_msg(L0, "CPU configuration stored in file '%s'", "cpu.txt");
+ configTpl.write(Params::inst().configFileCPU);
+ printer::inst()->print_msg(L0, "CPU configuration stored in file '%s'", Params::inst().configFileCPU.c_str());
/* Destroy topology object. */
hwloc_topology_destroy(topology);
OpenPOWER on IntegriCloud