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