27
All Part Of One Code
•The SPMD program form requires that both ‘sides’ of the communication are coded together
•
•if my_col(k) then bdcast(A[mylo1..myhi1,k])
• else record(Col[mylo1..myhi1. * ]);
•if my_row(k) then bdcast(B[k,mylo2..myhi2])
• else record(Row[ * ,mylo2..myhi2]);
•
The actual form of communication is given below