Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
BetaT
3 bytes added
,
18:23, 3 April 2017
→
Optimizing with 2 Kernels
u[it] = un[1 * nx + it - 1];
__syncthreads();
u[i * nx + it ] = un[i * nx + it- 1] -
total
c*dt / dx
* (un[i * nx + it - 1] - un[(i - 1) * nx + it - 1]);
__syncthreads();
}
}
}
Jadach1
212
edits