diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-08-04 13:06:57 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-09-17 14:16:42 +0100 |
commit | 4a7497953346cc7d94f9348ee961e4d86203115c (patch) | |
tree | cfb12f36067e7197371786df6386ca69dc61997e /tests/validation/ReferenceCPP.cpp | |
parent | 62eada278f4b6b840747cb1641b2e65838e9acaa (diff) | |
download | ComputeLibrary-4a7497953346cc7d94f9348ee961e4d86203115c.tar.gz |
COMPMID-415: Move BitwiseOr to new validation
Change-Id: I496bc9c5e7a06b2d30e33b2b8448ac3e3527b6d4
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/82050
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 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<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_or(s1, s2, d); -} - // Bitwise xor void ReferenceCPP::bitwise_xor(const RawTensor &src1, const RawTensor &src2, RawTensor &dst) { |