aboutsummaryrefslogtreecommitdiff
path: root/examples/neon_scale.cpp
diff options
context:
space:
mode:
authorManuel Bottini <manuel.bottini@arm.com>2020-10-05 10:37:02 +0100
committerManuel Bottini <manuel.bottini@arm.com>2020-10-05 13:02:48 +0000
commit47ae441b320c0a9f79f8e6036a0b12a1bf68f9ca (patch)
tree2a0c79d6b8c7f6abd5eeb3f89e425934502024ef /examples/neon_scale.cpp
parent552e11dbfa03c5f3a86911c2941e545294be94ac (diff)
downloadComputeLibrary-47ae441b320c0a9f79f8e6036a0b12a1bf68f9ca.tar.gz
COMPMID-3816: Nightly failure: neon_scale example and benchmark
Change-Id: I225b3f9b170959ad8c8a462cb42668671b1577e9 Signed-off-by: Manuel Bottini <manuel.bottini@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4080 Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'examples/neon_scale.cpp')
-rw-r--r--examples/neon_scale.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/neon_scale.cpp b/examples/neon_scale.cpp
index ac9d0620ea..f120ea7f96 100644
--- a/examples/neon_scale.cpp
+++ b/examples/neon_scale.cpp
@@ -60,7 +60,13 @@ public:
dst.allocator()->init(dst_tensor_info);
// Configure Scale function object:
- scale.configure(&src, &dst, ScaleKernelInfo{ InterpolationPolicy::NEAREST_NEIGHBOR, BorderMode::UNDEFINED });
+ scale.configure(&src, &dst, ScaleKernelInfo{
+ InterpolationPolicy::NEAREST_NEIGHBOR,
+ BorderMode::UNDEFINED,
+ PixelValue(),
+ SamplingPolicy::CENTER,
+ false
+ });
// Allocate all the images
src.allocator()->allocate();