aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/NEON/kernels/detail
diff options
context:
space:
mode:
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 */