From fd627ffaec8fd8801d980b4c91ee7c0607ab6aaf Mon Sep 17 00:00:00 2001 From: Jan Eilers Date: Thu, 25 Feb 2021 17:44:00 +0000 Subject: IVGCVSW-5687 Update Doxygen Docu * Update Doxygen Documentation for 21.02 release Signed-off-by: Jan Eilers Change-Id: I9ed2f9caab038836ea99d7b378d7899fe431a4e5 --- 21.02/_cl_backend_context_8hpp_source.xhtml | 127 ++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 21.02/_cl_backend_context_8hpp_source.xhtml (limited to '21.02/_cl_backend_context_8hpp_source.xhtml') diff --git a/21.02/_cl_backend_context_8hpp_source.xhtml b/21.02/_cl_backend_context_8hpp_source.xhtml new file mode 100644 index 0000000000..dff0b4b0c8 --- /dev/null +++ b/21.02/_cl_backend_context_8hpp_source.xhtml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/ClBackendContext.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ClBackendContext.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
8 #include <unordered_set>
9 #include <mutex>
10 
11 #include <arm_compute/runtime/CL/CLTuner.h>
12 #include <arm_compute/runtime/CL/CLGEMMHeuristicsHandle.h>
13 
14 namespace armnn
15 {
16 
18 {
19 public:
21 
22  bool BeforeLoadNetwork(NetworkId networkId) override;
23  bool AfterLoadNetwork(NetworkId networkId) override;
24 
25  bool BeforeUnloadNetwork(NetworkId networkId) override;
26  bool AfterUnloadNetwork(NetworkId networkId) override;
27 
28  ~ClBackendContext() override;
29 
30 private:
31  std::mutex m_Mutex;
32  struct ClContextControlWrapper;
33  std::unique_ptr<ClContextControlWrapper> m_ClContextControlWrapper;
34 
35  std::unordered_set<NetworkId> m_NetworkIds;
36 
37  std::unique_ptr<arm_compute::CLTuner> m_Tuner;
38  std::string m_TuningFile;
39 
40 protected:
41  arm_compute::CLGEMMHeuristicsHandle m_MLGOTuner;
42  std::string m_MLGOTuningFile;
43 };
44 
45 } // namespace armnn
bool BeforeLoadNetwork(NetworkId networkId) override
Before and after Load network events.
+ +
bool AfterUnloadNetwork(NetworkId networkId) override
+
int NetworkId
Definition: IRuntime.hpp:20
+
Copyright (c) 2021 ARM Limited and Contributors.
+ +
ClBackendContext(const IRuntime::CreationOptions &options)
+ + + +
arm_compute::CLGEMMHeuristicsHandle m_MLGOTuner
+
bool AfterLoadNetwork(NetworkId networkId) override
+ +
bool BeforeUnloadNetwork(NetworkId networkId) override
Before and after Unload network events.
+
+
+ + + + -- cgit v1.2.1