From f4643379c5f210d552ee3e8395f831ff5c168de7 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Fri, 29 Nov 2019 16:17:13 +0000 Subject: COMPMID-2826 Comply with DCL51-CPP Rename all header guards to be compliant with DCL51-CPP Change-Id: I47b09375bb1b8d39d80c275ce69a3f25fb385d75 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/2393 Comments-Addressed: Arm Jenkins Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- arm_compute/runtime/CPP/CPPFunctions.h | 6 +++--- arm_compute/runtime/CPP/CPPScheduler.h | 6 +++--- arm_compute/runtime/CPP/ICPPSimpleFunction.h | 8 ++++---- .../runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.h | 6 +++--- arm_compute/runtime/CPP/functions/CPPDetectionOutputLayer.h | 6 +++--- arm_compute/runtime/CPP/functions/CPPDetectionPostProcessLayer.h | 6 +++--- arm_compute/runtime/CPP/functions/CPPNonMaximumSuppression.h | 6 +++--- arm_compute/runtime/CPP/functions/CPPPermute.h | 8 ++++---- arm_compute/runtime/CPP/functions/CPPTopKV.h | 6 +++--- arm_compute/runtime/CPP/functions/CPPUpsample.h | 6 +++--- 10 files changed, 32 insertions(+), 32 deletions(-) (limited to 'arm_compute/runtime/CPP') diff --git a/arm_compute/runtime/CPP/CPPFunctions.h b/arm_compute/runtime/CPP/CPPFunctions.h index 743929fae8..b78436c1cf 100644 --- a/arm_compute/runtime/CPP/CPPFunctions.h +++ b/arm_compute/runtime/CPP/CPPFunctions.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPPFUNCTIONS_H__ -#define __ARM_COMPUTE_CPPFUNCTIONS_H__ +#ifndef ARM_COMPUTE_CPPFUNCTIONS_H +#define ARM_COMPUTE_CPPFUNCTIONS_H /* Header regrouping all the CPP functions */ #include "arm_compute/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.h" @@ -33,4 +33,4 @@ #include "arm_compute/runtime/CPP/functions/CPPTopKV.h" #include "arm_compute/runtime/CPP/functions/CPPUpsample.h" -#endif /* __ARM_COMPUTE_CPPFUNCTIONS_H__ */ +#endif /* ARM_COMPUTE_CPPFUNCTIONS_H */ diff --git a/arm_compute/runtime/CPP/CPPScheduler.h b/arm_compute/runtime/CPP/CPPScheduler.h index 69cd25f994..c8de41bf20 100644 --- a/arm_compute/runtime/CPP/CPPScheduler.h +++ b/arm_compute/runtime/CPP/CPPScheduler.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPPSCHEDULER_H__ -#define __ARM_COMPUTE_CPPSCHEDULER_H__ +#ifndef ARM_COMPUTE_CPPSCHEDULER_H +#define ARM_COMPUTE_CPPSCHEDULER_H #include "arm_compute/runtime/IScheduler.h" @@ -78,4 +78,4 @@ private: std::unique_ptr _impl; }; } // namespace arm_compute -#endif /* __ARM_COMPUTE_CPPSCHEDULER_H__ */ +#endif /* ARM_COMPUTE_CPPSCHEDULER_H */ diff --git a/arm_compute/runtime/CPP/ICPPSimpleFunction.h b/arm_compute/runtime/CPP/ICPPSimpleFunction.h index d1bd232588..999e4363a9 100644 --- a/arm_compute/runtime/CPP/ICPPSimpleFunction.h +++ b/arm_compute/runtime/CPP/ICPPSimpleFunction.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_ICPPSIMPLEFUNCTION_H__ -#define __ARM_COMPUTE_ICPPSIMPLEFUNCTION_H__ +#ifndef ARM_COMPUTE_ICPPSIMPLEFUNCTION_H +#define ARM_COMPUTE_ICPPSIMPLEFUNCTION_H #include "arm_compute/core/CPP/ICPPKernel.h" #include "arm_compute/runtime/IFunction.h" @@ -45,4 +45,4 @@ protected: std::unique_ptr _kernel; /**< Kernel to run */ }; } // namespace arm_compute -#endif /*__ARM_COMPUTE_ICPPSIMPLEFUNCTION_H__ */ +#endif /*ARM_COMPUTE_ICPPSIMPLEFUNCTION_H */ diff --git a/arm_compute/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.h b/arm_compute/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.h index dc23d42126..171f5e63b6 100644 --- a/arm_compute/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.h +++ b/arm_compute/runtime/CPP/functions/CPPBoxWithNonMaximaSuppressionLimit.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPPBOXWITHNONMAXIMASUPPRESSIONLIMIT_H__ -#define __ARM_COMPUTE_CPPBOXWITHNONMAXIMASUPPRESSIONLIMIT_H__ +#ifndef ARM_COMPUTE_CPPBOXWITHNONMAXIMASUPPRESSIONLIMIT_H +#define ARM_COMPUTE_CPPBOXWITHNONMAXIMASUPPRESSIONLIMIT_H #include "arm_compute/core/CPP/kernels/CPPBoxWithNonMaximaSuppressionLimitKernel.h" #include "arm_compute/core/Types.h" @@ -113,4 +113,4 @@ private: bool _is_qasymm8; }; } // namespace arm_compute -#endif /* __ARM_COMPUTE_CPPBOXWITHNONMAXIMASUPPRESSIONLIMIT_H__ */ +#endif /* ARM_COMPUTE_CPPBOXWITHNONMAXIMASUPPRESSIONLIMIT_H */ diff --git a/arm_compute/runtime/CPP/functions/CPPDetectionOutputLayer.h b/arm_compute/runtime/CPP/functions/CPPDetectionOutputLayer.h index 4e1b8f2a74..5717201ec7 100644 --- a/arm_compute/runtime/CPP/functions/CPPDetectionOutputLayer.h +++ b/arm_compute/runtime/CPP/functions/CPPDetectionOutputLayer.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPP_DETECTION_OUTPUT_LAYER_H__ -#define __ARM_COMPUTE_CPP_DETECTION_OUTPUT_LAYER_H__ +#ifndef ARM_COMPUTE_CPP_DETECTION_OUTPUT_LAYER_H +#define ARM_COMPUTE_CPP_DETECTION_OUTPUT_LAYER_H #include "arm_compute/runtime/CPP/ICPPSimpleFunction.h" @@ -90,4 +90,4 @@ private: std::vector>> _all_indices; }; } // namespace arm_compute -#endif /* __ARM_COMPUTE_CPP_DETECTION_OUTPUT_LAYER_H__ */ +#endif /* ARM_COMPUTE_CPP_DETECTION_OUTPUT_LAYER_H */ diff --git a/arm_compute/runtime/CPP/functions/CPPDetectionPostProcessLayer.h b/arm_compute/runtime/CPP/functions/CPPDetectionPostProcessLayer.h index 64568e8b96..44ebf9d7f2 100644 --- a/arm_compute/runtime/CPP/functions/CPPDetectionPostProcessLayer.h +++ b/arm_compute/runtime/CPP/functions/CPPDetectionPostProcessLayer.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPP_DETECTION_POSTPROCESS_H__ -#define __ARM_COMPUTE_CPP_DETECTION_POSTPROCESS_H__ +#ifndef ARM_COMPUTE_CPP_DETECTION_POSTPROCESS_H +#define ARM_COMPUTE_CPP_DETECTION_POSTPROCESS_H #include "arm_compute/runtime/CPP/ICPPSimpleFunction.h" @@ -112,4 +112,4 @@ private: const ITensor *_input_scores_to_use; }; } // namespace arm_compute -#endif /* __ARM_COMPUTE_CPP_DETECTION_POSTPROCESS_H__ */ +#endif /* ARM_COMPUTE_CPP_DETECTION_POSTPROCESS_H */ diff --git a/arm_compute/runtime/CPP/functions/CPPNonMaximumSuppression.h b/arm_compute/runtime/CPP/functions/CPPNonMaximumSuppression.h index dfb3a81b7f..4ad2fd0001 100644 --- a/arm_compute/runtime/CPP/functions/CPPNonMaximumSuppression.h +++ b/arm_compute/runtime/CPP/functions/CPPNonMaximumSuppression.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPP_NONMAXIMUMSUPPRESSION_LAYER_H__ -#define __ARM_COMPUTE_CPP_NONMAXIMUMSUPPRESSION_LAYER_H__ +#ifndef ARM_COMPUTE_CPP_NONMAXIMUMSUPPRESSION_LAYER_H +#define ARM_COMPUTE_CPP_NONMAXIMUMSUPPRESSION_LAYER_H #include "arm_compute/runtime/CPP/ICPPSimpleFunction.h" @@ -64,4 +64,4 @@ public: const float score_threshold, const float nms_threshold); }; } // namespace arm_compute -#endif /* __ARM_COMPUTE_CPP_NONMAXIMUMSUPPRESSION_LAYER_H__ */ +#endif /* ARM_COMPUTE_CPP_NONMAXIMUMSUPPRESSION_LAYER_H */ diff --git a/arm_compute/runtime/CPP/functions/CPPPermute.h b/arm_compute/runtime/CPP/functions/CPPPermute.h index 40d6830425..1b604e4b26 100644 --- a/arm_compute/runtime/CPP/functions/CPPPermute.h +++ b/arm_compute/runtime/CPP/functions/CPPPermute.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 ARM Limited. + * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPPPERMUTE_H__ -#define __ARM_COMPUTE_CPPPERMUTE_H__ +#ifndef ARM_COMPUTE_CPPPERMUTE_H +#define ARM_COMPUTE_CPPPERMUTE_H #include "arm_compute/runtime/CPP/ICPPSimpleFunction.h" @@ -54,4 +54,4 @@ public: static Status validate(const ITensorInfo *input, const ITensorInfo *output, const PermutationVector &perm); }; } -#endif /* __ARM_COMPUTE_CPPPERMUTE_H__ */ +#endif /* ARM_COMPUTE_CPPPERMUTE_H */ diff --git a/arm_compute/runtime/CPP/functions/CPPTopKV.h b/arm_compute/runtime/CPP/functions/CPPTopKV.h index 10917be97c..d41b7d300f 100644 --- a/arm_compute/runtime/CPP/functions/CPPTopKV.h +++ b/arm_compute/runtime/CPP/functions/CPPTopKV.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPPTOPKV_H__ -#define __ARM_COMPUTE_CPPTOPKV_H__ +#ifndef ARM_COMPUTE_CPPTOPKV_H +#define ARM_COMPUTE_CPPTOPKV_H #include "arm_compute/runtime/CPP/ICPPSimpleFunction.h" @@ -57,4 +57,4 @@ public: static Status validate(const ITensorInfo *predictions, const ITensorInfo *targets, ITensorInfo *output, const unsigned int k); }; } // namespace arm_compute -#endif /* __ARM_COMPUTE_CPPTOPKV_H__ */ +#endif /* ARM_COMPUTE_CPPTOPKV_H */ diff --git a/arm_compute/runtime/CPP/functions/CPPUpsample.h b/arm_compute/runtime/CPP/functions/CPPUpsample.h index 13f8755762..4f74e51d22 100644 --- a/arm_compute/runtime/CPP/functions/CPPUpsample.h +++ b/arm_compute/runtime/CPP/functions/CPPUpsample.h @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ -#ifndef __ARM_COMPUTE_CPPUPSAMPLE_H__ -#define __ARM_COMPUTE_CPPUPSAMPLE_H__ +#ifndef ARM_COMPUTE_CPPUPSAMPLE_H +#define ARM_COMPUTE_CPPUPSAMPLE_H #include "arm_compute/runtime/CPP/ICPPSimpleFunction.h" @@ -45,4 +45,4 @@ public: void configure(const ITensor *input, ITensor *output, const PadStrideInfo &info); }; } -#endif /* __ARM_COMPUTE_CPPUPSAMPLE_H__ */ +#endif /* ARM_COMPUTE_CPPUPSAMPLE_H */ -- cgit v1.2.1