Please post your solutions to the Mar 23 In-Class Exercise to this thread.
Best,
Chris
4.In each step, PRAM processors could be executing different instructions. Not every processor needs to be in sync with which map or reduce it's performing, there could be a counter which represents the status of map/reduce rounds and they could go to next step once the program counter indicates that 2 rounds of map-reduce is set to done.
(Edited: 2022-03-23)2.Certain registers can be reserved to be used only by certain processors. <br>
1 - As there are 2 rounds for each processor per step, there will be 20 map-reduce rounds for a 10-step PRAM computation. 2 - We can reserve a specific group of registers only available to a processor for the computation. 3 - LoadProcid k will store processor id in accumulator k. 4 - In a given timestep t, all PRAM processors will not be working on the same instruction. Different instructions may be processed based on processor id.
<pre>
</pre>
<pre>
</pre>