X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=WCudaMSE%2FBilatTools_Cuda%2Fsrc%2Ftest%2Fmain.cpp;fp=WCudaMSE%2FBilatTools_Cuda%2Fsrc%2Ftest%2Fmain.cpp;h=f87ddb5ab2c45124ff95cadf88f240b4a37b0df3;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/BilatTools_Cuda/src/test/main.cpp b/WCudaMSE/BilatTools_Cuda/src/test/main.cpp new file mode 100755 index 0000000..f87ddb5 --- /dev/null +++ b/WCudaMSE/BilatTools_Cuda/src/test/main.cpp @@ -0,0 +1,55 @@ +#include +#include + +using std::cout; +using std::endl; + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + + + +/*--------------------------------------*\ + |* Imported *| + \*-------------------------------------*/ + +extern bool mainCPP(); +extern bool mainCU(); + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* Implementation *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +int main(void) + { + cout << "[BilatTools_Cuda] : just inlcude to force compilation" << endl; + + bool isOk=true; + + isOk&=mainCPP(); + isOk&=mainCU(); + + return isOk?EXIT_SUCCESS:EXIT_FAILURE; + } + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/ +