David Monahan | 8a57046 | 2023-11-22 13:24:25 +0000 | [diff] [blame] | 1 | // |
David Monahan | bd73808 | 2023-12-08 12:50:02 +0000 | [diff] [blame] | 2 | // Copyright © 2023-2024 Arm Ltd and Contributors. All rights reserved. |
David Monahan | 8a57046 | 2023-11-22 13:24:25 +0000 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | #pragma once |
| 6 | |
| 7 | #include <armnn/Descriptors.hpp> |
| 8 | #include <armnn/Tensor.hpp> |
| 9 | |
| 10 | #include <arm_compute/core/Error.h> |
| 11 | #include <arm_compute/dynamic_fusion/sketch/gpu/GpuWorkloadSketch.h> |
David Monahan | bd73808 | 2023-12-08 12:50:02 +0000 | [diff] [blame] | 12 | #include <gpuFsa/GpuFsaBackend.hpp> |
David Monahan | 8a57046 | 2023-11-22 13:24:25 +0000 | [diff] [blame] | 13 | |
| 14 | namespace armnn |
| 15 | { |
| 16 | |
| 17 | using namespace arm_compute::experimental::dynamic_fusion; |
| 18 | |
| 19 | arm_compute::Status GpuFsaConvolution2dValidate(const TensorInfo& input, |
| 20 | const Convolution2dDescriptor& descriptor, |
| 21 | const TensorInfo& weights, |
| 22 | const Optional<TensorInfo>& biases); |
| 23 | |
David Monahan | bd73808 | 2023-12-08 12:50:02 +0000 | [diff] [blame] | 24 | void GpuFsaConvolution2dCreateOp(GpuFsaPreCompiledBlob* blob, |
| 25 | const TensorInfo& input, |
David Monahan | 8a57046 | 2023-11-22 13:24:25 +0000 | [diff] [blame] | 26 | const Convolution2dDescriptor& descriptor, |
| 27 | const TensorInfo& weights, |
| 28 | const Optional<TensorInfo>& biases); |
| 29 | |
David Monahan | bd73808 | 2023-12-08 12:50:02 +0000 | [diff] [blame] | 30 | } // namespace armnn |