diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-31 16:10:23 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-05-31 16:10:23 +0200 |
commit | 73366deefcce4a8a22555390bb07630437198041 (patch) | |
tree | 1aa84ff90f6c20ab951ca9785fcfd7f77d47f00e | |
parent | 20e2656d51a2d13a6d4783b97933e8098a1ff158 (diff) |
VA: cleanup
-rw-r--r-- | VA/Makefile | 8 | ||||
-rwxr-xr-x | VA/run-paper-strong-rank.sh | 9 |
2 files changed, 10 insertions, 7 deletions
diff --git a/VA/Makefile b/VA/Makefile index d089ab1..5ab1e9a 100644 --- a/VA/Makefile +++ b/VA/Makefile @@ -8,8 +8,6 @@ COMMON_INCLUDES := support HOST_SOURCES := $(wildcard host/*.c) DPU_SOURCES := $(wildcard dpu/*.c) -.PHONY: all clean test - 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} DPU_FLAGS := ${COMMON_FLAGS} -O2 -DNR_TASKLETS=${NR_TASKLETS} -DBL=${BL} -D${TYPE} @@ -23,7 +21,7 @@ endif all: bin/host_code bin/dpu_code bin: - ${QUIET} mkdir -p bin + ${QUIET}mkdir -p bin bin/host_code: ${HOST_SOURCES} ${COMMON_INCLUDES} bin ${QUIET}${CC} -o $@ ${HOST_SOURCES} ${HOST_FLAGS} @@ -35,4 +33,6 @@ clean: ${QUIET}rm -rf bin test: all - bin/host_code + ${QUIET}bin/host_code + +.PHONY: all clean test diff --git a/VA/run-paper-strong-rank.sh b/VA/run-paper-strong-rank.sh index 956da2f..d951049 100755 --- a/VA/run-paper-strong-rank.sh +++ b/VA/run-paper-strong-rank.sh @@ -8,16 +8,19 @@ set -e # -e: number of timed iterations # -i; ignored, always uses 262144 elements +( + echo "prim-benchmarks VA strong-rank (dfatool edition)" echo "Started at $(date)" echo "Revision $(git describe --always)" -# 256 and 512 are not part of upstream config spac -for nr_dpus in 1 4 16 64 256 512; do +# 256 and 512 are not part of upstream config space +for nr_dpus in 512 256 1 4 16 64; do for nr_tasklets in 1 2 4 8 16; do echo if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets} BL=10; then timeout --foreground -k 1m 30m bin/host_code -w 0 -e 100 -i 2621440 -x 1 || true fi done -done | tee log-paper-strong-rank.txt +done +) | tee log-paper-strong-rank.txt |