aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2021-05-12 15:39:07 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-05-18 09:53:11 +0000
commitf3c52596a87eb4ccada601fc57f612bab137415d (patch)
tree5c842e9ec9d93390179ecc9e8dfd0207e0fb42df /src/runtime/NEON/functions
parent494b97a8297c18d0d610a54189c8f848e2cf5446 (diff)
downloadComputeLibrary-f3c52596a87eb4ccada601fc57f612bab137415d.tar.gz
Remove padding from NERemapKernel
Use of out_of_tensor function to check if parallel instructons can be used safely Reverting to serial computation otherwise Resolves: COMPMID-4449 Change-Id: I23a986612e3c5d0367e23e56f1aeedbb1330cffc Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5651 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/runtime/NEON/functions')
-rw-r--r--src/runtime/NEON/functions/NERemap.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/runtime/NEON/functions/NERemap.cpp b/src/runtime/NEON/functions/NERemap.cpp
index a55f7bc218..d9fd987480 100644
--- a/src/runtime/NEON/functions/NERemap.cpp
+++ b/src/runtime/NEON/functions/NERemap.cpp
@@ -25,11 +25,9 @@
#include "arm_compute/core/Error.h"
#include "arm_compute/core/ITensor.h"
-#include "arm_compute/core/PixelValue.h"
#include "arm_compute/core/TensorInfo.h"
#include "arm_compute/core/Validate.h"
#include "arm_compute/runtime/TensorAllocator.h"
-#include "src/core/NEON/kernels/NEFillBorderKernel.h"
#include "src/core/NEON/kernels/NERemapKernel.h"
#include <utility>
@@ -45,11 +43,7 @@ void NERemap::configure(ITensor *input, const ITensor *map_x, const ITensor *map
ARM_COMPUTE_ERROR_ON_MSG(policy == InterpolationPolicy::AREA, "Area interpolation is not supported");
auto k = std::make_unique<NERemapKernel>();
- k->configure(input, map_x, map_y, output, policy);
+ k->configure(input, map_x, map_y, output, policy, border_mode, constant_border_value);
_kernel = std::move(k);
-
- auto b = std::make_unique<NEFillBorderKernel>();
- b->configure(input, _kernel->border_size(), border_mode, PixelValue(constant_border_value));
- _border_handler = std::move(b);
}
} // namespace arm_compute