summaryrefslogtreecommitdiff
path: root/src/run.cpp
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-06-04 14:22:49 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-06-04 14:22:49 +0200
commitc38c071f71b05df3a307ed1c24f818a0b3feca86 (patch)
tree2e06dac171fd545fe521f61526441ea19740dd7d /src/run.cpp
parent1e6f179dce6e87e7cca9d4b86b8d0450df9dbb2f (diff)
unconditionally compile with NUMA
Diffstat (limited to 'src/run.cpp')
-rw-r--r--src/run.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/run.cpp b/src/run.cpp
index 669b0f3..baa5b02 100644
--- a/src/run.cpp
+++ b/src/run.cpp
@@ -23,9 +23,7 @@
#include <unistd.h>
#include <cstddef>
#include <algorithm>
-#if defined(NUMA)
#include <numa.h>
-#endif
// Local includes
#include <AsmJit/AsmJit.h>
@@ -67,7 +65,6 @@ int Run::run() {
Chain** chain_memory = new Chain*[this->exp->chains_per_thread];
Chain** root = new Chain*[this->exp->chains_per_thread];
-#if defined(NUMA)
// establish the node id where this thread
// will run. threads are mapped to nodes
// by the set-up code for Experiment.
@@ -86,11 +83,6 @@ int Run::run() {
chain_memory[i] = new Chain[ this->exp->links_per_chain ];
}
-#else
- for (int i = 0; i < this->exp->chains_per_thread; i++) {
- chain_memory[i] = new Chain[this->exp->links_per_chain];
- }
-#endif
// initialize the chains and
// select the function that