[neurun] Change path for wrapping structure (#2571)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 4 Sep 2018 08:39:09 +0000 (17:39 +0900)
committer박세희/동작제어Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 4 Sep 2018 08:39:09 +0000 (17:39 +0900)
Change path for NeuralNetworks.h's wrapping structure

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
15 files changed:
runtimes/neurun/CMakeLists.txt
runtimes/neurun/src/frontend/compilation.cc
runtimes/neurun/src/frontend/event.cc
runtimes/neurun/src/frontend/execution.cc
runtimes/neurun/src/frontend/memory.cc
runtimes/neurun/src/frontend/model.cc
runtimes/neurun/src/frontend/wrapper/compilation.cc [moved from runtimes/neurun/src/compilation.cc with 100% similarity]
runtimes/neurun/src/frontend/wrapper/compilation.h [moved from runtimes/neurun/src/compilation.h with 100% similarity]
runtimes/neurun/src/frontend/wrapper/event.h [moved from runtimes/neurun/src/event.h with 100% similarity]
runtimes/neurun/src/frontend/wrapper/execution.h [moved from runtimes/neurun/src/execution.h with 100% similarity]
runtimes/neurun/src/frontend/wrapper/memory.cc [moved from runtimes/neurun/src/memory.cc with 100% similarity]
runtimes/neurun/src/frontend/wrapper/memory.h [moved from runtimes/neurun/src/memory.h with 100% similarity]
runtimes/neurun/src/frontend/wrapper/model.cc [moved from runtimes/neurun/src/model.cc with 100% similarity]
runtimes/neurun/src/frontend/wrapper/model.h [moved from runtimes/neurun/src/model.h with 100% similarity]
runtimes/neurun/test/model.cc

index ebdfcad..ef95d42 100644 (file)
@@ -13,7 +13,7 @@ set(LIB_NEURUN_BACKEND_ACL_CL neurun_backend_acl_cl)
 add_subdirectory(src/backend)
 
 file(GLOB SOURCES "src/*.cc")
-file(GLOB SOURCES_FRONTEND "src/frontend/*.cc")
+file(GLOB_RECURSE SOURCES_FRONTEND "src/frontend/*.cc")
 file(GLOB_RECURSE SOURCES_INTERNAL "src/internal/*.cc")
 file(GLOB_RECURSE SOURCES_GRAPH "src/graph/*.cc")
 file(GLOB_RECURSE SOURCES_LINEAR "src/linear/*.cc")
index 9f3a986..b85e626 100644 (file)
@@ -2,8 +2,8 @@
 
 #include <new>
 
-#include "model.h"
-#include "compilation.h"
+#include "frontend/wrapper/model.h"
+#include "frontend/wrapper/compilation.h"
 
 //
 // NNAPI Implementation
index 47d77ca..9a517f1 100644 (file)
@@ -1,6 +1,6 @@
 #include <NeuralNetworks.h>
 
-#include "event.h"
+#include "frontend/wrapper/event.h"
 
 int ANeuralNetworksEvent_wait(ANeuralNetworksEvent *event)
 {
index 98c502f..4114c2d 100644 (file)
@@ -2,9 +2,9 @@
 
 #include <new>
 
-#include "compilation.h"
-#include "execution.h"
-#include "event.h"
+#include "frontend/wrapper/compilation.h"
+#include "frontend/wrapper/execution.h"
+#include "frontend/wrapper/event.h"
 
 #include "internal/Source.h"
 #include "graph/operand/Index.h"
index d2f850f..56bc846 100644 (file)
@@ -2,7 +2,7 @@
 #include <sys/mman.h>
 #include <new>
 
-#include "memory.h"
+#include "frontend/wrapper/memory.h"
 
 int ANeuralNetworksMemory_createFromFd(size_t size, int protect, int fd, size_t offset,
                                        ANeuralNetworksMemory **memory)
index 82ed2fa..050cade 100644 (file)
@@ -8,8 +8,8 @@
 #include "nnfw/std/memory.h"
 
 #include "graph/Graph.h"
-#include "model.h"
-#include "memory.h"
+#include "frontend/wrapper/model.h"
+#include "frontend/wrapper/memory.h"
 #include "graph/operation/AvgPool2D.h"
 #include "graph/operation/Concat.h"
 #include "graph/operation/Conv2D.h"
index 88cc205..b249b0e 100644 (file)
@@ -1,6 +1,6 @@
 #include <gtest/gtest.h>
 
-#include "model.h"
+#include "frontend/wrapper/model.h"
 
 TEST(MODEL, model_build)
 {