Changes

Jump to: navigation, search

BetaT

215 bytes added, 00:10, 12 April 2017
SHARED MEMORY KERNEL
if (i < nx && i != 0 && t != 0)
{
for (int it = 1; it <= nx - 1; it++) { s[t - 1] = u[(i - 1) * nx + it - 1]; u[it] = s[1]; __syncthreads(); u[i * nx + it] = s[t] - total * (s[t] - s[t - 1]); __syncthreads();
}
}
}
212
edits

Navigation menu