From e7d449893b85a00a063836bd01dce4f925a24dd2 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Mon, 5 Aug 2019 12:16:47 +0100 Subject: 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 Signed-off-by: Matteo Martincigh --- include/armnn/IRuntime.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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); -- cgit v1.2.1