X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FStudent_OMP%2Fsrc%2Fmain.cpp;fp=WCudaMSE%2FStudent_OMP%2Fsrc%2Fmain.cpp;h=10e4e3d20cb2058c2ebdb8a533cb158285bf11e2;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/Student_OMP/src/main.cpp b/WCudaMSE/Student_OMP/src/main.cpp new file mode 100755 index 0000000..10e4e3d --- /dev/null +++ b/WCudaMSE/Student_OMP/src/main.cpp @@ -0,0 +1,55 @@ +#include +#include +#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 *| + \*---------------------------------------------------------------------*/ +