From 3e177d18f1f424904df85a2ab27817c7a7571a96 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EA=B9=80=EC=88=98=EC=A7=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Engineer/=EC=82=BC=EC=84=B1=EC=A0=84?= =?utf8?q?=EC=9E=90?= Date: Mon, 29 Oct 2018 20:29:43 +0900 Subject: [PATCH] [neurun] Fix wrong ifdef guard (#3350) This commit fixes ifdef guard in neurun. Signed-off-by: sjsujinkim sjsujin.kim@samsung.com --- runtimes/neurun/src/backend/cpu/MemoryAllocator.h | 6 +++--- runtimes/neurun/src/backend/interface/IInitializerGenerator.h | 6 +++--- runtimes/neurun/src/backend/interface/IStageGenerator.h | 6 +++--- runtimes/neurun/src/backend/interface/ITensorBuilder.h | 6 +++--- runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h | 6 +++--- runtimes/neurun/src/util/feature/nchw/View.h | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/runtimes/neurun/src/backend/cpu/MemoryAllocator.h b/runtimes/neurun/src/backend/cpu/MemoryAllocator.h index 36877fa..e191839 100644 --- a/runtimes/neurun/src/backend/cpu/MemoryAllocator.h +++ b/runtimes/neurun/src/backend/cpu/MemoryAllocator.h @@ -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 @@ -64,4 +64,4 @@ private: } // namespace backend } // namespace neurun -#endif // __BACKEND_CPU_MEMORY_ALLOCATOR_H__ +#endif // __NEURUN_BACKEND_CPU_MEMORY_ALLOCATOR_H__ diff --git a/runtimes/neurun/src/backend/interface/IInitializerGenerator.h b/runtimes/neurun/src/backend/interface/IInitializerGenerator.h index c5323e0..f9ddc1d 100644 --- a/runtimes/neurun/src/backend/interface/IInitializerGenerator.h +++ b/runtimes/neurun/src/backend/interface/IInitializerGenerator.h @@ -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 @@ -78,4 +78,4 @@ struct IInitializerGenerator } // namespace backend } // namespace neurun -#endif // __INTERNAL_IINITIALIZER_GENERATOR_H__ +#endif // __NEURUN_BACKEND_IINITIALIZER_GENERATOR_H__ diff --git a/runtimes/neurun/src/backend/interface/IStageGenerator.h b/runtimes/neurun/src/backend/interface/IStageGenerator.h index cf16c71..b86338e 100644 --- a/runtimes/neurun/src/backend/interface/IStageGenerator.h +++ b/runtimes/neurun/src/backend/interface/IStageGenerator.h @@ -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 #include @@ -69,4 +69,4 @@ struct IStageGenerator } // namespace backend } // namespace neurun -#endif // __INTERNAL_ISTAGE_GENERATOR_H__ +#endif // __NEURUN_BACKEND_ISTAGE_GENERATOR_H__ diff --git a/runtimes/neurun/src/backend/interface/ITensorBuilder.h b/runtimes/neurun/src/backend/interface/ITensorBuilder.h index 1e87ed1..9d0a6bb 100644 --- a/runtimes/neurun/src/backend/interface/ITensorBuilder.h +++ b/runtimes/neurun/src/backend/interface/ITensorBuilder.h @@ -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 #include @@ -61,4 +61,4 @@ using TensorBuilderSet = std::set>; } // namespace backend } // namespace neurun -#endif // __INTERNAL_ITENSOR_BUILDER_H__ +#endif // __NEURUN_BACKEND_ITENSOR_BUILDER_H__ diff --git a/runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h b/runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h index 4767721..97ddce4 100644 --- a/runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h +++ b/runtimes/neurun/src/kernel/acl_cl/ConcatLayer.h @@ -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 @@ -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__ diff --git a/runtimes/neurun/src/util/feature/nchw/View.h b/runtimes/neurun/src/util/feature/nchw/View.h index f9f0e41..2d9f83a 100644 --- a/runtimes/neurun/src/util/feature/nchw/View.h +++ b/runtimes/neurun/src/util/feature/nchw/View.h @@ -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__ -- 2.7.4