diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-05 13:51:42 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-05 13:51:42 +0200 |
commit | ce5e2d76f06fa825d540c32cacb4bcdbf71e976a (patch) | |
tree | b69ecc70e3fd86a54e70df2f64f00deb647ee9c0 /RED/baselines/cpu/Makefile | |
parent | d0b5af70afdaca2d9e2907012dcd478bb6ef0057 (diff) |
RED baseline: NUMA support
Diffstat (limited to 'RED/baselines/cpu/Makefile')
-rw-r--r-- | RED/baselines/cpu/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/RED/baselines/cpu/Makefile b/RED/baselines/cpu/Makefile index 4350185..c45fc11 100644 --- a/RED/baselines/cpu/Makefile +++ b/RED/baselines/cpu/Makefile @@ -1,7 +1,15 @@ +NUMA ?= 0 +TYPE ?= UINT64 +FLAGS = + +ifeq (${NUMA}, 1) + FLAGS += -lnuma +endif + all: red red: app_baseline.cpp - g++ -O2 app_baseline.cpp -fopenmp -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_OMP -lgomp -lm -o red -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 -DNUMA=${NUMA} -lgomp -lm -o red -D${TYPE} ${FLAGS} run: red ./red -i 1048576000 -t 4 |