From c194ddf77142319d9b681d62ac11da77315916cf Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Wed, 28 Feb 2024 15:51:52 +0100 Subject: add remaining fgbs24a scripts --- GEMV/run-fgbs24a.sh | 2 +- RED/run-fgbs24a.sh | 28 ++++++++++++++++++++++++++++ SCAN-RSS/run-fgbs24a.sh | 23 +++++++++++++++++++++++ SEL/run-fgbs24a.sh | 29 +++++++++++++++++++++++++++++ SpMV/run-fgbs24a.sh | 31 +++++++++++++++++++++++++++++++ 5 files changed, 112 insertions(+), 1 deletion(-) create mode 100755 RED/run-fgbs24a.sh create mode 100755 SCAN-RSS/run-fgbs24a.sh create mode 100755 SEL/run-fgbs24a.sh create mode 100755 SpMV/run-fgbs24a.sh diff --git a/GEMV/run-fgbs24a.sh b/GEMV/run-fgbs24a.sh index 97e01ff..8ee44e2 100755 --- a/GEMV/run-fgbs24a.sh +++ b/GEMV/run-fgbs24a.sh @@ -6,7 +6,7 @@ mkdir -p $(hostname) ( -echo "prim-benchmarks GEMV strong-full (dfatool edition)" +echo "prim-benchmarks GEMV (dfatool fgbs24a edition)" echo "Started at $(date)" echo "Revision $(git describe --always)" diff --git a/RED/run-fgbs24a.sh b/RED/run-fgbs24a.sh new file mode 100755 index 0000000..becee22 --- /dev/null +++ b/RED/run-fgbs24a.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +set -e + +mkdir -p $(hostname) + +# BL: use 2^(BL) B blocks for MRAM <-> WRAM transfers on PIM module +# T: data type +# -w: number of un-timed warmup iterations +# -e: number of timed iterations + +( + +echo "prim-benchmarks RED (dfatool fgbs24a edition)" +echo "Started at $(date)" +echo "Revision $(git describe --always)" + +# >2048 are not part of upstream +for nr_dpus in 2543 2304 2048; do + for nr_tasklets in 16; do + echo + if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets} BL=10 VERSION=SINGLE; then + timeout --foreground -k 1m 30m bin/host_code -w 0 -e 100 -i 419430400 -x 1 || true + fi + done +done +echo "Completed at $(date)" +) | tee "$(hostname)/fgbs24a.txt" diff --git a/SCAN-RSS/run-fgbs24a.sh b/SCAN-RSS/run-fgbs24a.sh new file mode 100755 index 0000000..af3a8c9 --- /dev/null +++ b/SCAN-RSS/run-fgbs24a.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +set -e + +mkdir -p $(hostname) + +( + +echo "prim-benchmarks SCAN-RSS (dfatool fgbs24a edition)" +echo "Started at $(date)" +echo "Revision $(git describe --always)" + +# >2048 is not part of upstream +for nr_dpus in 2543 2304 2048; do + for nr_tasklets in 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 251658240 -x 1 || true + fi + done +done +echo "Completed at $(date)" +) | tee "$(hostname)/fgbs24a.txt" diff --git a/SEL/run-fgbs24a.sh b/SEL/run-fgbs24a.sh new file mode 100755 index 0000000..079ec3f --- /dev/null +++ b/SEL/run-fgbs24a.sh @@ -0,0 +1,29 @@ +#!/bin/bash + +set -e + +mkdir -p $(hostname) + +# BL: use 2^(BL) B blocks for MRAM <-> WRAM transfers on PIM module +# T: data type +# -w: number of un-timed warmup iterations +# -e: number of timed iterations +# -i; ignored, always uses 262144 elements + +( + +echo "prim-benchmarks SEL (dfatool fgbs24a edition)" +echo "Started at $(date)" +echo "Revision $(git describe --always)" + +# >2048 is not in upstream +for nr_dpus in 2543 2304 2048; do + for nr_tasklets in 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 251658240 -x 1 || true + fi + done +done +echo "Completed at $(date)" +) | tee "$(hostname)/fgbs24a.txt" diff --git a/SpMV/run-fgbs24a.sh b/SpMV/run-fgbs24a.sh new file mode 100755 index 0000000..ded0618 --- /dev/null +++ b/SpMV/run-fgbs24a.sh @@ -0,0 +1,31 @@ +#!/bin/bash + +set -e + +mkdir -p $(hostname) + +( + +echo "prim-benchmarks SpMV (dfatool fgbs24a edition)" +echo "Started at $(date)" +echo "Revision $(git describe --always)" + +cd data/generate +./replicate ../bcsstk30.mtx 64 ../bcsstk30.mtx.64.mtx +cd ../.. + +for nr_dpus in 2543 2304 2048; do + for nr_tasklets in 16; do + echo + if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets}; then + # repetition is not part of upstream setup + for i in `seq 1 100`; do + timeout --foreground -k 1m 3m bin/host_code -v 0 -f data/bcsstk30.mtx.64.mtx || true + done + fi + done +done +echo "Completed at $(date)" +) | tee "$(hostname)/fgbs24a.txt" + +rm -f data/bcsstk30.mtx.64.mtx -- cgit v1.2.3