blob: 7a46e5b2efe57497b16ffe6462a90fb112e0777c [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// See LICENSE file in the project root for full license information.
4//
5#pragma once
6
7#include "CpuTensorHandleFwd.hpp"
8#include "backends/Workload.hpp"
telsoa01c577f2c2018-08-31 09:22:23 +01009#include "WorkloadUtils.hpp"
telsoa014fcda012018-03-09 14:13:49 +000010#include <utility>
11
12namespace armnn
13{
14
telsoa01c577f2c2018-08-31 09:22:23 +010015class CopyMemGenericWorkload : public BaseWorkload<MemCopyQueueDescriptor>
telsoa014fcda012018-03-09 14:13:49 +000016{
17public:
telsoa01c577f2c2018-08-31 09:22:23 +010018 CopyMemGenericWorkload(const MemCopyQueueDescriptor& descriptor, const WorkloadInfo& info);
telsoa014fcda012018-03-09 14:13:49 +000019 void Execute() const override;
20
21private:
telsoa01c577f2c2018-08-31 09:22:23 +010022 using TensorHandlePair = std::pair<const ITensorHandle*, ITensorHandle*>;
telsoa014fcda012018-03-09 14:13:49 +000023 std::vector<TensorHandlePair> m_TensorHandlePairs;
24};
25
telsoa01c577f2c2018-08-31 09:22:23 +010026} //namespace armnn