High Performance Computing 1
Pipeline method
•
Pump data left to right and top to bottom
•
recv(&A,P[i,j-1]);
•
recv(&B,P[i-1,j]);
•
C=C+A*B
•
send(&A,P[i,j+1]);
•
send(&B,P[i+1, j]);