From 3d93bc47f42b339d82cfcf56a90c9264dd46d70a Mon Sep 17 00:00:00 2001 From: Mohamed Nour Abouelseoud Date: Wed, 21 Nov 2018 10:35:17 +0000 Subject: [PATCH] IVGCVSW-1837: Enable broadcast tests for SUB CL/NEON Workload Enabled subtraction broadcasting tests for CL/NEON Enabled Uint8 subtraction tests for CL Change-Id: Id36c1530f967c77f5633616e8f491cac9547724b --- src/backends/cl/test/ClLayerTests.cpp | 6 ++++++ src/backends/neon/test/NeonLayerTests.cpp | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/backends/cl/test/ClLayerTests.cpp b/src/backends/cl/test/ClLayerTests.cpp index f63f65c..b9b26ac 100755 --- a/src/backends/cl/test/ClLayerTests.cpp +++ b/src/backends/cl/test/ClLayerTests.cpp @@ -202,6 +202,12 @@ ARMNN_AUTO_TEST_CASE(AddBroadcast1ElementUint8, AdditionBroadcast1ElementUint8Te // Sub ARMNN_AUTO_TEST_CASE(SimpleSub, SubtractionTest) +ARMNN_AUTO_TEST_CASE(SubBroadcast1Element, SubtractionBroadcast1ElementTest) +ARMNN_AUTO_TEST_CASE(SubBroadcast, SubtractionBroadcastTest) + +ARMNN_AUTO_TEST_CASE(SubtractionUint8, SubtractionUint8Test) +ARMNN_AUTO_TEST_CASE(SubBroadcastUint8, SubtractionBroadcastUint8Test) +ARMNN_AUTO_TEST_CASE(SubBroadcast1ElementUint8, SubtractionBroadcast1ElementUint8Test) // Div ARMNN_AUTO_TEST_CASE(SimpleDivision, DivisionTest) diff --git a/src/backends/neon/test/NeonLayerTests.cpp b/src/backends/neon/test/NeonLayerTests.cpp index 9a6c71b..0382c1c 100644 --- a/src/backends/neon/test/NeonLayerTests.cpp +++ b/src/backends/neon/test/NeonLayerTests.cpp @@ -324,6 +324,8 @@ ARMNN_AUTO_TEST_CASE(AddBroadcast1Element, AdditionBroadcast1ElementTest) // Sub ARMNN_AUTO_TEST_CASE(SimpleSub, SubtractionTest) +ARMNN_AUTO_TEST_CASE(SubBroadcast1Element, SubtractionBroadcast1ElementTest) +ARMNN_AUTO_TEST_CASE(SubBroadcast, SubtractionBroadcastTest) // Mul ARMNN_AUTO_TEST_CASE(SimpleMultiplication, MultiplicationTest) -- 2.7.4