diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-08 16:35:46 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-08 16:35:46 +0200 |
commit | 3633e0409cb244a951a251047bd97a2e35986084 (patch) | |
tree | 2f2f661111c8dc91e920de2cc43a0895d6a57991 /SCAN-RSS/baselines/cpu/Makefile | |
parent | 304e74a12bc2644855094da4689a67d87e6c045a (diff) |
SCAN-RSS: NUMA support
Diffstat (limited to 'SCAN-RSS/baselines/cpu/Makefile')
-rw-r--r-- | SCAN-RSS/baselines/cpu/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
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 |