ArmNN
 22.08
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 
11 
12 #include <utility>
13 
14 namespace armnn
15 {
16 
17 class SyncMemGenericWorkload : public BaseWorkload<MemSyncQueueDescriptor>
18 {
19 public:
21  void Execute() const override;
22  void ExecuteAsync(ExecutionData& executionData) override;
23 
24 private:
25  ITensorHandle* m_TensorHandle;
26 };
27 
28 } //namespace armnn
void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
void ExecuteAsync(ExecutionData &executionData) override
SyncMemGenericWorkload(const MemSyncQueueDescriptor &descriptor, const WorkloadInfo &info)
Contains information about TensorInfos of a layer.