From 3633e0409cb244a951a251047bd97a2e35986084 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Mon, 8 Jul 2024 16:35:46 +0200 Subject: SCAN-RSS: NUMA support --- SCAN-RSS/baselines/cpu/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'SCAN-RSS/baselines/cpu/Makefile') diff --git a/SCAN-RSS/baselines/cpu/Makefile b/SCAN-RSS/baselines/cpu/Makefile index 0bdedf6..88ba57d 100644 --- a/SCAN-RSS/baselines/cpu/Makefile +++ b/SCAN-RSS/baselines/cpu/Makefile @@ -1,9 +1,16 @@ +NUMA ?= 0 +FLAGS = + +ifeq (${NUMA}, 1) + FLAGS += -lnuma +endif + TYPE ?= UINT64 all: scan scan: app_baseline.cpp - g++ -O2 app_baseline.cpp -fopenmp -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_OMP -lgomp -I/usr/local/cuda-8.0/include -lm -o scan -D${TYPE} + g++ -Wall -Wextra -pedantic -march=native -O2 app_baseline.cpp -fopenmp -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_OMP -lgomp -I/usr/local/cuda-8.0/include -lm -o scan -DNUMA=${NUMA} -D${TYPE} ${FLAGS} run: scan ./scan -i 1258291200 -t 4 -- cgit v1.2.3