-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
06ae424
commit 4e50a70
Showing
6 changed files
with
128 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
topic_rigid_programs/matrixmultiplication/2d_matrices.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="ui container segment raised">In this activity we distributed the matrices across the MPI processes, which | ||
entails dealing with local vs. global indexing. As opposed to what was seen in previous topics, we now use a 2-D data distribution, | ||
which complicates indexing a bit. We multiply square matrices: <i>A = B x C</i>. | ||
</div> | ||
|
||
<div class="ui top attached tabular menu"> | ||
<a class="item active" data-tab="data_distribution">Step #1: Data Distribution</a> | ||
</div> | ||
|
||
|
||
<div class="ui bottom attached tab segment active" data-tab="data_distribution"> | ||
|
||
{% include_relative data_distribution.html %} | ||
|
||
</div> | ||
|
12 changes: 12 additions & 0 deletions
12
topic_rigid_programs/matrixmultiplication/data_distribution.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<p class="ui"> | ||
Implement a program called <code>matmul_init</code> (<code>matmul_init.c</code>) that takes a | ||
single command-line argument, <i>N</i>, which is a strictly positive integer. <i>N</i> is the | ||
dimension of the square matrices that we multiply. | ||
|
||
|
||
</p> | ||
|
||
<p class="ui"> | ||
YYY | ||
</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters