From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_cl_backend_context_8hpp_source.xhtml | 126 ++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 20.02/_cl_backend_context_8hpp_source.xhtml (limited to '20.02/_cl_backend_context_8hpp_source.xhtml') diff --git a/20.02/_cl_backend_context_8hpp_source.xhtml b/20.02/_cl_backend_context_8hpp_source.xhtml new file mode 100644 index 0000000000..5fd4c4a317 --- /dev/null +++ b/20.02/_cl_backend_context_8hpp_source.xhtml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + +ArmNN: src/backends/cl/ClBackendContext.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.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 
13 namespace armnn
14 {
15 
17 {
18 public:
20 
21  bool BeforeLoadNetwork(NetworkId networkId) override;
22  bool AfterLoadNetwork(NetworkId networkId) override;
23 
24  bool BeforeUnloadNetwork(NetworkId networkId) override;
25  bool AfterUnloadNetwork(NetworkId networkId) override;
26 
27  ~ClBackendContext() override;
28 
29 private:
30  std::mutex m_Mutex;
31  struct ClContextControlWrapper;
32  std::unique_ptr<ClContextControlWrapper> m_ClContextControlWrapper;
33 
34  std::unordered_set<NetworkId> m_NetworkIds;
35 
36  std::unique_ptr<arm_compute::CLTuner> m_Tuner;
37  std::string m_TuningFile;
38 };
39 
40 } // namespace armnn
bool BeforeLoadNetwork(NetworkId networkId) override
Before and after Load network events.
+ +
bool AfterUnloadNetwork(NetworkId networkId) override
+
int NetworkId
Definition: IRuntime.hpp:19
+
Copyright (c) 2020 ARM Limited.
+ +
ClBackendContext(const IRuntime::CreationOptions &options)
+ + + +
bool AfterLoadNetwork(NetworkId networkId) override
+
armnn::Runtime::CreationOptions::ExternalProfilingOptions options
+
bool BeforeUnloadNetwork(NetworkId networkId) override
Before and after Unload network events.
+
+
+ + + + -- cgit v1.2.1