summaryrefslogtreecommitdiff
path: root/Microbenchmarks/Operational-Intensity/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/Operational-Intensity/run.sh
parentef5c3688c486b80a56d3c1cded25f2b2387f2668 (diff)
PrIM -- first commit
Diffstat (limited to 'Microbenchmarks/Operational-Intensity/run.sh')
-rwxr-xr-xMicrobenchmarks/Operational-Intensity/run.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/Microbenchmarks/Operational-Intensity/run.sh b/Microbenchmarks/Operational-Intensity/run.sh
new file mode 100755
index 0000000..a540154
--- /dev/null
+++ b/Microbenchmarks/Operational-Intensity/run.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+for i in ADD SUB MUL DIV
+do
+ for j in CHAR SHORT INT32 FLOAT INT64 DOUBLE
+ do
+ for k in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
+ do
+ for l in 0.001953125 0.00390625 0.0078125 0.015625 0.03125 0.0625 0.125 0.25 0.5 1 2 4 8 16 32 64 128 256 512
+ do
+ NR_DPUS=1 NR_TASKLETS=$k BL=10 OP=$i TYPE=$j make all
+ wait
+ ./bin/host_code -w 0 -e 1 -i 1048576 -p ${l} >& profile/${i}_${j}_tl${k}_p${l}.txt
+ wait
+ make clean
+ wait
+ done
+ done
+ done
+done