Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / mainFreeGL.cpp
1 #include <iostream>
2 #include <stdlib.h>
3 #include <string.h>
4
5 #include "Device.h"
6 #include "cudaTools.h"
7
8 using std::cout;
9 using std::endl;
10 using std::string;
11
12 /*----------------------------------------------------------------------*\
13 |* Declaration *|
14 \*---------------------------------------------------------------------*/
15
16 /*--------------------------------------*\
17 |* Imported *|
18 \*-------------------------------------*/
19
20 extern int rippling0FreeGL(int itmax); // bas technique
21
22 /*--------------------------------------*\
23 |* Public *|
24 \*-------------------------------------*/
25
26 int mainFreeGL(void);
27
28 /*--------------------------------------*\
29 |* Private *|
30 \*-------------------------------------*/
31
32 /*----------------------------------------------------------------------*\
33 |* Implementation *|
34 \*---------------------------------------------------------------------*/
35
36 /*--------------------------------------*\
37 |* Public *|
38 \*-------------------------------------*/
39
40 int mainFreeGL(void)
41 {
42 cout << "\n[FPS] : Free GL, please wait ..." << endl;
43
44 rippling0FreeGL(1000); // bad technique
45
46 // TODO : add other tp here ...
47
48 return EXIT_SUCCESS;
49 }
50
51 /*--------------------------------------*\
52 |* Private *|
53 \*-------------------------------------*/
54
55 /*----------------------------------------------------------------------*\
56 |* End *|
57 \*---------------------------------------------------------------------*/
58