aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/arm_gemm/utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/NEON/kernels/arm_gemm/utils.hpp')
-rw-r--r--src/core/NEON/kernels/arm_gemm/utils.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/NEON/kernels/arm_gemm/utils.hpp b/src/core/NEON/kernels/arm_gemm/utils.hpp
index c1977d5f3e..b77bc7a566 100644
--- a/src/core/NEON/kernels/arm_gemm/utils.hpp
+++ b/src/core/NEON/kernels/arm_gemm/utils.hpp
@@ -44,3 +44,10 @@ inline T roundup(const T a, const T b) {
return a;
}
}
+
+template <typename T>
+inline unsigned long get_vector_length() {
+ const unsigned long length = 16;
+
+ return length / sizeof(T);
+}