summaryrefslogtreecommitdiff
path: root/RED/run.sh
blob: 9d70a51f182fbab538364d6135582496c965bb45 (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
#!/bin/bash

for i in 1 
do
	for j in BARRIER HAND
	do 	
		for k in 1 2 4 8 16
		do
		    PERF=1 NR_DPUS=$i NR_TASKLETS=$k BL=10 VERSION=TREE SYNC=$j make all
			wait
            ./bin/host_code -w 2 -e 10 -i 2097152 > profile/TREE_${j}_tl${k}_dpu${i}.txt
            #./bin/host_code -w 2 -e 10 -i 2048 > profile/TREE_${j}_tl${k}_dpu${i}.txt
			wait
			make clean
			wait
		done
	done
done

for i in 1 
do
    for k in 1 2 4 8 16
	do
	    PERF=1 NR_DPUS=$i NR_TASKLETS=$k BL=10 VERSION=SINGLE make all
		wait
        ./bin/host_code -w 2 -e 10 -i 2097152 > profile/SINGLE_SINGLE_tl${k}_dpu${i}.txt
        #./bin/host_code -w 2 -e 10 -i 2048 > profile/SINGLE_SINGLE_tl${k}_dpu${i}.txt
		wait
		make clean
		wait
	done
done