diff options
author | TeresaARM <teresa.charlinreyes@arm.com> | 2022-12-20 16:28:22 +0000 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2023-01-04 14:58:11 +0000 |
commit | 8b4a483e0e2fee508c23be2248ba0409789f1a74 (patch) | |
tree | ddb5c8f54149944fe566ff374c996ec13c226063 /src/backends/cl/ClBackendContext.hpp | |
parent | 9d1786ee149821ec39fc0db0eba015f1c090f0ce (diff) | |
download | armnn-8b4a483e0e2fee508c23be2248ba0409789f1a74.tar.gz |
Revert "IVGCVSW-7297 When creating multiple Executors only the last"
This reverts commit 21cf67af47a9cebbc10a98184c204fffa3722abd.
Reason for revert: IVGCVSW-7397 Segmentation fault/Bus error in Backends CI job nightly
Change-Id: I563e79700a857f8cf0fce0923a7040aeda29629b
Diffstat (limited to 'src/backends/cl/ClBackendContext.hpp')
-rw-r--r-- | src/backends/cl/ClBackendContext.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/backends/cl/ClBackendContext.hpp b/src/backends/cl/ClBackendContext.hpp index 276067727b..659d47b7c2 100644 --- a/src/backends/cl/ClBackendContext.hpp +++ b/src/backends/cl/ClBackendContext.hpp @@ -31,11 +31,8 @@ public: private: std::mutex m_Mutex; - struct ClContextControlWrapper; - static std::shared_ptr<ClBackendContext::ClContextControlWrapper> Get(); - - std::shared_ptr<ClBackendContext::ClContextControlWrapper> m_ClContextControlWrapper; + std::unique_ptr<ClContextControlWrapper> m_ClContextControlWrapper; std::unordered_set<NetworkId> m_NetworkIds; |