



















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















































Why Study Parallelism?
Size vs Power
ARM TensilicaDP Xtensa x 3
Each processor operates with 0.3-0.1 efficiency of the largest chip: more threads, lower power
Topic Overview
Parallel vs Distributed Computing
Parallel vs Concurrent
Parallel Summation
Express the Two Formulations
What’s the Problem?
Therefore... the programmer must discover the || solution
A Related Computation
A[i] is the sum of the first i + 1 elements What advantage can ||ism give?
10 0 0+ 6 6+0 4+6 4 16 16+10 10+26 10 16 16+36 14+52 14 2 2+66 8+68 8 26 10 10+ 30 36 36+ 10 66 66+ 36 0 0+ 40 36 36+ 76 0 0+ 0 Parallel Prefix Algorithm 6 4 16 10 16 14 2 8 6 10 26 36 52 66 68 76 Compute sum going up Figure prefixes going down Invariant: Parent data is sum of elements to left of subtree
Fundamental Tool of || Pgmming