summaryrefslogtreecommitdiff
path: root/GEMV/baselines/cpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'GEMV/baselines/cpu/Makefile')
-rw-r--r--GEMV/baselines/cpu/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/GEMV/baselines/cpu/Makefile b/GEMV/baselines/cpu/Makefile
index 382fa96..016d561 100644
--- a/GEMV/baselines/cpu/Makefile
+++ b/GEMV/baselines/cpu/Makefile
@@ -1,4 +1,5 @@
NUMA ?= 0
+NUMA_MEMCPY ?= 0
FLAGS =
TYPE ?= double
@@ -10,7 +11,7 @@ endif
all: gemv
gemv: gemv_openmp.c
- gcc -Wall -Wextra -pedantic -march=native -O2 -o gemv -fopenmp -DNUMA=${NUMA} -DT=${TYPE} -DTYPE_${TYPE} gemv_openmp.c ${FLAGS}
+ gcc -ggdb -Wall -Wextra -pedantic -march=native -O2 -o gemv -fopenmp -DNUMA=${NUMA} -DNUMA_MEMCPY=${NUMA_MEMCPY} -DT=${TYPE} -DTYPE_${TYPE} gemv_openmp.c ${FLAGS}
gemv_O0: gemv_openmp.c
gcc -o gemv_O0 -fopenmp gemv_openmp.c