aboutsummaryrefslogtreecommitdiff
path: root/src/backends/backendsCommon/DynamicBackendUtils.hpp
diff options
context:
space:
mode:
authorJan Eilers <jan.eilers@arm.com>2019-07-25 17:08:37 +0100
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-08-05 16:32:25 +0000
commit4a539fcde5008b5e55d565ab9615eab2970360ae (patch)
tree3bfe3616453246acbafac38e7f7bad54c2a25b6c /src/backends/backendsCommon/DynamicBackendUtils.hpp
parente7d449893b85a00a063836bd01dce4f925a24dd2 (diff)
downloadarmnn-4a539fcde5008b5e55d565ab9615eab2970360ae.tar.gz
IVGCVSW-3599 Create the GetSharedObjects method in DynamicBackendUtils
* Added GetSharedObjects to DynamicBackendUtils * Goes through the given paths and returns a list of files that match the naming scheme for dynamic backends * Added unit test * Update the cmake file to generate the test files/symlinks Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: Ibfc0bad740b72696714d343eb32a593c2ec1f8c6
Diffstat (limited to 'src/backends/backendsCommon/DynamicBackendUtils.hpp')
-rw-r--r--src/backends/backendsCommon/DynamicBackendUtils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/backendsCommon/DynamicBackendUtils.hpp b/src/backends/backendsCommon/DynamicBackendUtils.hpp
index f0bfd3b220..b327a9ea60 100644
--- a/src/backends/backendsCommon/DynamicBackendUtils.hpp
+++ b/src/backends/backendsCommon/DynamicBackendUtils.hpp
@@ -35,6 +35,7 @@ public:
static std::vector<std::string> GetBackendPaths(const std::string& overrideBackendPath = "");
static bool IsPathValid(const std::string& path);
+ static std::vector<std::string> GetSharedObjects(const std::vector<std::string>& backendPaths);
protected:
/// Protected methods for testing purposes