summaryrefslogtreecommitdiff
path: root/Microbenchmarks/STREAM/run.sh
blob: 141b01cc1bba972ad7e63e3b581c91b495d82c01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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