diff options
Diffstat (limited to 'src/backends/cl/workloads/ClDepthToSpaceWorkload.hpp')
-rw-r--r-- | src/backends/cl/workloads/ClDepthToSpaceWorkload.hpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/backends/cl/workloads/ClDepthToSpaceWorkload.hpp b/src/backends/cl/workloads/ClDepthToSpaceWorkload.hpp new file mode 100644 index 0000000000..de8b496669 --- /dev/null +++ b/src/backends/cl/workloads/ClDepthToSpaceWorkload.hpp @@ -0,0 +1,31 @@ +// +// Copyright © 2019 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +#include <armnn/Descriptors.hpp> + +#include <backendsCommon/Workload.hpp> + +#include <arm_compute/runtime/CL/functions/CLDepthToSpaceLayer.h> + +namespace armnn +{ + +arm_compute::Status ClDepthToSpaceWorkloadValidate(const TensorInfo& input, + const TensorInfo& output, + const DepthToSpaceDescriptor& desc); + +class ClDepthToSpaceWorkload : public BaseWorkload<DepthToSpaceQueueDescriptor> +{ +public: + ClDepthToSpaceWorkload(const DepthToSpaceQueueDescriptor& descriptor, const WorkloadInfo& info); + void Execute() const override; + +private: + mutable arm_compute::CLDepthToSpaceLayer m_Layer; +}; + +} // namespace armnn |