-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_HT.sh
21 lines (17 loc) · 991 Bytes
/
test_HT.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
r=0.5
d=10
n=30
for((t=1; t<=3; t+=1)); do
for((s=30; s<=60; s*=2)); do
echo ${s}
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_priority -r $r -n $n -d $d -i dataset/reallife/HT.pbbs > results/HT$t/priority_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_fenwick -r $r -n $n -d $d -i dataset/reallife/HT.pbbs > results/HT$t/fenwick_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n $n -d $d -i dataset/reallife/HT.pbbs > results/HT$t/static_${n}_${r}_${s}.txt
done
for((s=1; s<=16; s*=2)); do
echo ${s}
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_priority -r $r -n $n -d $d -i dataset/reallife/HT.pbbs > results/HT$t/priority_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_fenwick -r $r -n $n -d $d -i dataset/reallife/HT.pbbs > results/HT$t/fenwick_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n $n -d $d -i dataset/reallife/HT.pbbs > results/HT$t/static_${n}_${r}_${s}.txt
done
done