diff options
author | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:31:35 +0100 |
---|---|---|
committer | telsoa01 <telmo.soares@arm.com> | 2018-08-31 09:31:35 +0100 |
commit | ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94 (patch) | |
tree | 77a769e27879fb712027c990071b061c5e0e3b60 /1.1/ArmnnDriverImpl.hpp | |
parent | deb3bdbe028a59da0759dd7a560387d03a11d322 (diff) | |
download | android-nn-driver-ce3e84a8d449cbf31cee57e30f0eef6a96c0ce94.tar.gz |
Release 18.08
Diffstat (limited to '1.1/ArmnnDriverImpl.hpp')
-rw-r--r-- | 1.1/ArmnnDriverImpl.hpp | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/1.1/ArmnnDriverImpl.hpp b/1.1/ArmnnDriverImpl.hpp new file mode 100644 index 00000000..307d96bf --- /dev/null +++ b/1.1/ArmnnDriverImpl.hpp @@ -0,0 +1,39 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// See LICENSE file in the project root for full license information. +// + +#pragma once + +#include <HalInterfaces.h> + +#include "DriverOptions.hpp" + +#include <armnn/ArmNN.hpp> + +namespace armnn_driver +{ +namespace V1_1 +{ + +class ArmnnDriverImpl +{ +public: + static Return<void> getCapabilities_1_1( + const armnn::IRuntimePtr& runtime, + ::android::hardware::neuralnetworks::V1_1::IDevice::getCapabilities_1_1_cb cb); + static Return<void> getSupportedOperations_1_1( + const armnn::IRuntimePtr& runtime, + const DriverOptions& options, + const ::android::hardware::neuralnetworks::V1_1::Model& model, + ::android::hardware::neuralnetworks::V1_1::IDevice::getSupportedOperations_1_1_cb cb); + static Return<ErrorStatus> prepareModel_1_1( + const armnn::IRuntimePtr& runtime, + const armnn::IGpuAccTunedParametersPtr& clTunedParameters, + const DriverOptions& options, + const ::android::hardware::neuralnetworks::V1_1::Model& model, + const android::sp<IPreparedModelCallback>& cb); +}; + +} // namespace armnn_driver::V1_1 +} // namespace armnn_driver |