From e6226cae7e4adeaade80fad37ead2360aaa042dc Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 4 Jul 2024 11:38:31 +0200 Subject: HST-S: Add NUMA variant for HBM eval --- HST-S/baselines/cpu/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'HST-S/baselines/cpu/Makefile') 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 -- cgit v1.2.3