aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/NEON/kernels/detail
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2019-11-29 16:17:13 +0000
committerMichalis Spyrou <michalis.spyrou@arm.com>2019-12-04 16:54:55 +0000
commitf4643379c5f210d552ee3e8395f831ff5c168de7 (patch)
tree081bc30a8643b1c89754aeabee863a17c4b446fc /arm_compute/core/NEON/kernels/detail
parentf01201abec0a102f6e7a517971f83fef1eaffd50 (diff)
downloadComputeLibrary-f4643379c5f210d552ee3e8395f831ff5c168de7.tar.gz
COMPMID-2826 Comply with DCL51-CPP
Rename all header guards to be compliant with DCL51-CPP Change-Id: I47b09375bb1b8d39d80c275ce69a3f25fb385d75 Signed-off-by: Michalis Spyrou <micspy01@e123758.cambridge.arm.com> Reviewed-on: https://review.mlplatform.org/c/2393 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/NEON/kernels/detail')
-rw-r--r--arm_compute/core/NEON/kernels/detail/NEActivationFunctionDetail.h6
-rw-r--r--arm_compute/core/NEON/kernels/detail/NEDirectConvolution3x3.h8
-rw-r--r--arm_compute/core/NEON/kernels/detail/NEDirectConvolutionDetail.h26
3 files changed, 20 insertions, 20 deletions
diff --git a/arm_compute/core/NEON/kernels/detail/NEActivationFunctionDetail.h b/arm_compute/core/NEON/kernels/detail/NEActivationFunctionDetail.h
index bde3ac82e7..4861559695 100644
--- a/arm_compute/core/NEON/kernels/detail/NEActivationFunctionDetail.h
+++ b/arm_compute/core/NEON/kernels/detail/NEActivationFunctionDetail.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_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H__
-#define __ARM_COMPUTE_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H__
+#ifndef ARM_COMPUTE_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H
+#define ARM_COMPUTE_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H
#include "arm_compute/core/NEON/wrapper/wrapper.h"
@@ -244,4 +244,4 @@ struct lubrelu
};
} // namespace detail
} // namespace arm_compute
-#endif /* __ARM_COMPUTE_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H__ */
+#endif /* ARM_COMPUTE_DETAIL_NEACTIVATION_FUNCTION_DETAIL_H */
diff --git a/arm_compute/core/NEON/kernels/detail/NEDirectConvolution3x3.h b/arm_compute/core/NEON/kernels/detail/NEDirectConvolution3x3.h
index fd0c0f0c34..d756a9a98f 100644
--- a/arm_compute/core/NEON/kernels/detail/NEDirectConvolution3x3.h
+++ b/arm_compute/core/NEON/kernels/detail/NEDirectConvolution3x3.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018 ARM Limited.
+ * Copyright (c) 2017-2019 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -22,8 +22,8 @@
* SOFTWARE.
*/
-#ifndef __ARM_COMPUTE_NECONVOLUTIONKERNEL3x3_H__
-#define __ARM_COMPUTE_NECONVOLUTIONKERNEL3x3_H__
+#ifndef ARM_COMPUTE_NECONVOLUTIONKERNEL3x3_H
+#define ARM_COMPUTE_NECONVOLUTIONKERNEL3x3_H
#include <arm_neon.h>
@@ -167,4 +167,4 @@ int get_input_num_elems_processed<3>(unsigned int num_elems_written_per_iteratio
}
}
} // namespace arm_compute
-#endif /* __ARM_COMPUTE_NECONVOLUTIONKERNEL3x3_H__ */ \ No newline at end of file
+#endif /* ARM_COMPUTE_NECONVOLUTIONKERNEL3x3_H */ \ No newline at end of file
diff --git a/arm_compute/core/NEON/kernels/detail/NEDirectConvolutionDetail.h b/arm_compute/core/NEON/kernels/detail/NEDirectConvolutionDetail.h
index 1684894a5c..c4f6ac7c66 100644
--- a/arm_compute/core/NEON/kernels/detail/NEDirectConvolutionDetail.h
+++ b/arm_compute/core/NEON/kernels/detail/NEDirectConvolutionDetail.h
@@ -22,8 +22,8 @@
* SOFTWARE.
*/
-#ifndef __ARM_COMPUTE_NEDIRECTCONVOLUTIONDETAIL_H__
-#define __ARM_COMPUTE_NEDIRECTCONVOLUTIONDETAIL_H__
+#ifndef ARM_COMPUTE_NEDIRECTCONVOLUTIONDETAIL_H
+#define ARM_COMPUTE_NEDIRECTCONVOLUTIONDETAIL_H
#include "arm_compute/core/AccessWindowStatic.h"
#include "arm_compute/core/NEON/NEFixedPoint.h"
@@ -290,12 +290,12 @@ inline float32x4x2_t convolve_3x3<2>(const float *in_top, const float *in_mid, c
const float32x4_t vlow_end = vld1q_f32(in_low + 8);
float32x4x2_t out =
+ {
{
- {
- vmulq_f32(vtop.val[0], m0.val[0]),
- vdupq_n_f32(0)
- }
- };
+ vmulq_f32(vtop.val[0], m0.val[0]),
+ vdupq_n_f32(0)
+ }
+ };
out.val[0] = vmlaq_f32(out.val[0], vtop.val[1], m0.val[1]);
out.val[0] = vmlaq_f32(out.val[0], vextq_f32(vtop.val[0], vtop_end, 1), m0.val[2]);
@@ -869,12 +869,12 @@ inline float16x8x2_t convolve_3x3<2>(const float16_t *in_top, const float16_t *i
const float16x8_t vlow_end = vld1q_f16(in_low + 16);
float16x8x2_t out =
+ {
{
- {
- vmulq_f16(vtop.val[0], m0.val[0]),
- vdupq_n_f16(0)
- }
- };
+ vmulq_f16(vtop.val[0], m0.val[0]),
+ vdupq_n_f16(0)
+ }
+ };
out.val[0] = vaddq_f16(out.val[0], vmulq_f16(vtop.val[1], m0.val[1]));
out.val[0] = vaddq_f16(out.val[0], vmulq_f16(vextq_f16(vtop.val[0], vtop_end, 1), m0.val[2]));
@@ -974,4 +974,4 @@ inline int get_input_num_elems_processed(unsigned int num_elems_written_per_iter
}
}
} // namespace arm_compute
-#endif /* __ARM_COMPUTE_NEDIRECTCONVOLUTIONDETAIL_H__ */
+#endif /* ARM_COMPUTE_NEDIRECTCONVOLUTIONDETAIL_H */