diff options
Diffstat (limited to 'src/backends/cl/ClBackendContext.hpp')
-rw-r--r-- | src/backends/cl/ClBackendContext.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backends/cl/ClBackendContext.hpp b/src/backends/cl/ClBackendContext.hpp index 659d47b7c2..276067727b 100644 --- a/src/backends/cl/ClBackendContext.hpp +++ b/src/backends/cl/ClBackendContext.hpp @@ -31,8 +31,11 @@ public: private: std::mutex m_Mutex; + struct ClContextControlWrapper; - std::unique_ptr<ClContextControlWrapper> m_ClContextControlWrapper; + static std::shared_ptr<ClBackendContext::ClContextControlWrapper> Get(); + + std::shared_ptr<ClBackendContext::ClContextControlWrapper> m_ClContextControlWrapper; std::unordered_set<NetworkId> m_NetworkIds; |