File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ and use it to explicitly specify both input and output task dependencies.
10410413: {
10510514: #pragma omp single
10610615: {
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++) {
10910918: int i, j;
11011019: if(k <= MB){
11111120: i = k-1;
@@ -127,8 +127,8 @@ and use it to explicitly specify both input and output task dependencies.
12712736: else if(i == 0 && j == 0){
12812837: #pragma omp task depend(out: D [ i] [ j] ) firstprivate(i, j)
12912938: block_computation(i, j);
130- 39: }
131- 40: //top edge
130+ 39: }
131+ 40: //top edge
13213241: else if(j+1 <= NB && i == 0 && j > 0){
13313342: #pragma omp task depend(in: D [ i] [ j-1] ) depend(out: D [ i] [ j] ) firstprivate(i, j)
13413443: block_computation(i, j);
@@ -147,7 +147,7 @@ and use it to explicitly specify both input and output task dependencies.
14714756: assert(false);
14814857: }
14914958: }
150- 59: }
150+ 59: }
15115160: }
15215261: }
15315362:
You can’t perform that action at this time.
0 commit comments