[neurun] Fix wrong ifdef guard (#3350)
author김수진/동작제어Lab(SR)/Engineer/삼성전자 <sjsujin.kim@samsung.com>
Mon, 29 Oct 2018 11:29:43 +0000 (20:29 +0900)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Mon, 29 Oct 2018 11:29:43 +0000 (20:29 +0900)
This commit fixes ifdef guard in neurun.

Signed-off-by: sjsujinkim sjsujin.kim@samsung.com
runtimes/neurun/src/backend/cpu/MemoryAllocator.h
runtimes/neurun/src/backend/interface/IInitializerGenerator.h
runtimes/neurun/src/backend/interface/IStageGenerator.h
runtimes/neurun/src/backend/interface/ITensorBuilder.h
runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h
runtimes/neurun/src/util/feature/nchw/View.h

index 36877fa..e191839 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __BACKEND_CPU_MEMORY_ALLOCATOR_H__
-#define __BACKEND_CPU_MEMORY_ALLOCATOR_H__
+#ifndef __NEURUN_BACKEND_CPU_MEMORY_ALLOCATOR_H__
+#define __NEURUN_BACKEND_CPU_MEMORY_ALLOCATOR_H__
 
 #include <unordered_map>
 
@@ -64,4 +64,4 @@ private:
 } // namespace backend
 } // namespace neurun
 
-#endif // __BACKEND_CPU_MEMORY_ALLOCATOR_H__
+#endif // __NEURUN_BACKEND_CPU_MEMORY_ALLOCATOR_H__
index c5323e0..f9ddc1d 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __INTERNAL_IINITIALIZER_GENERATOR_H__
-#define __INTERNAL_IINITIALIZER_GENERATOR_H__
+#ifndef __NEURUN_BACKEND_IINITIALIZER_GENERATOR_H__
+#define __NEURUN_BACKEND_IINITIALIZER_GENERATOR_H__
 
 #include <list>
 
@@ -78,4 +78,4 @@ struct IInitializerGenerator
 
 } // namespace backend
 } // namespace neurun
-#endif // __INTERNAL_IINITIALIZER_GENERATOR_H__
+#endif // __NEURUN_BACKEND_IINITIALIZER_GENERATOR_H__
index cf16c71..b86338e 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __INTERNAL_ISTAGE_GENERATOR_H__
-#define __INTERNAL_ISTAGE_GENERATOR_H__
+#ifndef __NEURUN_BACKEND_ISTAGE_GENERATOR_H__
+#define __NEURUN_BACKEND_ISTAGE_GENERATOR_H__
 
 #include <memory>
 #include <functional>
@@ -69,4 +69,4 @@ struct IStageGenerator
 } // namespace backend
 } // namespace neurun
 
-#endif // __INTERNAL_ISTAGE_GENERATOR_H__
+#endif // __NEURUN_BACKEND_ISTAGE_GENERATOR_H__
index 1e87ed1..9d0a6bb 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __INTERNAL_ITENSOR_BUILDER_H__
-#define __INTERNAL_ITENSOR_BUILDER_H__
+#ifndef __NEURUN_BACKEND_ITENSOR_BUILDER_H__
+#define __NEURUN_BACKEND_ITENSOR_BUILDER_H__
 
 #include <map>
 #include <arm_compute/core/TensorInfo.h>
@@ -61,4 +61,4 @@ using TensorBuilderSet = std::set<std::shared_ptr<backend::ITensorBuilder>>;
 } // namespace backend
 } // namespace neurun
 
-#endif // __INTERNAL_ITENSOR_BUILDER_H__
+#endif // __NEURUN_BACKEND_ITENSOR_BUILDER_H__
index 4767721..97ddce4 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __INTERNAL_KERNEL_ACL_CL_CONCAT_LAYER_H__
-#define __INTERNAL_KERNEL_ACL_CL_CONCAT_LAYER_H__
+#ifndef __NEURUN_KERNEL_ACL_CL_CONCAT_LAYER_H__
+#define __NEURUN_KERNEL_ACL_CL_CONCAT_LAYER_H__
 
 #include <NeuralNetworks.h>
 
@@ -64,4 +64,4 @@ private:
 } // namespace kernel
 } // namespace neurun
 
-#endif // __INTERNAL_KERNEL_ACL_CL_CONCAT_LAYER_H__
+#endif // __NEURUN_KERNEL_ACL_CL_CONCAT_LAYER_H__
index f9f0e41..2d9f83a 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef __INTERNAL_ARM_COMPUTE_FEATURE_VIEW_H__
-#define __INTERNAL_ARM_COMPUTE_FEATURE_VIEW_H__
+#ifndef __NEURUN_UTIL_FEATURE_NCHW_VIEW_H__
+#define __NEURUN_UTIL_FEATURE_NCHW_VIEW_H__
 
 #include "util/feature/Reader.h"
 
@@ -108,4 +108,4 @@ private:
 } // namespace util
 } // namespace neurun
 
-#endif // __INTERNAL_ARM_COMPUTE_FEATURE_VIEW_H__
+#endif // __NEURUN_UTIL_FEATURE_NCHW_VIEW_H__