The outermost timing loop is also labeled
Closed this issue · 0 comments
overrainbow commented
As line 132 shows in the following generated stencil3d code snippet, the outermost T loop is also labeled. It would cause some confusion in further process. Would it be possible to skip labelling this loop?
132 for (int loop_106=0; loop_106 < 1; loop_106++) {
133 for (t = 0; t <= T - 1; t++ ) {
134 for (int loop_117=0; loop_117 < 1; loop_117++) {
135 for (i = 1; i <= N - 2; i = i + 1)
136 for (j = 1; j <= N - 2; j = j + 1)
137 for (k = 1; k <= N - 2; k = k + 1)
138 b[i][j][k] = f1 * a[i][j][k] + f2 * (a[i + 1][j][k] + a[i - 1][j][k] + a[i][j + 1][k] + a[i][j - 1][k] + a[i][j][k + 1] + a[i][j][k - 1]);
139 } // for (int loop_117=0; loop_117 < 1; loop_117++)
140 for (int loop_131=0; loop_131 < 1; loop_131++) {
141 for (i = 1; i <= N - 2; i = i + 1)
142 for (j = 1; j <= N - 2; j = j + 1)
143 for (k = 1; k <= N - 2; k = k + 1)
144 a[i][j][k] = b[i][j][k];
145 } // for (int loop_131=0; loop_131 < 1; loop_131++)
146 }
147 } // for (int loop_106=0; loop_106 < 1; loop_106++)