Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
BetaT
19 bytes removed
,
00:11, 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();
}
}
}
Jadach1
212
edits