24.02
MemSyncWorkload.hpp
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
#pragma once
6
7
#include "
WorkloadUtils.hpp
"
8
9
#include <
armnn/backends/TensorHandleFwd.hpp
>
10
#include <
armnn/backends/Workload.hpp
>
11
12
#include <utility>
13
14
namespace
armnn
15
{
16
17
class
SyncMemGenericWorkload
:
public
BaseWorkload
<MemSyncQueueDescriptor>
18
{
19
public
:
20
SyncMemGenericWorkload
(
const
MemSyncQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
21
void
Execute
()
const override
;
22
void
ExecuteAsync
(
ExecutionData
& executionData)
override
;
23
24
private
:
25
ITensorHandle
* m_TensorHandle;
26
};
27
28
}
//namespace armnn
WorkloadUtils.hpp
armnn::SyncMemGenericWorkload::ExecuteAsync
void ExecuteAsync(ExecutionData &executionData) override
Definition:
MemSyncWorkload.cpp:30
armnn::ITensorHandle
Definition:
ITensorHandle.hpp:16
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition:
WorkloadInfo.hpp:16
Workload.hpp
armnn::BoostLogSeverityMapping::info
@ info
armnn::BaseWorkload
Definition:
Workload.hpp:33
TensorHandleFwd.hpp
armnn::SyncMemGenericWorkload::SyncMemGenericWorkload
SyncMemGenericWorkload(const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
MemSyncWorkload.cpp:16
armnn::SyncMemGenericWorkload::Execute
void Execute() const override
Definition:
MemSyncWorkload.cpp:23
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
armnn::MemSyncQueueDescriptor
Definition:
WorkloadData.hpp:99
armnn::SyncMemGenericWorkload
Definition:
MemSyncWorkload.hpp:17
armnn::experimental::ExecutionData
Definition:
ExecutionData.hpp:14
src
backends
backendsCommon
MemSyncWorkload.hpp
Generated on Wed Feb 14 2024 16:36:15 for Arm NN by
1.8.17