Ryan OShea | bab8fa9 | 2022-03-09 10:29:02 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2022 Arm Ltd and Contributors. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include "ClBaseWorkload.hpp" |
| 9 | |
| 10 | #include <arm_compute/runtime/CL/functions/CLPooling3dLayer.h> |
| 11 | |
| 12 | namespace armnn |
| 13 | { |
| 14 | |
| 15 | arm_compute::Status ClPooling3dWorkloadValidate(const TensorInfo& input, |
| 16 | const TensorInfo& output, |
| 17 | const Pooling3dDescriptor& descriptor); |
| 18 | |
| 19 | class ClPooling3dWorkload : public ClBaseWorkload<Pooling3dQueueDescriptor> |
| 20 | { |
| 21 | public: |
| 22 | using BaseWorkload<Pooling3dQueueDescriptor>::m_Data; |
| 23 | |
| 24 | ClPooling3dWorkload(const Pooling3dQueueDescriptor& descriptor, |
| 25 | const WorkloadInfo& info, |
| 26 | const arm_compute::CLCompileContext& clCompileContext); |
| 27 | |
| 28 | void Execute() const override; |
| 29 | |
| 30 | private: |
| 31 | mutable arm_compute::CLPooling3dLayer m_PoolingLayer; |
| 32 | }; |
| 33 | |
| 34 | } //namespace armnn |