Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Tuto_Boost / src / main.cpp
1 #include <iostream>
2 #include <stdlib.h>
3
4 /*----------------------------------------------------------------------*\
5 |* Declaration *|
6 \*---------------------------------------------------------------------*/
7
8 using std::cout;
9 using std::endl;
10
11 /*--------------------------------------*\
12 |* Imported *|
13 \*-------------------------------------*/
14
15 extern bool useThread(void);
16 extern bool useOption(int argc, char** argv);
17
18 /*--------------------------------------*\
19 |* Public *|
20 \*-------------------------------------*/
21
22 /*--------------------------------------*\
23 |* Private *|
24 \*-------------------------------------*/
25
26 /*----------------------------------------------------------------------*\
27 |* Implementation *|
28 \*---------------------------------------------------------------------*/
29
30 /*--------------------------------------*\
31 |* Public *|
32 \*-------------------------------------*/
33
34 int main(int argc, char** argv)
35 {
36 bool isOk = true;
37
38 isOk &= useOption(argc, argv);
39 isOk &= useThread();
40
41 return isOk ? EXIT_SUCCESS : EXIT_FAILURE;
42 }
43
44 /*----------------------------------------------------------------------*\
45 |* End *|
46 \*---------------------------------------------------------------------*/
47