One (Not So Good) Solution
•
One solution is to apply the summation tree to
compute each y
i
in parallel …
•
This is a “reduce to previous solution” approach
–
Time would be maximum depth, I.e. log
2
n
–
Processor requirements would be
–
1+1+2+2+3+3+ … +n/2+n/2
–
=
n
(
n
/
2
+1) = O(n
2
)
x
1
x
3
x
2
x
4
x
5
x
6
s
3,4
s
1,2
s
5,6
s
1,4
s
5,8
s
1,8
P
0
P
1
P
2
The k = 6
solution