X-Git-Url: http://git.euphorik.ch/?p=GPU.git;a=blobdiff_plain;f=WCudaMSE%2FStudent_Cuda%2Fsrc%2Fcpp%2Fcore%2FmainCore.cpp;fp=WCudaMSE%2FStudent_Cuda%2Fsrc%2Fcpp%2Fcore%2FmainCore.cpp;h=05a7e996480170e035c5003f474979e657b5ddff;hp=31af0c5f1bd016e2d03c54043e5a261c3f62eb9e;hb=8cb42977ea2d8904795381957474b65f15f46526;hpb=7a1564c56b396cfeb1cbc246fe7b441304364465 diff --git a/WCudaMSE/Student_Cuda/src/cpp/core/mainCore.cpp b/WCudaMSE/Student_Cuda/src/cpp/core/mainCore.cpp index 31af0c5..05a7e99 100755 --- a/WCudaMSE/Student_Cuda/src/cpp/core/mainCore.cpp +++ b/WCudaMSE/Student_Cuda/src/cpp/core/mainCore.cpp @@ -1,46 +1,19 @@ #include #include +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 *| - \*---------------------------------------------------------------------*/ -