commit | 18c9af7c7062a17a7eca8c58d1260896d165bc0a | [log] [tgz] |
---|---|---|
author | Francis Murtagh <francis.murtagh@arm.com> | Fri Aug 24 15:44:53 2018 +0100 |
committer | Matthew Bentham <matthew.bentham@arm.com> | Tue Sep 18 12:39:55 2018 +0100 |
tree | 8a331b401ad687e417e00f0dad34f513fbcb8bcd | |
parent | 205bb9907cbe74b696a6ef77a090206c1626c1f3 [diff] |
IVGCVSW-1513 - added utility method to android-nn-driver to print JSON profiling output to a file If profiling enabled and dump directory specified, re-test needed to ensure flags are used correctly * Minor formatting changes. * Added check for runtime null pointer. Change-Id: I1e7e433a958c16c7d9b59a484b18a7902c1ad8ad
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: