summaryrefslogtreecommitdiff
path: root/Microbenchmarks/STREAM/Makefile
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-03-04 14:01:39 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-03-04 14:01:39 +0100
commit9c6c6d37c52facc0ee2f289db4e021766768f5c6 (patch)
tree95c3800e6f30cb6b57286ed93e30bbe398abb769 /Microbenchmarks/STREAM/Makefile
parentcb66c09298004a6dc6ac88300bee8441d4046a29 (diff)
STREAM: support SERIAL (default) and PUSH (new) transfers
Diffstat (limited to 'Microbenchmarks/STREAM/Makefile')
-rw-r--r--Microbenchmarks/STREAM/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Microbenchmarks/STREAM/Makefile b/Microbenchmarks/STREAM/Makefile
index e653af7..048a46e 100644
--- a/Microbenchmarks/STREAM/Makefile
+++ b/Microbenchmarks/STREAM/Makefile
@@ -10,13 +10,14 @@ WITH_LOAD_OVERHEAD ?= 0
WITH_FREE_OVERHEAD ?= 0
WITH_DPUINFO ?= 0
SDK_SINGLETHREADED ?= 0
+TRANSFER ?= SERIAL
DPU_SOURCES = dpu/${OP}.c
HOST_SOURCES = $(wildcard host/*.c)
COMMON_INCLUDES = support
COMMON_FLAGS = -Wall -Wextra -O2 -I${COMMON_INCLUDES} -DNR_DPUS=${NR_DPUS} -DNR_TASKLETS=${NR_TASKLETS} -DBL=${BL} -DT=${T} -D${OP} -D${MEM} -DUNROLL=${UNROLL}
-HOST_FLAGS = ${COMMON_FLAGS} -D_POSIX_C_SOURCE=200809L -std=c11 `dpu-pkg-config --cflags --libs dpu` -DWITH_ALLOC_OVERHEAD=${WITH_ALLOC_OVERHEAD} -DWITH_LOAD_OVERHEAD=${WITH_LOAD_OVERHEAD} -DWITH_FREE_OVERHEAD=${WITH_FREE_OVERHEAD} -DWITH_DPUINFO=${WITH_DPUINFO} -DSDK_SINGLETHREADED=${SDK_SINGLETHREADED}
+HOST_FLAGS = ${COMMON_FLAGS} -D_POSIX_C_SOURCE=200809L -std=c11 `dpu-pkg-config --cflags --libs dpu` -DWITH_ALLOC_OVERHEAD=${WITH_ALLOC_OVERHEAD} -DWITH_LOAD_OVERHEAD=${WITH_LOAD_OVERHEAD} -DWITH_FREE_OVERHEAD=${WITH_FREE_OVERHEAD} -DWITH_DPUINFO=${WITH_DPUINFO} -DSDK_SINGLETHREADED=${SDK_SINGLETHREADED} -D${TRANSFER}
DPU_FLAGS = ${COMMON_FLAGS} -flto
QUIET = @