aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/ReferenceCPP.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-07-28 14:42:01 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit0eafa687818c11713e7e8e7bfcb976f60b4b8f54 (patch)
treed6d60e42256d13eb95054f988c01f4c9ca784763 /tests/validation/ReferenceCPP.cpp
parentdb00668890e1aba956e02fa02e1383b54dfd1435 (diff)
downloadComputeLibrary-0eafa687818c11713e7e8e7bfcb976f60b4b8f54.tar.gz
COMPMID-415: Move BitwiseXor to new validation
Change-Id: Ibd1307b8939b4bf60860f8e7d3ad9ced0e845abb Reviewed-on: http://mpd-gerrit.cambridge.arm.com/82051 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.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/validation/ReferenceCPP.cpp b/tests/validation/ReferenceCPP.cpp
index cf0b978297..5b7f473d6c 100644
--- a/tests/validation/ReferenceCPP.cpp
+++ b/tests/validation/ReferenceCPP.cpp
@@ -173,16 +173,6 @@ void ReferenceCPP::arithmetic_subtraction(const RawTensor &src1, const RawTensor
boost::apply_visitor(arithmetic_subtraction_visitor(convert_policy), s1, s2, d);
}
-// Bitwise xor
-void ReferenceCPP::bitwise_xor(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_xor(s1, s2, d);
-}
-
// Bitwise not
void ReferenceCPP::bitwise_not(const RawTensor &src, RawTensor &dst)
{