summaryrefslogtreecommitdiff
path: root/BS/baselines/cpu/Makefile
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-23 10:50:24 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-23 10:50:24 +0200
commit1a1696dd8414771a695675c679b5046f1955a943 (patch)
treee09ab2687e26e7a7258b5f3acc13712f7e15a57b /BS/baselines/cpu/Makefile
parent32f8ed0eabb3e21d8d5315b11c3c8e7e06e668af (diff)
BS baseline: Add memcpy variant
Diffstat (limited to 'BS/baselines/cpu/Makefile')
-rw-r--r--BS/baselines/cpu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/BS/baselines/cpu/Makefile b/BS/baselines/cpu/Makefile
index bed2561..b67602f 100644
--- a/BS/baselines/cpu/Makefile
+++ b/BS/baselines/cpu/Makefile
@@ -1,4 +1,5 @@
NUMA ?= 0
+NUMA_MEMCPY ?= 0
FLAGS =
ifeq (${NUMA}, 1)
@@ -9,7 +10,7 @@ endif
all: bs_omp
bs_omp: bs_omp.c
- gcc -Wall -Wextra -pedantic -march=native -O2 -DNUMA=${NUMA} bs_omp.c -o bs_omp -fopenmp ${FLAGS}
+ gcc -Wall -Wextra -pedantic -march=native -O2 -DNUMA=${NUMA} -DNUMA_MEMCPY=${NUMA_MEMCPY} bs_omp.c -o bs_omp -fopenmp ${FLAGS}
bs_omp_O0: bs_omp.c
gcc bs_omp.c -o bs_omp_O0 -fopenmp