James Conroy | d2aa85e | 2019-07-01 17:12:40 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <armnn/Descriptors.hpp> |
| 9 | |
| 10 | #include <backendsCommon/Workload.hpp> |
| 11 | #include <arm_compute/runtime/CL/functions/CLSpaceToDepthLayer.h> |
| 12 | |
| 13 | namespace armnn |
| 14 | { |
| 15 | arm_compute::Status ClSpaceToDepthWorkloadValidate(const TensorInfo& input, |
| 16 | const TensorInfo& output, |
Keith Davis | bcd860a | 2021-08-05 14:20:33 +0100 | [diff] [blame] | 17 | const SpaceToDepthDescriptor& descriptor); |
James Conroy | d2aa85e | 2019-07-01 17:12:40 +0100 | [diff] [blame] | 18 | |
| 19 | class ClSpaceToDepthWorkload : public BaseWorkload<SpaceToDepthQueueDescriptor> |
| 20 | { |
| 21 | public: |
Sadik Armagan | e944475 | 2020-12-02 11:28:58 +0000 | [diff] [blame] | 22 | ClSpaceToDepthWorkload(const SpaceToDepthQueueDescriptor& descriptor, |
| 23 | const WorkloadInfo& info, |
| 24 | const arm_compute::CLCompileContext& clCompileContext); |
James Conroy | d2aa85e | 2019-07-01 17:12:40 +0100 | [diff] [blame] | 25 | void Execute() const override; |
| 26 | |
| 27 | private: |
| 28 | mutable arm_compute::CLSpaceToDepthLayer m_Layer; |
| 29 | }; |
| 30 | |
| 31 | } //namespace armnn |