X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FBilatTools_Cuda_smart_switch%2Fsrc%2Ftest%2FmainCPP.cpp;fp=WCudaMSE%2FBilatTools_Cuda_smart_switch%2Fsrc%2Ftest%2FmainCPP.cpp;h=6d367cabe2302b2e9a95d843f0a199defadc4d63;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/BilatTools_Cuda_smart_switch/src/test/mainCPP.cpp b/WCudaMSE/BilatTools_Cuda_smart_switch/src/test/mainCPP.cpp new file mode 100755 index 0000000..6d367ca --- /dev/null +++ b/WCudaMSE/BilatTools_Cuda_smart_switch/src/test/mainCPP.cpp @@ -0,0 +1,52 @@ +#include + +using std::cout; +using std::endl; + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +#include "cpp.h" +#include "cu_cpp.h" + +/*--------------------------------------*\ + |* Imported *| + \*-------------------------------------*/ + +extern bool mainCU(); + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* Implementation *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +bool mainCPP(void) + { + cout << "[BilatTools_Cuda_Smart_switch] : just inlcude to force compilation in .cpp" << endl; + + // TODO use classe + mainCU(); + + return true;; + } + +/*--------------------------------------*\ + |* Private *| + \*-------------------------------------*/ + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/ +