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/_execution_frame_8cpp_source.xhtml | 119 +++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 21.02/_execution_frame_8cpp_source.xhtml (limited to '21.02/_execution_frame_8cpp_source.xhtml') diff --git a/21.02/_execution_frame_8cpp_source.xhtml b/21.02/_execution_frame_8cpp_source.xhtml new file mode 100644 index 0000000000..d821b121c5 --- /dev/null +++ b/21.02/_execution_frame_8cpp_source.xhtml @@ -0,0 +1,119 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/ExecutionFrame.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ExecutionFrame.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #include "ExecutionFrame.hpp"
7 
8 using namespace std;
9 
10 namespace armnn
11 {
12 ExecutionFrame::ExecutionFrame() {}
13 
14 IExecutionFrame* ExecutionFrame::ExecuteWorkloads(IExecutionFrame* previousFrame)
15 {
16  IgnoreUnused(previousFrame);
17  for (auto& workload: m_WorkloadQueue)
18  {
19  workload->Execute();
20  }
21  return m_NextExecutionFrame;
22 }
23 
24 void ExecutionFrame::PostAllocationConfigure()
25 {
26  for (auto&& workloadPtr: m_WorkloadQueue)
27  {
28  workloadPtr.get()->PostAllocationConfigure();
29  }
30 }
31 
32 void ExecutionFrame::RegisterDebugCallback(const DebugCallbackFunction& func)
33 {
34  for (auto&& workloadPtr: m_WorkloadQueue)
35  {
36  workloadPtr.get()->RegisterDebugCallback(func);
37  }
38 }
39 
40 void ExecutionFrame::AddWorkloadToQueue(std::unique_ptr<IWorkload> workload)
41 {
42  m_WorkloadQueue.push_back(move(workload));
43 }
44 
45 void ExecutionFrame::SetNextExecutionFrame(IExecutionFrame* nextExecutionFrame)
46 {
47  m_NextExecutionFrame = nextExecutionFrame;
48 }
49 
50 }
Copyright (c) 2021 ARM Limited and Contributors.
+
void IgnoreUnused(Ts &&...)
+
std::function< void(LayerGuid guid, unsigned int slotIndex, ITensorHandle *tensorHandle)> DebugCallbackFunction
Define the type of callback for the Debug layer to call.
Definition: Types.hpp:283
+ +
ExecutionFrame interface to enqueue a workload computation.
+ +
+
+ + + + -- cgit v1.2.1