ArmNN
 25.11
Loading...
Searching...
No Matches
MemSyncWorkload.cpp
Go to the documentation of this file.
1//
2// Copyright © 2022, 2024 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
8
9namespace armnn
10{
11
13 const WorkloadInfo& info)
15{
16 m_TensorHandle = descriptor.m_Inputs[0];
17}
18
20{
21 ARMNN_SCOPED_PROFILING_EVENT(Compute::Undefined, "SyncMemGeneric_Execute");
22 m_TensorHandle->Map(true);
23 m_TensorHandle->Unmap();
24}
25
26} //namespace armnn
#define ARMNN_SCOPED_PROFILING_EVENT(backendId, name)
BaseWorkload(const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition Workload.hpp:35
SyncMemGenericWorkload(const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info)
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
std::vector< ITensorHandle * > m_Inputs
Contains information about TensorInfos of a layer.