ad144a19695f1a0522eb330c007d2484be9abf27
[GPU.git] / WCudaMSE / Student_Cuda / src / cpp / core / mainCore.cpp
1 #include <iostream>
2 #include <stdlib.h>
3
4
5 using std::cout;
6 using std::endl;
7
8 /*----------------------------------------------------------------------*\
9 |* Declaration *|
10 \*---------------------------------------------------------------------*/
11
12 /*--------------------------------------*\
13 |* Imported *|
14 \*-------------------------------------*/
15
16 extern bool useHello(void);
17
18 /*--------------------------------------*\
19 |* Public *|
20 \*-------------------------------------*/
21
22 int mainCore();
23
24 /*--------------------------------------*\
25 |* Private *|
26 \*-------------------------------------*/
27
28
29
30 /*----------------------------------------------------------------------*\
31 |* Implementation *|
32 \*---------------------------------------------------------------------*/
33
34 /*--------------------------------------*\
35 |* Public *|
36 \*-------------------------------------*/
37
38 int mainCore()
39 {
40 bool isOk = true;
41 isOk &= useHello();
42
43 cout << "\nisOK = " << isOk << endl;
44 cout << "\nEnd : mainCore" << endl;
45
46 return isOk ? EXIT_SUCCESS : EXIT_FAILURE;
47 }
48
49 /*--------------------------------------*\
50 |* Private *|
51 \*-------------------------------------*/
52
53
54
55 /*----------------------------------------------------------------------*\
56 |* End *|
57 \*---------------------------------------------------------------------*/
58