summaryrefslogtreecommitdiff
path: root/Microbenchmarks/STRIDED/run.sh
blob: ec575c66aca4d31ab1508fcbc9412b2c327fa257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

mkdir -p profile
set -e

for i in COARSECOARSE FINEFINE
do
	for j in 1 
	do 	
        for k in 1 2 4 8 16
        do 	
            for l in 1 2 4 8 16 32 64 128 256 512 1024 2048 4096
            do 	
                NR_DPUS=$j NR_TASKLETS=$k BL=10 OP=$i make all
                wait
                ./bin/host_code -w 0 -e 1 -i 2097152 -s ${l} >& profile/${i}_${j}_tl${k}_s${l}.txt
                wait
                make clean
                wait
            done
        done
	done
done