Skip to content

Commit

Permalink
examples: Update expected output once Uncached
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed May 2, 2022
1 parent 6320596 commit 5b9adbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions examples/compiler/04_iet-B.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"text": [
"<Expression a = b + c[i] + 5.0>\n",
"<Expression d[j, k] = e[t0, t1, i] - f[t, x, y]>\n",
"<Expression a = 4*a*b>\n",
"<Expression a = 4*b*a>\n",
"<Expression a = 8.0*a + 6.0/b>\n"
]
}
Expand Down Expand Up @@ -184,7 +184,7 @@
" <Iteration j::j::(0, 5, 1)>\n",
" <Iteration k::k::(0, 7, 1)>\n",
" <Expression d[j, k] = e[t0, t1, i] - f[t, x, y]>\n",
" <Expression a = 4*a*b>\n",
" <Expression a = 4*b*a>\n",
" <Iteration t1::t1::(0, 4, 1)>\n",
" <Expression a = 8.0*a + 6.0/b>\n"
]
Expand Down Expand Up @@ -293,7 +293,7 @@
" for (int k = 0; k <= 7; k += 1)\n",
" {\n",
" d[j][k] = e[t0][t1][i] - f[t][x][y];\n",
" a = 4*a*b;\n",
" a = 4*b*a;\n",
" }\n",
" }\n",
" for (int t1 = 0; t1 <= 4; t1 += 1)\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/performance/01_gpu.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
" for (int y = y_m; y <= y_M; y += 1)\n",
" {\n",
" float r3 = -2.0F*u[time][x + 2][y + 2];\n",
" u[time + 1][x + 2][y + 2] = dt*(r0*u[time][x + 2][y + 2] + c*(r1*r3 + r1*u[time][x + 1][y + 2] + r1*u[time][x + 3][y + 2] + r2*r3 + r2*u[time][x + 2][y + 1] + r2*u[time][x + 2][y + 3]));\n",
" u[time + 1][x + 2][y + 2] = dt*(c*(r1*r3 + r1*u[time][x + 1][y + 2] + r1*u[time][x + 3][y + 2] + r2*r3 + r2*u[time][x + 2][y + 1] + r2*u[time][x + 2][y + 3]) + r0*u[time][x + 2][y + 2]);\n",
" }\n",
" }\n",
" STOP_TIMER(section0,timers)\n",
Expand Down

0 comments on commit 5b9adbe

Please sign in to comment.