Mike Kelly | b5fdf38 | 2019-06-11 16:35:25 +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 <HalInterfaces.h> |
| 9 | |
| 10 | #include "../DriverOptions.hpp" |
| 11 | |
| 12 | #include <armnn/ArmNN.hpp> |
| 13 | |
| 14 | namespace armnn_driver |
| 15 | { |
| 16 | namespace hal_1_2 |
| 17 | { |
| 18 | |
| 19 | class ArmnnDriverImpl |
| 20 | { |
| 21 | public: |
| 22 | static Return<ErrorStatus> prepareArmnnModel_1_2(const armnn::IRuntimePtr& runtime, |
| 23 | const armnn::IGpuAccTunedParametersPtr& clTunedParameters, |
| 24 | const DriverOptions& options, |
| 25 | const V1_2::Model& model, |
| 26 | const android::sp<V1_2::IPreparedModelCallback>& cb, |
| 27 | bool float32ToFloat16 = false); |
| 28 | |
| 29 | static Return<void> getCapabilities_1_2(const armnn::IRuntimePtr& runtime, |
| 30 | V1_2::IDevice::getCapabilities_1_2_cb cb); |
| 31 | }; |
| 32 | |
| 33 | } // namespace hal_1_2 |
| 34 | } // namespace armnn_driver |