diff options
author | David Monahan <david.monahan@arm.com> | 2020-05-19 14:58:34 +0100 |
---|---|---|
committer | David Monahan <david.monahan@arm.com> | 2020-05-19 18:15:28 +0100 |
commit | c60d0fd2cb57f0af7ecc6dc1fc678a9d2a2e629a (patch) | |
tree | 5a825089eb6c24cebb49b502e6c0404d7b79bd56 /test/1.2/Lstm.cpp | |
parent | 813f23049d73177edfc1f1cff71147c39f4b695e (diff) | |
download | android-nn-driver-c60d0fd2cb57f0af7ecc6dc1fc678a9d2a2e629a.tar.gz |
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 <david.monahan@arm.com>
Change-Id: I46dc413d3bb1805eb0e7c982177b6d60d0b297f5
Diffstat (limited to 'test/1.2/Lstm.cpp')
-rw-r--r-- | test/1.2/Lstm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<hal_1_2::HalPolicy>(sample); } +#if defined(ARMCOMPUTECL_ENABLED) BOOST_DATA_TEST_CASE(QuantizedLstmTest, COMPUTE_DEVICES) { QuantizedLstm<hal_1_2::HalPolicy>(sample); } +#endif BOOST_AUTO_TEST_SUITE_END() |