aboutsummaryrefslogtreecommitdiff
path: root/tests/validation_old/Reference.cpp
diff options
context:
space:
mode:
authorSanghoon Lee <sanghoon.lee@arm.com>2017-08-24 14:21:24 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit70f8291a9f2dce249e81c04fcf490c300bf0bc22 (patch)
treeaf6cc7ad34e0f0feb54b28616da9ae445306ae04 /tests/validation_old/Reference.cpp
parent732f368d7f6916393b84804edcf00f2729378ab5 (diff)
downloadComputeLibrary-70f8291a9f2dce249e81c04fcf490c300bf0bc22.tar.gz
COMPMID-492: Port ArithmeticAddition to new validation
Change-Id: I134b5ed6581b42fac6be6311679473b67d1d5bf4 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/85972 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation_old/Reference.cpp')
-rw-r--r--tests/validation_old/Reference.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/validation_old/Reference.cpp b/tests/validation_old/Reference.cpp
index 9099820929..c2513f04cf 100644
--- a/tests/validation_old/Reference.cpp
+++ b/tests/validation_old/Reference.cpp
@@ -187,23 +187,6 @@ RawTensor Reference::compute_reference_accumulate_weighted(const TensorShape &sh
return ref_dst;
}
-RawTensor Reference::compute_reference_arithmetic_addition(const TensorShape &shape, DataType dt_in0, DataType dt_in1, DataType dt_out, ConvertPolicy convert_policy, int fixed_point_position)
-{
- // Create reference
- RawTensor ref_src1(shape, dt_in0, 1, fixed_point_position);
- RawTensor ref_src2(shape, dt_in1, 1, fixed_point_position);
- RawTensor ref_dst(shape, dt_out, 1, fixed_point_position);
-
- // Fill reference
- library->fill_tensor_uniform(ref_src1, 0);
- library->fill_tensor_uniform(ref_src2, 1);
-
- // Compute reference
- ReferenceCPP::arithmetic_addition(ref_src1, ref_src2, ref_dst, convert_policy);
-
- return ref_dst;
-}
-
RawTensor Reference::compute_reference_arithmetic_subtraction(const TensorShape &shape, DataType dt_in0, DataType dt_in1, DataType dt_out, ConvertPolicy convert_policy, int fixed_point_position)
{
// Create reference