Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / BilatTools_Cuda_smart_switch / src / test / mainCPP.cpp
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 (executable)
index 0000000..6d367ca
--- /dev/null
@@ -0,0 +1,52 @@
+#include <iostream>\r
+\r
+using std::cout;\r
+using std::endl;\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+#include "cpp.h"\r
+#include "cu_cpp.h"\r
+\r
+/*--------------------------------------*\\r
+ |*            Imported                *|\r
+ \*-------------------------------------*/\r
+\r
+extern bool mainCU();\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Private                 *|\r
+ \*-------------------------------------*/\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Implementation                                  *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+bool mainCPP(void)\r
+    {\r
+    cout << "[BilatTools_Cuda_Smart_switch] : just inlcude to force compilation in .cpp" << endl;\r
+\r
+    // TODO use classe\r
+    mainCU();\r
+\r
+    return true;;\r
+    }\r
+\r
+/*--------------------------------------*\\r
+ |*            Private                 *|\r
+ \*-------------------------------------*/\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r
+\r