updated hw4, added src directory
git-svn-id: svn://anubis/gvsu@239 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
22a26b6e03
commit
756f1a0bba
@ -42,6 +42,12 @@
|
|||||||
|
|
||||||
Then, the procedure to transpose the matrix is as follows:
|
Then, the procedure to transpose the matrix is as follows:
|
||||||
For each process $i$, a gather operation is performed.
|
For each process $i$, a gather operation is performed.
|
||||||
|
In this gather operation, each process $j$ sends to $i$ the $k$
|
||||||
|
values it owns in column $i$ (where $k$ is the number of rows
|
||||||
|
assigned to process $j$).
|
||||||
|
Thus, at the end of each gather operation process $i$ has received
|
||||||
|
the entire contents of column $i$ of the matrix.
|
||||||
|
This algorithm takes $p \log p$ steps to complete.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user