aboutsummaryrefslogtreecommitdiff
path: root/tests/InferenceTest.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-08-14 11:42:30 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-08-23 12:44:27 +0000
commit00dda4a66c10a56b02bdd534ba3b5fdb27527ebc (patch)
treecb752587ba5c2ea64e2de6ec402cbce7fc63981d /tests/InferenceTest.hpp
parente898db9aaf07b4d0ea0242a1f3296f0192c42939 (diff)
downloadarmnn-00dda4a66c10a56b02bdd534ba3b5fdb27527ebc.tar.gz
IVGCVSW-3547 Use ExecuteNetwork to run a dynamic backend end to end test
* Added path override for dynamic backend loading * Do not default to CpuRef, as there could be dynamic backends loaded at runtime * Do not check right away whether the backends are correct, as more of them can be loaded at runtime as dynamic backends Change-Id: If23f79aa1480b8dfce57e49b1746c23b6b9e6f82 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'tests/InferenceTest.hpp')
-rw-r--r--tests/InferenceTest.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/InferenceTest.hpp b/tests/InferenceTest.hpp
index 40c9e5e597..f2b8c634cc 100644
--- a/tests/InferenceTest.hpp
+++ b/tests/InferenceTest.hpp
@@ -58,10 +58,12 @@ struct InferenceTestOptions
unsigned int m_IterationCount;
std::string m_InferenceTimesFile;
bool m_EnableProfiling;
+ std::string m_DynamicBackendsPath;
InferenceTestOptions()
- : m_IterationCount(0),
- m_EnableProfiling(0)
+ : m_IterationCount(0)
+ , m_EnableProfiling(0)
+ , m_DynamicBackendsPath()
{}
};