Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 01_Rippling / moo / device / ripplingDevice.cu
1 #include <iostream>\r
2 \r
3 #include "Indice2D.h"\r
4 #include "cudaTools.h"\r
5 #include "Device.h"\r
6 \r
7 #include "RipplingMath.h"\r
8 \r
9 using std::cout;\r
10 using std::endl;\r
11 \r
12 /*----------------------------------------------------------------------*\\r
13  |*                     Declaration                                     *|\r
14  \*---------------------------------------------------------------------*/\r
15 \r
16 /*--------------------------------------*\\r
17  |*             Imported                *|\r
18  \*-------------------------------------*/\r
19 \r
20 /*--------------------------------------*\\r
21  |*             Public                  *|\r
22  \*-------------------------------------*/\r
23 \r
24 __global__ void rippling(uchar4* ptrDevPixels, int w, int h, float t);\r
25 \r
26 /*--------------------------------------*\\r
27  |*             Private                 *|\r
28  \*-------------------------------------*/\r
29 \r
30 /*----------------------------------------------------------------------*\\r
31  |*                     Implementation                                  *|\r
32  \*---------------------------------------------------------------------*/\r
33 \r
34 /*--------------------------------------*\\r
35  |*             Public                  *|\r
36  \*-------------------------------------*/\r
37 \r
38 /*--------------------------------------*\\r
39  |*             Private                 *|\r
40  \*-------------------------------------*/\r
41 \r
42 __global__ void rippling(uchar4* ptrDevPixels, int w, int h, float t)\r
43     {\r
44     RipplingMath ripplingMath = RipplingMath(w, h);\r
45 \r
46     // TODO pattern entrelacement\r
47     }\r
48 \r
49 /*----------------------------------------------------------------------*\\r
50  |*                     End                                             *|\r
51  \*---------------------------------------------------------------------*/\r
52 \r