aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-08-05 12:16:47 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-08-05 16:32:05 +0000
commite7d449893b85a00a063836bd01dce4f925a24dd2 (patch)
treebff2b2770caa91c3bbf7270db8a21a3f4eb9964f /include
parent4fc3c48c2d230d8c55aa01aa98e32b6df7cafc0c (diff)
downloadarmnn-e7d449893b85a00a063836bd01dce4f925a24dd2.tar.gz
IVGCVSW-3541 Get the paths where to load the dynamic backends from
* Adds GetBackendPaths and IsPathValid to DynamicBackendUtils * Adds related unit tests Change-Id: I94e377d92a88a4b5d48026f6ad5b4d5387d20c21 Signed-off-by: Jan Eilers <jan.eilers@arm.com> Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'include')
-rw-r--r--include/armnn/IRuntime.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/armnn/IRuntime.hpp b/include/armnn/IRuntime.hpp
index 0366663841..3f3c998f3a 100644
--- a/include/armnn/IRuntime.hpp
+++ b/include/armnn/IRuntime.hpp
@@ -31,6 +31,7 @@ public:
CreationOptions()
: m_GpuAccTunedParameters(nullptr)
, m_EnableGpuProfiling(false)
+ , m_DynamicBackendsPath("")
{}
/// If set, uses the GpuAcc tuned parameters from the given object when executing GPU workloads.
@@ -39,6 +40,10 @@ public:
// Setting this flag will allow the user to obtain GPU profiling information from the runtime.
bool m_EnableGpuProfiling;
+
+ // Setting this value will override the paths set by the DYNAMIC_BACKEND_PATHS compiler directive
+ // Only a single path is allowed for the override
+ std::string m_DynamicBackendsPath;
};
static IRuntime* CreateRaw(const CreationOptions& options);