From c60d0fd2cb57f0af7ecc6dc1fc678a9d2a2e629a Mon Sep 17 00:00:00 2001 From: David Monahan Date: Tue, 19 May 2020 14:58:34 +0100 Subject: IVGCVSW-IVGCVSW-4772 Fixes for android-nn-driver unit tests on Android R * Added missing operand parameter numberOfConsumers to DriverTestHelpers * Added nullptr checks to unit tests * Disabling QuantizedLstmTest when ARMCOMPUTECL_ENABLED is undefined Signed-off-by: David Monahan Change-Id: I46dc413d3bb1805eb0e7c982177b6d60d0b297f5 --- test/1.2/Lstm.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/1.2/Lstm.cpp') diff --git a/test/1.2/Lstm.cpp b/test/1.2/Lstm.cpp index 032b5373..03f7fe47 100644 --- a/test/1.2/Lstm.cpp +++ b/test/1.2/Lstm.cpp @@ -41,9 +41,11 @@ BOOST_DATA_TEST_CASE(LstmCifgPeepholeProjectionNoClippingLayerNormTest, COMPUTE_ LstmCifgPeepholeProjectionNoClippingLayerNorm(sample); } +#if defined(ARMCOMPUTECL_ENABLED) BOOST_DATA_TEST_CASE(QuantizedLstmTest, COMPUTE_DEVICES) { QuantizedLstm(sample); } +#endif BOOST_AUTO_TEST_SUITE_END() -- cgit v1.2.1