An Alternative ...
•
The “summation tree”
•
Exploit associativity of addition …
–
Number the processors 0 to n/2 - 1
–
Processor P
i
adds x
2P+1
and x
2(P+1)
•
Common Notation:
n
is used for
problem size
P
is used for
number of processors