From 52ebf4219385efe54463dc794ba806b82a6137b3 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 17 Dec 2018 18:21:02 +0000 Subject: COMPMID-1809: Create a neon vector wrapper using register size. Change-Id: I2657f0c09918924a38a75c395301414e50edc198 Reviewed-on: https://review.mlplatform.org/412 Tested-by: Arm Jenkins Reviewed-by: Giuseppe Rossini --- src/core/NEON/kernels/NEBitwiseAndKernel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/NEON/kernels/NEBitwiseAndKernel.cpp') diff --git a/src/core/NEON/kernels/NEBitwiseAndKernel.cpp b/src/core/NEON/kernels/NEBitwiseAndKernel.cpp index c1e3e1f0bc..ed83286acf 100644 --- a/src/core/NEON/kernels/NEBitwiseAndKernel.cpp +++ b/src/core/NEON/kernels/NEBitwiseAndKernel.cpp @@ -42,10 +42,10 @@ class Coordinates; namespace { -template +template inline void bitwise_and(const T *__restrict input1, const T *__restrict input2, T *__restrict output) { - using type = typename wrapper::traits::neon_vector::type; + using type = typename wrapper::traits::neon_bitvector::type; const type val1 = vloadq(static_cast(input1)); const type val2 = vloadq(static_cast(input2)); @@ -108,7 +108,7 @@ void NEBitwiseAndKernel::run(const Window &window, const ThreadInfo &info) execute_window_loop(window, [&](const Coordinates & id) { - bitwise_and(input1.ptr(), input2.ptr(), output.ptr()); + bitwise_and(input1.ptr(), input2.ptr(), output.ptr()); }, input1, input2, output); } -- cgit v1.2.1