From cbf39c63a6eb89a2c80b2338afc374081803d79d Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 10 Sep 2018 15:07:45 +0100 Subject: COMPMID-1566: Add broadcast to CLArithmeticSubtraction Change-Id: I05d21f9a92013ecfd1128d12cf1561cfd6e5c5e9 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/147983 Tested-by: bsgcomp Reviewed-by: Anthony Barbier --- tests/validation/reference/LaplacianReconstruct.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/validation/reference/LaplacianReconstruct.cpp') diff --git a/tests/validation/reference/LaplacianReconstruct.cpp b/tests/validation/reference/LaplacianReconstruct.cpp index 23468287b0..ef14355bc8 100644 --- a/tests/validation/reference/LaplacianReconstruct.cpp +++ b/tests/validation/reference/LaplacianReconstruct.cpp @@ -24,7 +24,7 @@ #include "LaplacianReconstruct.h" #include "arm_compute/core/Types.h" -#include "tests/validation/reference/ArithmeticAddition.h" +#include "tests/validation/reference/ArithmeticOperations.h" #include "tests/validation/reference/DepthConvertLayer.h" #include "tests/validation/reference/Scale.h" @@ -45,7 +45,7 @@ SimpleTensor laplacian_reconstruct(const std::vector> &pyrami const DataType data_type = low_res.data_type(); // input + L(n-1) - tmp_pyramid[last_level] = reference::arithmetic_addition(low_res, pyramid[last_level], data_type, ConvertPolicy::SATURATE); + tmp_pyramid[last_level] = reference::arithmetic_operation(reference::ArithmeticOperation::ADD, low_res, pyramid[last_level], data_type, ConvertPolicy::SATURATE); // Scale levels n-1 to 1, and add levels n-2 to 0 for(size_t i = last_level; i-- > 0;) @@ -56,7 +56,7 @@ SimpleTensor laplacian_reconstruct(const std::vector> &pyrami tmp_pyramid[i] = reference::scale(tmp_pyramid[i + 1], scale_x, scale_y, InterpolationPolicy::NEAREST_NEIGHBOR, border_mode, constant_border_value, SamplingPolicy::CENTER, false); - tmp_pyramid[i] = reference::arithmetic_addition(tmp_pyramid[i], pyramid[i], data_type, ConvertPolicy::SATURATE); + tmp_pyramid[i] = reference::arithmetic_operation(reference::ArithmeticOperation::ADD, tmp_pyramid[i], pyramid[i], data_type, ConvertPolicy::SATURATE); } return reference::depth_convert(tmp_pyramid[0], DataType::U8, ConvertPolicy::SATURATE, 0); -- cgit v1.2.1