Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_OMP / src / main.cpp
diff --git a/WCudaMSE/Student_OMP/src/main.cpp b/WCudaMSE/Student_OMP/src/main.cpp
new file mode 100755 (executable)
index 0000000..10e4e3d
--- /dev/null
@@ -0,0 +1,55 @@
+#include <iostream>
+#include <limits.h>
+#include "LimitsTools.h"
+
+
+using std::cout;
+using std::endl;
+
+/*----------------------------------------------------------------------*\
+ |*                    Declaration                                     *|
+ \*---------------------------------------------------------------------*/
+
+/*--------------------------------------*\
+ |*            Imported                *|
+ \*-------------------------------------*/
+
+extern int mainCore(void);
+extern int mainTest(void);
+
+/*--------------------------------------*\
+ |*            Public                  *|
+ \*-------------------------------------*/
+
+int main(void);
+
+/*--------------------------------------*\
+ |*            Private                 *|
+ \*-------------------------------------*/
+
+/*----------------------------------------------------------------------*\
+ |*                    Implementation                                  *|
+ \*---------------------------------------------------------------------*/
+
+/*--------------------------------------*\
+ |*            Public                  *|
+ \*-------------------------------------*/
+
+int main(void)
+    {
+    cout << "main" << endl;
+
+    LimitsTools::rappelTypeSize();
+
+    const bool IS_TEST = false;
+    return IS_TEST ? mainTest() : mainCore();
+    }
+
+/*--------------------------------------*\
+ |*            Private                 *|
+ \*-------------------------------------*/
+
+/*----------------------------------------------------------------------*\
+ |*                    End                                             *|
+ \*---------------------------------------------------------------------*/
+