TP Saucisson.
[GPU.git] / WCudaMSE / Student_Cuda / src / cpp / core / mainCore.cpp
index 31af0c5..be769f8 100755 (executable)
@@ -1,46 +1,20 @@
 #include <iostream>
 #include <stdlib.h>
+using namespace std;
 
+#include "01c_Saucisson/Saucisson.h"
+#include "02_ProduitScalaire/ProduitScalaire.h"
 
-using std::cout;
-using std::endl;
-
-/*----------------------------------------------------------------------*\
- |*                    Declaration                                     *|
- \*---------------------------------------------------------------------*/
-
-/*--------------------------------------*\
- |*            Imported                *|
- \*-------------------------------------*/
-
-extern bool useHello(void);
+extern bool useHello();
 extern bool addVectors();
 
-/*--------------------------------------*\
- |*            Public                  *|
- \*-------------------------------------*/
-
-int mainCore();
-
-/*--------------------------------------*\
- |*            Private                 *|
- \*-------------------------------------*/
-
-
-
-/*----------------------------------------------------------------------*\
- |*                    Implementation                                  *|
- \*---------------------------------------------------------------------*/
-
-/*--------------------------------------*\
- |*            Public                  *|
- \*-------------------------------------*/
-
 int mainCore()
     {
     bool isOk = true;
-    isOk &= useHello();
+    /*isOk &= useHello();
     isOk &= addVectors();
+    isOk &= produitScalaire();*/
+    isOk &= saucisson();
 
     cout << "\nisOK = " << isOk << endl;
     cout << "\nEnd : mainCore" << endl;
@@ -48,13 +22,3 @@ int mainCore()
     return isOk ? EXIT_SUCCESS : EXIT_FAILURE;
     }
 
-/*--------------------------------------*\
- |*            Private                 *|
- \*-------------------------------------*/
-
-
-
-/*----------------------------------------------------------------------*\
- |*                    End                                             *|
- \*---------------------------------------------------------------------*/
-