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/_mem_sync_workload_8cpp_source.xhtml | 127 +++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 20.02/_mem_sync_workload_8cpp_source.xhtml (limited to '20.02/_mem_sync_workload_8cpp_source.xhtml') diff --git a/20.02/_mem_sync_workload_8cpp_source.xhtml b/20.02/_mem_sync_workload_8cpp_source.xhtml new file mode 100644 index 0000000000..e6ef9dbfbb --- /dev/null +++ b/20.02/_mem_sync_workload_8cpp_source.xhtml @@ -0,0 +1,127 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/MemSyncWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MemSyncWorkload.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 <ResolveType.hpp>
7 
10 
11 #include <boost/cast.hpp>
12 
13 #include <cstring>
14 
15 namespace armnn
16 {
17 
19  const WorkloadInfo& info)
20  : BaseWorkload<MemSyncQueueDescriptor>(descriptor, info)
21 {
22  m_TensorHandle = descriptor.m_Inputs[0];
23 }
24 
26 {
27  ARMNN_SCOPED_PROFILING_EVENT(Compute::Undefined, "SyncMemGeneric_Execute");
28  m_TensorHandle->Map(true);
29  m_TensorHandle->Unmap();
30 }
31 
32 } //namespace armnn
void Execute() const override
+ +
Copyright (c) 2020 ARM Limited.
+
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
Definition: Profiling.hpp:169
+ + +
SyncMemGenericWorkload(const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info)
+ +
virtual const void * Map(bool blocking=true) const =0
Map the tensor data for access.
+
virtual void Unmap() const =0
Unmap the tensor data.
+
Contains information about inputs and outputs to a layer.
+ +
std::vector< ITensorHandle * > m_Inputs
+ +
+
+ + + + -- cgit v1.2.1