ArmNN
 20.11
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 
11 
12 #include <utility>
13 
14 namespace armnn
15 {
16 
17 class CopyMemGenericWorkload : public BaseWorkload<MemCopyQueueDescriptor>
18 {
19 public:
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
CopyMemGenericWorkload(const MemCopyQueueDescriptor &descriptor, const WorkloadInfo &info)
Copyright (c) 2020 ARM Limited.
void Execute() const override
Contains information about inputs and outputs to a layer.