Skip to content

Commit 7c6a342

Browse files
committed
Update README.md
1 parent b15e5a3 commit 7c6a342

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,15 @@ for (i = 0; i < n; i++)
145145
146146
4. **FOX Kernel in the Parallel Program**
147147
148-
* ``` c
148+
* ``` c
149+
n_bar = n/grid->q;
150+
Set_to_zero(local_C);
151+
152+
source = (grid->my_row + 1) % grid->q;
153+
dest = (grid->my_row + grid->q - 1) % grid->q;
154+
155+
temp_A = Local_matrix_allocate(n_bar);
156+
149157
for (stage = 0; stage < grid->q; stage++) {
150158
bcast_root = (grid->my_row + stage) % grid->q;
151159
if (bcast_root == grid->my_col) {

0 commit comments

Comments
 (0)