-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_PAMAP2.sh
21 lines (17 loc) · 1.01 KB
/
test_PAMAP2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
r=0.02
d=0.2
n=20
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/PAMAP2.dat > results/PAMAP2$t/priority_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_fenwick -r $r -n $n -d $d -i dataset/reallife/PAMAP2.dat > results/PAMAP2$t/fenwick_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n $n -d $d -i dataset/reallife/PAMAP2.dat > results/PAMAP2$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/PAMAP2.dat > results/PAMAP2$t/priority_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_fenwick -r $r -n $n -d $d -i dataset/reallife/PAMAP2.dat > results/PAMAP2$t/fenwick_${n}_${r}_${s}.txt
PARLAY_NUM_THREADS=${s} ./build/tests/dpc_static -r $r -n $n -d $d -i dataset/reallife/PAMAP2.dat > results/PAMAP2$t/static_${n}_${r}_${s}.txt
done
done