diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-11-20 11:32:41 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-11-20 11:32:41 +0100 |
commit | 01c6bf683d000d3cbefcbb2499ac50fbc731db22 (patch) | |
tree | 2d762b095e17d804b67c322f1a5aed87d88139ee /VA/Makefile | |
parent | 60f221cc6cee09ce4b3e22271207e0dc18dcac9d (diff) |
VA: optionally include dpu_{alloc,load,free} overhead in benchmark output
Diffstat (limited to 'VA/Makefile')
-rw-r--r-- | VA/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/VA/Makefile b/VA/Makefile index 5ab1e9a..e5a856d 100644 --- a/VA/Makefile +++ b/VA/Makefile @@ -3,13 +3,14 @@ NR_TASKLETS ?= 16 BL ?= 10 TYPE ?= INT32 ENERGY ?= 0 +WITH_ALLOC_OVERHEAD ?= 0 COMMON_INCLUDES := support HOST_SOURCES := $(wildcard host/*.c) DPU_SOURCES := $(wildcard dpu/*.c) COMMON_FLAGS := -Wall -Wextra -g -I${COMMON_INCLUDES} -HOST_FLAGS := ${COMMON_FLAGS} -std=c11 -O3 `dpu-pkg-config --cflags --libs dpu` -DNR_TASKLETS=${NR_TASKLETS} -DNR_DPUS=${NR_DPUS} -DBL=${BL} -D${TYPE} -DENERGY=${ENERGY} +HOST_FLAGS := ${COMMON_FLAGS} -std=c11 -O3 `dpu-pkg-config --cflags --libs dpu` -DNR_TASKLETS=${NR_TASKLETS} -DNR_DPUS=${NR_DPUS} -DBL=${BL} -D${TYPE} -DENERGY=${ENERGY} -DWITH_ALLOC_OVERHEAD=${WITH_ALLOC_OVERHEAD} DPU_FLAGS := ${COMMON_FLAGS} -O2 -DNR_TASKLETS=${NR_TASKLETS} -DBL=${BL} -D${TYPE} QUIET = @ |