summaryrefslogtreecommitdiff
path: root/HST-S/baselines/cpu/Makefile
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-04 11:38:31 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-04 11:38:31 +0200
commite6226cae7e4adeaade80fad37ead2360aaa042dc (patch)
treea606b451656b26337ad9ad88e0013e19e86f1904 /HST-S/baselines/cpu/Makefile
parentb08b2c4c2a51e9e49c6d38a153ca5e0269e8272b (diff)
HST-S: Add NUMA variant for HBM eval
Diffstat (limited to 'HST-S/baselines/cpu/Makefile')
-rw-r--r--HST-S/baselines/cpu/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/HST-S/baselines/cpu/Makefile b/HST-S/baselines/cpu/Makefile
index 4405afc..6209949 100644
--- a/HST-S/baselines/cpu/Makefile
+++ b/HST-S/baselines/cpu/Makefile
@@ -1,7 +1,14 @@
+NUMA ?= 0
+FLAGS =
+
+ifeq (${NUMA}, 1)
+ FLAGS += -lnuma
+endif
+
all: hist
hist: app_baseline.c
- gcc -O2 -o hist -fopenmp app_baseline.c
+ gcc -Wall -Wextra -pedantic -O2 -DNUMA=${NUMA} -o hist -fopenmp app_baseline.c ${FLAGS}
hist_O0: app_baseline.c
gcc -o hist_O0 -fopenmp app_baseline.c