-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_uniform.sh
58 lines (53 loc) · 3.72 KB
/
test_uniform.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
R=100000
for((i=1000; i<=$R; i*=10)); do
echo $i
./build/tests/uniform_generator -d 2 $i dataset/uniform/${i}.txt
done
for((s=40; s<=60; s+=1)); do
echo ${s}
for((i=1000; i<=$R; i*=10)); do
r=10
echo $i
PARLAY_NUM_THREADS=${s} ./build/tests/density_query -r $r -i dataset/uniform/${i}.txt -o dataset/uniform/${i}_dense.txt > results/uniform/density_${r}_${i}_${s}.txt
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_brute -i dataset/uniform/${i}_dense.txt > results/uniform/brute_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_dyn -i dataset/uniform/${i}_dense.txt > results/uniform/dyn_${r}_${i}_${s}.txt
<<<<<<< HEAD
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_static -i dataset/uniform/${i}_dense.txt > results/uniform/static_${r}_${i}_${s}.txt
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_par -i dataset/uniform/${i}_dense.txt > results/uniform/par_${r}_${i}_${s}.txt
=======
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_static -i dataset/uniform/${i}_dense.txt > results/uniform/static_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_par -i dataset/uniform/${i}_dense.txt > results/uniform/par_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_priority -i dataset/uniform/${i}_dense.txt > results/uniform/priority_${r}_${i}_${s}.txt
>>>>>>> 46e4a75c079e602e4448810bbe6517c52815972e
done
for((i=1000; i<=$R; i*=10)); do
r=40
echo $i
PARLAY_NUM_THREADS=${s} ./build/tests/density_query -r $r -i dataset/uniform/${i}.txt -o dataset/uniform/${i}_dense.txt > results/uniform/density_${r}_${i}_${s}.txt
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_brute -i dataset/uniform/${i}_dense.txt > results/uniform/brute_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_dyn -i dataset/uniform/${i}_dense.txt > results/uniform/dyn_${r}_${i}_${s}.txt
<<<<<<< HEAD
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_static -i dataset/uniform/${i}_dense.txt > results/uniform/static_${r}_${i}_${s}.txt
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_par -i dataset/uniform/${i}_dense.txt > results/uniform/par_${r}_${i}_${s}.txt
=======
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_static -i dataset/uniform/${i}_dense.txt > results/uniform/static_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_par -i dataset/uniform/${i}_dense.txt > results/uniform/par_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_priority -i dataset/uniform/${i}_dense.txt > results/uniform/priority_${r}_${i}_${s}.txt
>>>>>>> 46e4a75c079e602e4448810bbe6517c52815972e
done
for((i=1000; i<=$R; i*=10)); do
r=160
echo $i
PARLAY_NUM_THREADS=${s} ./build/tests/density_query -r $r -i dataset/uniform/${i}.txt -o dataset/uniform/${i}_dense.txt > results/uniform/density_${r}_${i}_${s}.txt
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_brute -i dataset/uniform/${i}_dense.txt > results/uniform/brute_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_dyn -i dataset/uniform/${i}_dense.txt > results/uniform/dyn_${r}_${i}_${s}.txt
<<<<<<< HEAD
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_static -i dataset/uniform/${i}_dense.txt > results/uniform/static_${r}_${i}_${s}.txt
# PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_par -i dataset/uniform/${i}_dense.txt > results/uniform/par_${r}_${i}_${s}.txt
=======
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_static -i dataset/uniform/${i}_dense.txt > results/uniform/static_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_par -i dataset/uniform/${i}_dense.txt > results/uniform/par_${r}_${i}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dep_ptr_priority -i dataset/uniform/${i}_dense.txt > results/uniform/priority_${r}_${i}_${s}.txt
>>>>>>> 46e4a75c079e602e4448810bbe6517c52815972e
done
done