Question: Input: Array A of n numbers ( n = 2 0 4 8 ) Output: [ ] 1 = 0 Task: Parallelize this problem efficiently
Input: Array A of n numbers n Output: Task: Parallelize this problem efficiently using an array of processing elements PEs Assumptions: Computation Each PE can add two numbers stored in its local memory in one time unit.It is considered as one second. Communication A PE can send data from its local memory to the local memory of anyother PE in three time units independent of the size of the data It is considered asthree seconds. Input and output At the beginning of the program, the whole input array A is stored inPE # At the end, the result should be gathered in PE # Synchronization All PEs operate in a lockstep manner; ie they can either compute,communicate, or be idle.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
