blob: a7b464e7198e61b17180655ebe6fa88640f1eb34 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#pragma once
7
Aron Virginas-Tarc9cc8042018-11-01 16:15:57 +00008#include <backendsCommon/Workload.hpp>
Matthew Bentham14e46692018-09-20 15:35:30 +01009
10#include <arm_compute/runtime/CL/CLFunctions.h>
telsoa014fcda012018-03-09 14:13:49 +000011
12namespace armnn
13{
14
Nattapat Chaimanowonga76698c2018-10-11 10:29:15 +010015class ClReshapeWorkload : public BaseWorkload<ReshapeQueueDescriptor>
telsoa014fcda012018-03-09 14:13:49 +000016{
17public:
Nattapat Chaimanowonga76698c2018-10-11 10:29:15 +010018 ClReshapeWorkload(const ReshapeQueueDescriptor& descriptor, const WorkloadInfo& info);
telsoa014fcda012018-03-09 14:13:49 +000019
20 void Execute() const override;
21
22private:
23 mutable arm_compute::CLReshapeLayer m_Layer;
24};
25
26} //namespace armnn