commit | 79250ab173e7dfa2c6057854c0d4b8dafe377fb0 | [log] [tgz] |
---|---|---|
author | Matteo Martincigh <matteo.martincigh@arm.com> | Tue Sep 04 16:28:10 2018 +0100 |
committer | Matthew Bentham <matthew.bentham@arm.com> | Tue Sep 18 12:40:40 2018 +0100 |
tree | 7b52e6cf32c30b27440a68efc3cb5733b5ccedfe | |
parent | e48bdff741568236d3c0747ad3d18a8eba5b36dd [diff] |
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
This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0 HAL and android.hardware.neuralnetworks@1.1 HAL.
For more information about supported operations and configurations, see NnapiSupport.txt
<ANDROID_ROOT>
<ANDROID_ROOT>/vendor/arm/android-nn-driver
system/vendor/bin/hw
directory in the Android image. To update the build environment, add to the contents of the variable PRODUCT_PACKAGES
within the device-specific makefile that is located in the <ANDROID_ROOT>/device/<manufacturer>/<product>
directory. This file is normally called device.mk
:For Android O or Android P, using NN API version (1.0), the following should be added to device.mk
:
For Android P, a new version of the NN API is available (1.1), thus the following should be added to device.mk
instead:
make
in <ANDROID_ROOT>
For example, if the ArmNN driver has been built with the NN API 1.0, check for the following file:
Please Note: Android O is only compatible with NN API version 1.0.
NeuralNetworksTest
unit tests (note this is an optional component that must be built).ArmnnDriver
tag.The GPU tuner is a feature of the Compute Library that finds optimum values for GPU acceleration tuning parameters. The recommended way of using it with ArmNN is to generate the tuning data during development of the Android image for a device, and use it in read-only mode during normal operation: