Open main menu

CDOT Wiki β

Changes

BetaT

51 bytes added, 18:05, 3 April 2017
Optimizing with 2 Kernels
I have removed the 2 inner for loops but kept the outer loop.
The program takes 2 arrays. Let us say the X's represent the arrays below
Array 1 Array 2
xxxxx xxxxx
xxxxx xxxxx
xxxxx xxxxx
xxxxx xxxxx
xxxxx xxxxx
__global__ void Calculate (float* u, float* un,int nx, int c, float dx, float dt)
212
edits