diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-28 14:02:55 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | 62eada278f4b6b840747cb1641b2e65838e9acaa (patch) | |
tree | 53c8b0c4e71111c2dc2cf3a51f4bef1d3c623d36 /tests/validation/ReferenceCPP.cpp | |
parent | 42ab899e159720eb87765d93e6ae765b220a8840 (diff) | |
download | ComputeLibrary-62eada278f4b6b840747cb1641b2e65838e9acaa.tar.gz |
COMPMID-415: Move BitwiseAnd to new validation
Change-Id: I1f1dff485ac510b6a9e5baf5f00c77beab7f8a5f
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/82049
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Diffstat (limited to 'tests/validation/ReferenceCPP.cpp')
-rw-r--r-- | tests/validation/ReferenceCPP.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/validation/ReferenceCPP.cpp b/tests/validation/ReferenceCPP.cpp index 0364e75ce3..8366f1fac8 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 and -void ReferenceCPP::bitwise_and(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<uint8_t> s1(src1.shape(), src1.data_type(), src1.fixed_point_position(), reinterpret_cast<const uint8_t *>(src1.data())); - const Tensor<uint8_t> s2(src2.shape(), src2.data_type(), src2.fixed_point_position(), reinterpret_cast<const uint8_t *>(src2.data())); - Tensor<uint8_t> d(dst.shape(), dst.data_type(), dst.fixed_point_position(), reinterpret_cast<uint8_t *>(dst.data())); - tensor_operations::bitwise_and(s1, s2, d); -} - // Bitwise or void ReferenceCPP::bitwise_or(const RawTensor &src1, const RawTensor &src2, RawTensor &dst) { |