-- Mar 23 In-Class Exercise
There will be 2 rounds (1 map, 1 reduce) per step of PRAM computation. Therefore, 20 map-reduce rounds will be required to simulate a PRAM computation.
We can reserve a specific unique subset of registers for a given processor such that only that processor can access those registers. These registers will simulate accumulators.
A reducer can write the processor id to an accumulator.
No. In a given timestep t, different processors might not necessarily execute the same instruction because depending on the data, different processors might go down different paths in the execution flow.
There will be 2 rounds (1 map, 1 reduce) per step of PRAM computation. Therefore, 20 map-reduce rounds will be required to simulate a PRAM computation.
We can reserve a specific unique subset of registers for a given processor such that only that processor can access those registers. These registers will simulate accumulators.
A reducer can write the processor id to an accumulator.
No. In a given timestep t, different processors might not necessarily execute the same instruction because depending on the data, different processors might go down different paths in the execution flow.