Changes

Jump to: navigation, search

BetaT

26 bytes added, 00:09, 12 April 2017
SHARED MEMORY KERNEL
__shared__ float s[ntpb];
int i = blockIdx.x * blockDim.x + threadIdx.x; int t = threadIdx.x;
float total = c*dt / dx; if (i < nx && i != 0 && t != 0)
{
for (int it = 1; it <= nx - 1; it++)
212
edits

Navigation menu