summaryrefslogtreecommitdiff
path: root/benchmark-scripts/milos-roofline.sh
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-10-25 16:15:13 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-10-25 16:15:13 +0200
commit1faaca011c7041e8024eebe1b8627eb599a1841e (patch)
treeddd8cd16f1fe5bfdc394ecbfcd8e5e9827103901 /benchmark-scripts/milos-roofline.sh
parent0f0101364949ca16eb9b74ee01030c04d1d3e924 (diff)
add benchmark script for milos (DRAM + HBM)master
Diffstat (limited to 'benchmark-scripts/milos-roofline.sh')
-rwxr-xr-xbenchmark-scripts/milos-roofline.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmark-scripts/milos-roofline.sh b/benchmark-scripts/milos-roofline.sh
new file mode 100755
index 0000000..092d147
--- /dev/null
+++ b/benchmark-scripts/milos-roofline.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+mkdir -p log
+fn=log/${HOST}-roofline
+
+make -B numa=1 pthread=1
+
+parallel -j1 --eta --joblog ${fn}.joblog --resume --header : \
+ ./mbw -a {ram_in} -b {ram_out} -c {cpu} -n 10 -N {nr_threads} -t0 4096 \
+ ::: ram_in $(seq 0 15) \
+ ::: ram_out $(seq 0 15) \
+ ::: cpu $(seq 0 7) \
+ ::: nr_threads $(seq 1 16) \
+>> ${fn}.txt