From 4a7497953346cc7d94f9348ee961e4d86203115c Mon Sep 17 00:00:00 2001 From: Moritz Pflanzer Date: Fri, 4 Aug 2017 13:06:57 +0100 Subject: COMPMID-415: Move BitwiseOr to new validation Change-Id: I496bc9c5e7a06b2d30e33b2b8448ac3e3527b6d4 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/82050 Reviewed-by: Anthony Barbier Tested-by: Kaizen --- tests/validation/ReferenceCPP.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/validation/ReferenceCPP.cpp') diff --git a/tests/validation/ReferenceCPP.cpp b/tests/validation/ReferenceCPP.cpp index 8366f1fac8..69100ad9bb 100644 --- a/tests/validation/ReferenceCPP.cpp +++ b/tests/validation/ReferenceCPP.cpp @@ -148,16 +148,6 @@ void ReferenceCPP::arithmetic_subtraction(const RawTensor &src1, const RawTensor boost::apply_visitor(arithmetic_subtraction_visitor(convert_policy), s1, s2, d); } -// Bitwise or -void ReferenceCPP::bitwise_or(const RawTensor &src1, const RawTensor &src2, RawTensor &dst) -{ - ARM_COMPUTE_ERROR_ON(src1.data_type() != DataType::U8 || src2.data_type() != DataType::U8 || dst.data_type() != DataType::U8); - const Tensor s1(src1.shape(), src1.data_type(), src1.fixed_point_position(), reinterpret_cast(src1.data())); - const Tensor s2(src2.shape(), src2.data_type(), src2.fixed_point_position(), reinterpret_cast(src2.data())); - Tensor d(dst.shape(), dst.data_type(), dst.fixed_point_position(), reinterpret_cast(dst.data())); - tensor_operations::bitwise_or(s1, s2, d); -} - // Bitwise xor void ReferenceCPP::bitwise_xor(const RawTensor &src1, const RawTensor &src2, RawTensor &dst) { -- cgit v1.2.1