summaryrefslogtreecommitdiff
path: root/Microbenchmarks/STREAM/Makefile
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-22 08:08:08 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-22 08:08:08 +0100
commit0f65437a68a26b906ab0da02d9f0ec4b177650fc (patch)
treec263aa41fa2b400762d205b250f82b1b44ce1a26 /Microbenchmarks/STREAM/Makefile
parenta1746b5e3b78b35ea94a65979f9a0ba41dd1eed4 (diff)
STREAM: Use nano- rather than microsecond precision internally
Diffstat (limited to 'Microbenchmarks/STREAM/Makefile')
-rw-r--r--Microbenchmarks/STREAM/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Microbenchmarks/STREAM/Makefile b/Microbenchmarks/STREAM/Makefile
index af3c47e..94cb3d4 100644
--- a/Microbenchmarks/STREAM/Makefile
+++ b/Microbenchmarks/STREAM/Makefile
@@ -15,7 +15,7 @@ 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}
+COMMON_FLAGS = -Wall -Wextra -O2 -D_POSIX_C_SOURCE=200809L -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} -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}
DPU_FLAGS = ${COMMON_FLAGS} -flto