From: 김수진/동작제어Lab(SR)/Engineer/삼성전자 Date: Mon, 29 Oct 2018 11:29:43 +0000 (+0900) Subject: [neurun] Fix wrong ifdef guard (#3350) X-Git-Tag: 0.3~508 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3e177d18f1f424904df85a2ab27817c7a7571a96;p=platform%2Fcore%2Fml%2Fnnfw.git [neurun] Fix wrong ifdef guard (#3350) This commit fixes ifdef guard in neurun. Signed-off-by: sjsujinkim sjsujin.kim@samsung.com --- 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__