-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_static_synthetic.sh~
30 lines (27 loc) · 1.28 KB
/
test_static_synthetic.sh~
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
R=10000000
for((i=1000; i<=$R; i*=10)); do
echo $i
./build/tests/seedspread_generator -s 0 -d 2 $i dataset/simden/${i}.txt
./build/tests/seedspread_generator -s 1 -d 2 $i dataset/varden/${i}.txt
./build/tests/uniform_generator -d 2 $i dataset/uniform/${i}.txt
done
for((s=30; s<=60; s*=2)); do
echo ${s}
for((i=1000; i<=$R; i*=10)); do
r=10
echo $i
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n 0 -d 20 -i dataset/simden/${i}.txt > results/simden/static_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n 0 -d 20 -i dataset/varden/${i}.txt > results/varden/static_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n 0 -d 20 -i dataset/uniform/${i}.txt > results/uniform/static_${r}_${i}_${s}.txt
done
done
for((s=1; s<=16; s*=2)); do
echo ${s}
for((i=1000; i<=$R; i*=10)); do
r=10
echo $i
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n 0 -d 20 -i dataset/simden/${i}.txt > results/simden/static_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n 0 -d 20 -i dataset/varden/${i}.txt > results/varden/static_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n 0 -d 20 -i dataset/uniform/${i}.txt > results/uniform/static_${r}_${i}_${s}.txt
done
done