Open main menu

CDOT Wiki β

Changes

BetaT

11 bytes added, 18:11, 29 March 2017
Optimizing Problems
for (int k = 0; k <= nx - 1; k++) if (k*dx >= 0.5 && k*dx <= 1)
{
u[k * nt] = 2; __syncthreads();
}
 
else
 { u[k * nt] = 1;
__syncthreads();
 
}
 
}
 
'''
212
edits