summaryrefslogtreecommitdiff
path: root/milos-roofline.sh
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-16 16:11:42 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-16 16:11:42 +0200
commit044fafe8d98615c5f869e2776f36f90c9dd9a44f (patch)
tree2e97e308a98baa8c47355b16b6416dbea1cf408a /milos-roofline.sh
parent5e1c9ee75c249c4325eed7ba691a4b83f6b6f76f (diff)
add roofline copy benchmark script on milos
Diffstat (limited to 'milos-roofline.sh')
-rwxr-xr-xmilos-roofline.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/milos-roofline.sh b/milos-roofline.sh
new file mode 100755
index 0000000..092d147
--- /dev/null
+++ b/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