Rename `kernel/cpufallback` to `kernel/cpu` (#2282)
author이한종/동작제어Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Tue, 14 Aug 2018 02:04:07 +0000 (11:04 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 14 Aug 2018 02:04:07 +0000 (11:04 +0900)
Rename the directory to remove inconsistency with namespace name in
the code and backend module(cpu backend is in `backend/cpu`).

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
24 files changed:
runtimes/neurun/src/backend/cpu/StageGenerator.cc
runtimes/neurun/src/kernel/CMakeLists.txt
runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h
runtimes/neurun/src/kernel/cpu/AvgPoolLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/AvgPoolLayer.cc with 98% similarity]
runtimes/neurun/src/kernel/cpu/AvgPoolLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/AvgPoolLayer.h with 96% similarity]
runtimes/neurun/src/kernel/cpu/CMakeLists.txt [moved from runtimes/neurun/src/kernel/cpufallback/CMakeLists.txt with 100% similarity]
runtimes/neurun/src/kernel/cpu/ConcatLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/ConcatLayer.cc with 98% similarity]
runtimes/neurun/src/kernel/cpu/ConcatLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/ConcatLayer.h with 97% similarity]
runtimes/neurun/src/kernel/cpu/ConvolutionLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/ConvolutionLayer.cc with 99% similarity]
runtimes/neurun/src/kernel/cpu/ConvolutionLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/ConvolutionLayer.h with 97% similarity]
runtimes/neurun/src/kernel/cpu/FullyConnectedLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/FullyConnectedLayer.cc with 99% similarity]
runtimes/neurun/src/kernel/cpu/FullyConnectedLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/FullyConnectedLayer.h with 96% similarity]
runtimes/neurun/src/kernel/cpu/MaxPoolLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/MaxPoolLayer.cc with 98% similarity]
runtimes/neurun/src/kernel/cpu/MaxPoolLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/MaxPoolLayer.h with 96% similarity]
runtimes/neurun/src/kernel/cpu/OperationUtils.cc [moved from runtimes/neurun/src/kernel/cpufallback/OperationUtils.cc with 99% similarity]
runtimes/neurun/src/kernel/cpu/OperationUtils.h [moved from runtimes/neurun/src/kernel/cpufallback/OperationUtils.h with 100% similarity]
runtimes/neurun/src/kernel/cpu/ReshapeLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/ReshapeLayer.cc with 97% similarity]
runtimes/neurun/src/kernel/cpu/ReshapeLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/ReshapeLayer.h with 94% similarity]
runtimes/neurun/src/kernel/cpu/SoftMaxLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/SoftMaxLayer.cc with 98% similarity]
runtimes/neurun/src/kernel/cpu/SoftMaxLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/SoftMaxLayer.h with 95% similarity]
runtimes/neurun/src/kernel/cpu/TensorConvertFromCommonLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/TensorConvertFromCommonLayer.cc with 100% similarity]
runtimes/neurun/src/kernel/cpu/TensorConvertFromCommonLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/TensorConvertFromCommonLayer.h with 100% similarity]
runtimes/neurun/src/kernel/cpu/TensorConvertToCommonLayer.cc [moved from runtimes/neurun/src/kernel/cpufallback/TensorConvertToCommonLayer.cc with 100% similarity]
runtimes/neurun/src/kernel/cpu/TensorConvertToCommonLayer.h [moved from runtimes/neurun/src/kernel/cpufallback/TensorConvertToCommonLayer.h with 100% similarity]

index 66060e8..d1f08e1 100644 (file)
@@ -3,15 +3,15 @@
 #include <stdexcept>
 
 #include "internal/Padding.h"
-#include "kernel/cpufallback/ConvolutionLayer.h"
-#include "kernel/cpufallback/AvgPoolLayer.h"
-#include "kernel/cpufallback/MaxPoolLayer.h"
-#include "kernel/cpufallback/ConcatLayer.h"
-#include "kernel/cpufallback/FullyConnectedLayer.h"
-#include "kernel/cpufallback/ReshapeLayer.h"
-#include "kernel/cpufallback/SoftMaxLayer.h"
-#include "kernel/cpufallback/TensorConvertFromCommonLayer.h"
-#include "kernel/cpufallback/TensorConvertToCommonLayer.h"
+#include "kernel/cpu/ConvolutionLayer.h"
+#include "kernel/cpu/AvgPoolLayer.h"
+#include "kernel/cpu/MaxPoolLayer.h"
+#include "kernel/cpu/ConcatLayer.h"
+#include "kernel/cpu/FullyConnectedLayer.h"
+#include "kernel/cpu/ReshapeLayer.h"
+#include "kernel/cpu/SoftMaxLayer.h"
+#include "kernel/cpu/TensorConvertFromCommonLayer.h"
+#include "kernel/cpu/TensorConvertToCommonLayer.h"
 
 #include "logging.h"
 
index 3ae2476..a398231 100644 (file)
@@ -1,2 +1,2 @@
-add_subdirectory(cpufallback)
+add_subdirectory(cpu)
 add_subdirectory(acl_cl)
index abbea71..5c886d8 100644 (file)
@@ -26,7 +26,7 @@
 
 // TODO Remove this unnecessary dependency. This is only for OperandType.
 // If we remove this, we can also remove cpu kernel library dependency
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;
 
@@ -18,7 +18,7 @@
 #include "AvgPoolLayer.h"
 
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 namespace neurun
 {
@@ -6,7 +6,7 @@
 #include <arm_compute/runtime/IFunction.h>
 
 #include "internal/Model.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;
 
@@ -18,7 +18,7 @@
 #include "ConcatLayer.h"
 
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 namespace neurun
 {
@@ -23,7 +23,7 @@
 #include <arm_compute/runtime/IFunction.h>
 
 #include "internal/Model.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;
 
@@ -1,7 +1,7 @@
 #include "ConvolutionLayer.h"
 
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 namespace neurun
 {
@@ -6,7 +6,7 @@
 #include <arm_compute/runtime/IFunction.h>
 
 #include "internal/Model.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;
 
@@ -19,7 +19,7 @@
 
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"
 #include "tensorflow/contrib/lite/kernels/internal/reference/reference_ops.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 #include <mutex>
 
@@ -6,7 +6,7 @@
 #include <arm_compute/runtime/IFunction.h>
 
 #include "internal/Model.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;
 
@@ -1,7 +1,7 @@
 #include "MaxPoolLayer.h"
 
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 namespace neurun
 {
@@ -6,7 +6,7 @@
 #include <arm_compute/runtime/IFunction.h>
 
 #include "internal/Model.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;
 
@@ -1,4 +1,4 @@
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 #include <cmath>
 #include <algorithm>
@@ -19,7 +19,7 @@
 
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"
 #include "tensorflow/contrib/lite/kernels/internal/reference/reference_ops.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 namespace neurun
 {
@@ -6,7 +6,7 @@
 #include <arm_compute/runtime/IFunction.h>
 
 #include "internal/Model.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;
 
@@ -1,7 +1,7 @@
 #include "SoftMaxLayer.h"
 
 #include "tensorflow/contrib/lite/kernels/internal/optimized/optimized_ops.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 namespace neurun
 {
@@ -6,7 +6,7 @@
 #include <arm_compute/runtime/IFunction.h>
 
 #include "internal/Model.h"
-#include "kernel/cpufallback/OperationUtils.h"
+#include "kernel/cpu/OperationUtils.h"
 
 using namespace neurun::kernel::cpu;