From 03c7ff3f6188240baaeaeb405a357a0c58195fec Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Tue, 22 Aug 2023 12:00:04 +0100 Subject: IVGCVSW-7702 Update Doxygen Docu for 23.08 Signed-off-by: Nikhil Raj Change-Id: I357a9f7e47614589327c1ac5d95b6224ff77103d --- latest/_mem_sync_workload_8cpp_source.html | 170 +++++++++++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 latest/_mem_sync_workload_8cpp_source.html (limited to 'latest/_mem_sync_workload_8cpp_source.html') diff --git a/latest/_mem_sync_workload_8cpp_source.html b/latest/_mem_sync_workload_8cpp_source.html new file mode 100644 index 0000000000..9ff99a1eba --- /dev/null +++ b/latest/_mem_sync_workload_8cpp_source.html @@ -0,0 +1,170 @@ + + + + + + + + +Arm NN: src/backends/backendsCommon/MemSyncWorkload.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  23.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
MemSyncWorkload.cpp
+
+
+Go to the documentation of this file.
1 //
+
2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
+
3 // SPDX-License-Identifier: MIT
+
4 //
+
5 
+
6 #include <ResolveType.hpp>
+
7 
+ + +
10 
+
11 #include <cstring>
+
12 
+
13 namespace armnn
+
14 {
+
15 
+ +
17  const WorkloadInfo& info)
+ +
19 {
+
20  m_TensorHandle = descriptor.m_Inputs[0];
+
21 }
+
22 
+ +
24 {
+
25  ARMNN_SCOPED_PROFILING_EVENT(Compute::Undefined, "SyncMemGeneric_Execute");
+
26  m_TensorHandle->Map(true);
+
27  m_TensorHandle->Unmap();
+
28 }
+
29 
+ +
31 {
+
32  ARMNN_SCOPED_PROFILING_EVENT(Compute::Undefined, "SyncMemGeneric_Execute_WorkingMemDescriptor");
+
33 
+
34  WorkingMemDescriptor* workingMemDescriptor = static_cast<WorkingMemDescriptor*>(executionData.m_Data);
+
35  workingMemDescriptor->m_Inputs[0]->Map(true);
+
36  workingMemDescriptor->m_Inputs[0]->Unmap();
+
37 }
+
38 
+
39 } //namespace armnn
+
+
+ + +
void ExecuteAsync(ExecutionData &executionData) override
+ + +
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
Definition: Profiling.hpp:220
+
Contains information about TensorInfos of a layer.
+
virtual void Unmap() const =0
Unmap the tensor data.
+ + +
SyncMemGenericWorkload(const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info)
+
void Execute() const override
+ + +
Copyright (c) 2021 ARM Limited and Contributors.
+ + +
std::vector< ITensorHandle * > m_Inputs
+
virtual const void * Map(bool blocking=true) const =0
Map the tensor data for access.
+ + + + + -- cgit v1.2.1