212
edits
Changes
BetaT
,→Optimizing Problems
__global__ void Calculate (double* u, double* un,int nx, int c, double dx, double dt)
{
for (int it = 1; it <= nx - 1; it++) { for (int k = 0; k <= nx - 1; k++) { un[k * nx + it - 1] = u[k * nx + it - 1]; }
}'''