From 5f707736413aeac77818c42838296966f8dc6761 Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Tue, 3 Jul 2018 16:22:02 +0100 Subject: COMPMID-1369: Revert accidental formatting of RSH's repo Pulled latest fixes from David's repo: commit f43ebe932c84083332b0b1a0348241b69dda63a7 Author: David Mansell Date: Tue Jul 3 18:09:01 2018 +0100 Whitespace tidying, fixed comment in gemv_batched imported from ACL. Change-Id: Ie37a623f44e90d88072236cb853ac55ac82d5f51 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/138530 Tested-by: Jenkins Reviewed-by: Georgios Pinitas Reviewed-by: Gian Marco Iodice Reviewed-by: David Mansell Reviewed-by: Anthony Barbier --- .../kernels/arm_gemm/kernels/a32_sgemm_8x6.hpp | 27 ++++++++++------------ 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'src/core/NEON/kernels/arm_gemm/kernels/a32_sgemm_8x6.hpp') diff --git a/src/core/NEON/kernels/arm_gemm/kernels/a32_sgemm_8x6.hpp b/src/core/NEON/kernels/arm_gemm/kernels/a32_sgemm_8x6.hpp index de11dc582c..01bf1f9297 100644 --- a/src/core/NEON/kernels/arm_gemm/kernels/a32_sgemm_8x6.hpp +++ b/src/core/NEON/kernels/arm_gemm/kernels/a32_sgemm_8x6.hpp @@ -25,8 +25,8 @@ #ifdef __arm__ -namespace arm_gemm -{ +namespace arm_gemm { + // Actual kernel implementations void a32_sgemm_8x6(const float *, const float *, float *, int, int, int); void a32_sgemm_8x6_a53(const float *, const float *, float *, int, int, int); @@ -40,8 +40,7 @@ void a32_sgemm_8x6_a55r1(const float *, const float *, float *, int, int, int); // All kernels in the family must share these characteristics. The actual // kernel to be used can be chosen at runtime, based on the CPU_type // structure. -class sgemm_8x6 -{ +class sgemm_8x6 { public: typedef float operand_type; typedef float result_type; @@ -50,25 +49,23 @@ public: /* Describes the data layout for A input */ static const int A_interleave = 6; - static const int A_block = 1; - static const int A_transpose = 0; + static const int A_block = 1; + static const int A_transpose = 0; /* Same for B input */ static const int B_interleave = 8; - static const int B_block = 1; - static const int B_transpose = 1; + static const int B_block = 1; + static const int B_transpose = 1; /* Kernel blocking parameters */ - static const int out_width = 8; + static const int out_width = 8; static const int out_height = 6; - static const int k_unroll = 1; + static const int k_unroll = 1; kern_type kernel = a32_sgemm_8x6; - sgemm_8x6(const CPUInfo *ci) - { - switch(ci->get_cpu_model()) - { + sgemm_8x6(const CPUInfo *ci) { + switch(ci->get_cpu_model()) { case CPUModel::A53: kernel = a32_sgemm_8x6_a53; break; @@ -78,7 +75,7 @@ public: break; default: - kernel = a32_sgemm_8x6; + /* Generic kernel is selected by default. */ break; } } -- cgit v1.2.1