Skip to content

Commit bee8ed3

Browse files
retab wavefront
1 parent 24a147a commit bee8ed3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

doc/app/wavefront/wavefront.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ and use it to explicitly specify both input and output task dependencies.
104104
13: {
105105
14: #pragma omp single
106106
15: {
107-
16: matrix[M-1][N-1] = 0;
108-
17: for( int k=1; k <= 2*MB-1; k++) {
107+
16: matrix[M-1][N-1] = 0;
108+
17: for( int k=1; k <= 2*MB-1; k++) {
109109
18: int i, j;
110110
19: if(k <= MB){
111111
20: i = k-1;
@@ -127,8 +127,8 @@ and use it to explicitly specify both input and output task dependencies.
127127
36: else if(i == 0 && j == 0){
128128
37: #pragma omp task depend(out:D[i][j]) firstprivate(i, j)
129129
38: block_computation(i, j);
130-
39: }
131-
40: //top edge
130+
39: }
131+
40: //top edge
132132
41: else if(j+1 <= NB && i == 0 && j > 0){
133133
42: #pragma omp task depend(in:D[i][j-1]) depend(out:D[i][j]) firstprivate(i, j)
134134
43: block_computation(i, j);
@@ -147,7 +147,7 @@ and use it to explicitly specify both input and output task dependencies.
147147
56: assert(false);
148148
57: }
149149
58: }
150-
59: }
150+
59: }
151151
60: }
152152
61: }
153153
62:

0 commit comments

Comments
 (0)