Add simple macro for LOG (#154)
author김수진/동작제어Lab(SR)/Engineer/삼성전자 <sjsujin.kim@samsung.com>
Thu, 22 Mar 2018 09:32:20 +0000 (18:32 +0900)
committer최형규/동작제어Lab(SR)/Senior Engineer/삼성전자 <hk0110.choi@samsung.com>
Thu, 22 Mar 2018 09:32:20 +0000 (18:32 +0900)
* Add simple macro for LOG

This commit adds simple macro for exist android LOG codes.

Signed-off-by: sjsujinkim <sjsujin.kim@samsung.com>
* Move include folder

src/runtime/ref/nn/include/Log.h [new file with mode: 0644]
src/runtime/ref/nn/runtime/CMakeLists.txt
src/runtime/ref/nn/runtime/NeuralNetworks.cpp

diff --git a/src/runtime/ref/nn/include/Log.h b/src/runtime/ref/nn/include/Log.h
new file mode 100644 (file)
index 0000000..ef6aba3
--- /dev/null
@@ -0,0 +1,3 @@
+#include <iostream>
+
+#define LOG(...) std::cout
index d21ca04..cd44a0c 100644 (file)
@@ -4,7 +4,7 @@ SET (RUNTIME_SRCS NeuralNetworks.cpp
                   CompilationBuilder.cpp)
 
 add_library(runtime SHARED ${RUNTIME_SRCS})
-include_directories(runtime PRIVATE . include)
+include_directories(runtime PRIVATE . include ../include)
 
 # Executable `runtime_run` (Dummy runner executable for simple testing bring-up stage)
 # TODO remove the executable later
index 4fb90c6..20ba327 100644 (file)
@@ -21,6 +21,7 @@
 #include "NeuralNetworks.h"
 
 #include "ModelBuilder.h"
+#include "Log.h"
 
 #include <iostream>