20.02
MemCopyWorkload.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2017 Arm Ltd. All rights reserved.
3
// SPDX-License-Identifier: MIT
4
//
5
#pragma once
6
7
#include "
Workload.hpp
"
8
#include "
WorkloadUtils.hpp
"
9
10
#include <
armnn/backends/CpuTensorHandleFwd.hpp
>
11
12
#include <utility>
13
14
namespace
armnn
15
{
16
17
class
CopyMemGenericWorkload
:
public
BaseWorkload
<MemCopyQueueDescriptor>
18
{
19
public
:
20
CopyMemGenericWorkload
(
const
MemCopyQueueDescriptor
& descriptor,
const
WorkloadInfo
&
info
);
21
void
Execute
()
const override
;
22
23
private
:
24
using
TensorHandlePair = std::pair<const ITensorHandle*, ITensorHandle*>;
25
std::vector<TensorHandlePair> m_TensorHandlePairs;
26
};
27
28
}
//namespace armnn
armnn::CopyMemGenericWorkload::CopyMemGenericWorkload
CopyMemGenericWorkload(const MemCopyQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition:
MemCopyWorkload.cpp:42
CpuTensorHandleFwd.hpp
armnn
Copyright (c) 2020 ARM Limited.
Definition:
00_introduction.dox:25
armnn::CopyMemGenericWorkload
Definition:
MemCopyWorkload.hpp:17
armnn::BaseWorkload
Definition:
Workload.hpp:28
armnn::MemCopyQueueDescriptor
Definition:
WorkloadData.hpp:58
Workload.hpp
armnn::BoostLogSeverityMapping::info
armnn::CopyMemGenericWorkload::Execute
void Execute() const override
Definition:
MemCopyWorkload.cpp:49
armnn::WorkloadInfo
Contains information about inputs and outputs to a layer.
Definition:
WorkloadInfo.hpp:16
WorkloadUtils.hpp
src
backends
backendsCommon
MemCopyWorkload.hpp
Generated on Fri Mar 13 2020 16:09:10 for ArmNN by
1.8.13