aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Charlin <teresa.charlinreyes@arm.com>2021-11-02 14:03:26 +0000
committerTeresa Charlin <teresa.charlinreyes@arm.com>2021-11-02 14:03:26 +0000
commitd19ac0c8fad5f85bb9ba376dbef33b27aaf7305a (patch)
tree2ee6e09d69da86f49c5ad18b1ca68765420cb8b0
parentdaf7dd0059abda26c5f13c3698a79e85a7a9fea3 (diff)
downloadandroid-nn-driver-d19ac0c8fad5f85bb9ba376dbef33b27aaf7305a.tar.gz
IVGCVSW-6515 Restricting CpuRef LSTM tests to run only when CpuRef is enabled
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Icabc39559efd9e621657eb48454fe52155e8c9ff
-rw-r--r--test/1.2/Lstm.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/1.2/Lstm.cpp b/test/1.2/Lstm.cpp
index 59d5d381..7a2b3942 100644
--- a/test/1.2/Lstm.cpp
+++ b/test/1.2/Lstm.cpp
@@ -7,6 +7,7 @@
using namespace armnn_driver;
+#if defined(ARMNNREF_ENABLED)
DOCTEST_TEST_SUITE("LstmTests_1.2_CpuRef")
{
@@ -36,6 +37,7 @@ DOCTEST_TEST_SUITE("LstmTests_1.2_CpuRef")
}
}
+#endif
#if defined(ARMCOMPUTECL_ENABLED)
DOCTEST_TEST_SUITE("LstmTests_1.2_GpuAcc")