diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2018-09-04 16:28:10 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-09-18 12:40:40 +0100 |
commit | 79250ab173e7dfa2c6057854c0d4b8dafe377fb0 (patch) | |
tree | 7b52e6cf32c30b27440a68efc3cb5733b5ccedfe /1.0/ArmnnDriverImpl.hpp | |
parent | e48bdff741568236d3c0747ad3d18a8eba5b36dd (diff) | |
download | android-nn-driver-79250ab173e7dfa2c6057854c0d4b8dafe377fb0.tar.gz |
IVGCVSW-1806 Restored the fp16 flag left behind during the previous
refactoring
* Split getCapabilities and getCapabilities_1_1 as it was before
* Setting relaxedFloat32toFloat16Performance when using HAL 1.1 as
required by one of the VTS test
Change-Id: Iff883b8cbd0511596e9848fa40e91e4fa58d4260
Diffstat (limited to '1.0/ArmnnDriverImpl.hpp')
-rw-r--r-- | 1.0/ArmnnDriverImpl.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/1.0/ArmnnDriverImpl.hpp b/1.0/ArmnnDriverImpl.hpp new file mode 100644 index 00000000..b44350d8 --- /dev/null +++ b/1.0/ArmnnDriverImpl.hpp @@ -0,0 +1,28 @@ +// +// 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_0 +{ + +class ArmnnDriverImpl +{ +public: + static Return<void> getCapabilities( + const armnn::IRuntimePtr& runtime, + ::android::hardware::neuralnetworks::V1_0::IDevice::getCapabilities_cb cb); +}; + +} // namespace armnn_driver::V1_0 +} // namespace armnn_driver |