summaryrefslogtreecommitdiff
path: root/Microbenchmarks/STREAM/run.sh
diff options
context:
space:
mode:
authorJuan Gomez Luna <juan.gomez@safari.ethz.ch>2021-06-16 19:46:05 +0200
committerJuan Gomez Luna <juan.gomez@safari.ethz.ch>2021-06-16 19:46:05 +0200
commit3de4b495fb176eba9a0eb517a4ce05903cb67acb (patch)
treefc6776a94549d2d4039898f183dbbeb2ce013ba9 /Microbenchmarks/STREAM/run.sh
parentef5c3688c486b80a56d3c1cded25f2b2387f2668 (diff)
PrIM -- first commit
Diffstat (limited to 'Microbenchmarks/STREAM/run.sh')
-rwxr-xr-xMicrobenchmarks/STREAM/run.sh35
1 files changed, 35 insertions, 0 deletions
diff --git a/Microbenchmarks/STREAM/run.sh b/Microbenchmarks/STREAM/run.sh
new file mode 100755
index 0000000..141b01c
--- /dev/null
+++ b/Microbenchmarks/STREAM/run.sh
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+# MRAM
+for i in copy copyw add scale triad
+do
+ for j in 1
+ do
+ for k in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+ do
+ NR_DPUS=$j NR_TASKLETS=$k BL=10 MEM=MRAM OP=$i make all
+ wait
+ ./bin/host_code -w 0 -e 1 -i 2097152 >& profile/${i}_${j}_tl${k}_MRAM.txt
+ wait
+ make clean
+ wait
+ done
+ done
+done
+
+# WRAM
+for i in copyw add scale triad
+do
+ for j in 1
+ do
+ for k in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+ do
+ NR_DPUS=$j NR_TASKLETS=$k BL=10 MEM=WRAM OP=$i make all
+ wait
+ ./bin/host_code -w 0 -e 1 -i 2097152 >& profile/${i}_${j}_tl${k}_WRAM.txt
+ wait
+ make clean
+ wait
+ done
+ done
+done