diff options
Diffstat (limited to 'VA')
-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 |