diff options
author | David Beck <david.beck@arm.com> | 2018-10-24 17:09:46 +0100 |
---|---|---|
committer | David Beck <david.beck@arm.com> | 2018-10-26 10:25:09 +0100 |
commit | d4dfa684941a21314b70593d01b0fc2167eebad4 (patch) | |
tree | eaf561f9bdf5f5643702a5a6f24ed822dea9c4c2 /src/armnn/Runtime.hpp | |
parent | 0a088a61d016bf7af77e2d73d0988223a5f98ef1 (diff) | |
download | armnn-d4dfa684941a21314b70593d01b0fc2167eebad4.tar.gz |
IVGCVSW-2056 + IVGCVSW-2064 : move ClContextControl to the ClBackend
Change-Id: Ice19d3f763298bc14585267df389e99df846320d
Diffstat (limited to 'src/armnn/Runtime.hpp')
-rw-r--r-- | src/armnn/Runtime.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/armnn/Runtime.hpp b/src/armnn/Runtime.hpp index 29bb6808d8..2679e3cc98 100644 --- a/src/armnn/Runtime.hpp +++ b/src/armnn/Runtime.hpp @@ -9,7 +9,8 @@ #include <armnn/INetwork.hpp> #include <armnn/IRuntime.hpp> #include <armnn/Tensor.hpp> -#include <backends/cl/ClContextControl.hpp> +#include <armnn/BackendId.hpp> +#include <backends/IBackendContext.hpp> #include <mutex> #include <unordered_map> @@ -85,14 +86,13 @@ private: } mutable std::mutex m_Mutex; - std::unordered_map<NetworkId, std::unique_ptr<LoadedNetwork>> m_LoadedNetworks; - - ClContextControl m_ClContextControl; - + CreationOptions m_Options; int m_NetworkIdCounter; - DeviceSpec m_DeviceSpec; + + using BackendContextMap = std::unordered_map<BackendId, IBackendContextUniquePtr>; + BackendContextMap m_BackendContexts; }; } |