\r
void launchKernelRippling0(uchar4* ptrDevPixels, int w, int h, float t)\r
{\r
- dim3 dg = dim3(8, 8, 1); // disons, a optimiser\r
- dim3 db = dim3(16, 16, 1); // disons, a optimiser\r
+ dim3 dg = dim3(4, 4, 1); // disons, a optimiser\r
+ dim3 db = dim3(8, 8, 1); // disons, a optimiser\r
\r
//Device::print(dg, db);\r
- Device::checkDimError(dg,db);\r
+ Device::checkDimError(dg,db);\r
\r
rippling0<<<dg,db>>>(ptrDevPixels,w,h,t);\r
Device::checkKernelError("rippling0");\r
\r
__global__ void rippling0(uchar4* ptrDevPixels, int w, int h, float t)\r
{\r
- Rippling0Math rippling0Math = Rippling0Math(w, h);\r
+ Rippling0Math rippling0Math(w, h);\r
\r
const int TID = Indice2D::tid();\r
const int NB_THREAD = Indice2D::nbThread();\r