Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / BilatTools_Cuda_smart_switch / src / test / main.cpp
diff --git a/WCudaMSE/BilatTools_Cuda_smart_switch/src/test/main.cpp b/WCudaMSE/BilatTools_Cuda_smart_switch/src/test/main.cpp
new file mode 100755 (executable)
index 0000000..1cd8c11
--- /dev/null
@@ -0,0 +1,55 @@
+#include <stdlib.h>\r
+#include <iostream>\r
+\r
+using std::cout;\r
+using std::endl;\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+\r
+\r
+/*--------------------------------------*\\r
+ |*            Imported                *|\r
+ \*-------------------------------------*/\r
+\r
+extern bool mainCPP();\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
+int main(void)\r
+    {\r
+    cout << "[BilatTools_Cuda_Smart_switch] : just inlcude to force compilation" << endl;\r
+\r
+    bool isOk=true;\r
+\r
+    isOk&=mainCPP();\r
+    isOk&=mainCU();\r
+\r
+    return isOk?EXIT_SUCCESS:EXIT_FAILURE;\r
+    }\r
+\r
+/*--------------------------------------*\\r
+ |*            Private                 *|\r
+ \*-------------------------------------*/\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r
+\r