diff options
author | Moritz Pflanzer <moritz.pflanzer@arm.com> | 2017-07-28 15:04:06 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:35:24 +0000 |
commit | adfccb872f0970f95ee594e1fc0dd6c40554abe7 (patch) | |
tree | 918d7cd104cdeea405161ecaff7dc1d0f3f0544d /tests/validation/ReferenceCPP.cpp | |
parent | 0eafa687818c11713e7e8e7bfcb976f60b4b8f54 (diff) | |
download | ComputeLibrary-adfccb872f0970f95ee594e1fc0dd6c40554abe7.tar.gz |
COMPMID-415: Move BitwiseNot to new validation
Change-Id: I3388eae0c55dd56f0777736128d93a7e2fa6ba9d
Reviewed-on: http://mpd-gerrit.cambridge.arm.com/82052
Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation/ReferenceCPP.cpp')
-rw-r--r-- | tests/validation/ReferenceCPP.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/validation/ReferenceCPP.cpp b/tests/validation/ReferenceCPP.cpp index 5b7f473d6c..3bf70a0a19 100644 --- a/tests/validation/ReferenceCPP.cpp +++ b/tests/validation/ReferenceCPP.cpp @@ -173,15 +173,6 @@ void ReferenceCPP::arithmetic_subtraction(const RawTensor &src1, const RawTensor boost::apply_visitor(arithmetic_subtraction_visitor(convert_policy), s1, s2, d); } -// Bitwise not -void ReferenceCPP::bitwise_not(const RawTensor &src, RawTensor &dst) -{ - ARM_COMPUTE_ERROR_ON(src.data_type() != DataType::U8 || dst.data_type() != DataType::U8); - const Tensor<uint8_t> s(src.shape(), src.data_type(), src.fixed_point_position(), reinterpret_cast<const uint8_t *>(src.data())); - Tensor<uint8_t> d(dst.shape(), dst.data_type(), dst.fixed_point_position(), reinterpret_cast<uint8_t *>(dst.data())); - tensor_operations::bitwise_not(s, d); -} - // Box3x3 filter void ReferenceCPP::box3x3(const RawTensor &src, RawTensor &dst, BorderMode border_mode, uint8_t constant_border_value) { |