Commit 30220022 authored by ph's avatar ph

up

parent 86ee2e8a
......@@ -257,7 +257,7 @@ __kernel void time_step(__global float *wn, __global float *wnp1) {
// load middle value
for (int iv = 0; iv < _M; iv++) {
int imem = i + j * _NX + iv * ngrid;
wnow[iv] = wn[imem];
wnow[iv] = wn[imem]; // moralement: wn[iv][j][i]
wnext[iv] = wnow[iv];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment