Name (print *CLEARLY*): _________________________________________________


Student ID (print *CLEARLY*; 1 digit per underline): _____ _____ _____ _____ _____ _____

CSE 231s Quiz 25: Phaser Butterfly Network and Iterative Averaging

Consider the butterfly network of 4 tasks below.
Horizontal lines represent dependences within each task.
Diagonal lines represent dependences between tasks that should be established by phasers.

1) Encircle the critical path

2) What is the CPL? _________________

butterfly network

note: the image below is identical to the one above in case you need to keep track of anything and you want a clean image for encircling the critical path.

butterfly network

Iterative Averaging

Imagine an array of length 11 below which is sliced up into 3 Ranges A, B, and C:

iterative averaging

For Sliced Range A

* Which indices are "shared work" and must be processed before signaling arrival?

_____________________

* Which indices are "local work" with greater flexibility?

_____________________


For Sliced Range B

* Which indices are "shared work" and must be processed before signaling arrival?

_____________________

* Which indices are "local work" with greater flexibility?

_____________________


For Sliced Range C

* Which indices are "shared work" and must be processed before signaling arrival?

_____________________

* Which indices are "local work" with greater flexibility?

_____________________