Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_OMP / src / cpp / core / omp / 01_hello / useHello.cpp
1 #include <iostream>
2
3 using std::cout;
4 using std::endl;
5
6 /*----------------------------------------------------------------------*\
7 |* Declaration *|
8 \*---------------------------------------------------------------------*/
9
10
11 /*--------------------------------------*\
12 |* Imported *|
13 \*-------------------------------------*/
14
15 extern void helloOMP1(void);
16 extern void helloOMP2(void);
17
18 /*--------------------------------------*\
19 |* Public *|
20 \*-------------------------------------*/
21
22 bool useHello(void);
23
24 /*--------------------------------------*\
25 |* Private *|
26 \*-------------------------------------*/
27
28 /*----------------------------------------------------------------------*\
29 |* Implementation *|
30 \*---------------------------------------------------------------------*/
31
32 /*--------------------------------------*\
33 |* Public *|
34 \*-------------------------------------*/
35
36 bool useHello(void)
37 {
38 cout << endl << "[HelloOMP]" << endl;
39
40 helloOMP1();
41 helloOMP2();
42
43 return true;
44 }
45
46 /*--------------------------------------*\
47 |* Private *|
48 \*-------------------------------------*/
49
50 /*----------------------------------------------------------------------*\
51 |* End *|
52 \*---------------------------------------------------------------------*/
53