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/_execution_frame_8hpp_source.xhtml | 123 +++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 20.02/_execution_frame_8hpp_source.xhtml (limited to '20.02/_execution_frame_8hpp_source.xhtml') diff --git a/20.02/_execution_frame_8hpp_source.xhtml b/20.02/_execution_frame_8hpp_source.xhtml new file mode 100644 index 0000000000..a0b9594058 --- /dev/null +++ b/20.02/_execution_frame_8hpp_source.xhtml @@ -0,0 +1,123 @@ + + + + + + + + + + + + + +ArmNN: src/armnn/ExecutionFrame.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
ExecutionFrame.hpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
9 
10 namespace armnn
11 {
12 
13 using WorkloadQueue = std::vector< std::unique_ptr<IWorkload> >;
14 
15 /// ExecutionFrame interface to enqueue a workload computation.
17 {
18 
19 public:
20  virtual ~IExecutionFrame() {}
21 
22  virtual IExecutionFrame* ExecuteWorkloads(IExecutionFrame* previousFrame) = 0;
23  virtual void PostAllocationConfigure() {};
25 };
26 
28 {
29 public:
31 
32  IExecutionFrame* ExecuteWorkloads(IExecutionFrame* previousFrame) override ;
33  void PostAllocationConfigure() override;
34  void RegisterDebugCallback(const DebugCallbackFunction& func) override ;
35  void AddWorkloadToQueue(std::unique_ptr<IWorkload> workload);
36  void SetNextExecutionFrame(IExecutionFrame* nextExecutionFrame);
37 private:
38  WorkloadQueue m_WorkloadQueue;
39  IExecutionFrame* m_NextExecutionFrame = nullptr;
40 };
41 
42 }
virtual void RegisterDebugCallback(const DebugCallbackFunction &)
+ +
Copyright (c) 2020 ARM Limited.
+
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:244
+
virtual IExecutionFrame * ExecuteWorkloads(IExecutionFrame *previousFrame)=0
+
ExecutionFrame interface to enqueue a workload computation.
+ +
std::vector< std::unique_ptr< IWorkload > > WorkloadQueue
+
virtual void PostAllocationConfigure()
+ +
+
+ + + + -- cgit v1.2.1