aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2019-08-21 15:03:44 +0100
committerSadik Armagan <sadik.armagan@arm.com>2019-08-21 15:54:04 +0000
commit1ba9989c4d4fe152d2cb02c83c2da1c18b6aaf37 (patch)
tree140bb785a4481eab7e1fda62bba4b663ea6c63eb /README.md
parent5eb5f1f8e6ae4d8efbd2c57572f2aa5c4e8805f4 (diff)
downloadandroid-nn-driver-1ba9989c4d4fe152d2cb02c83c2da1c18b6aaf37.tar.gz
IVGCVSW-3512 Update NNAPISupport.txt for 19.08
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ie222e046f2fe832ad48d4b2279c8815f860f76d5
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index 99c7a25b..10adc17a 100644
--- a/README.md
+++ b/README.md
@@ -9,10 +9,9 @@ For more information about supported operations and configurations, see NnapiSup
### Prerequisites
1. Android source tree for Android P FSK-R3 or later, in the directory `<ANDROID_ROOT>`
+1. Android source tree for Android Q FSK-2 or later, in the directory `<ANDROID_ROOT>`
2. Mali OpenCL driver integrated into the Android source tree
-Please Note: ArmNN Neural Networks driver does not currently support Mali OpenCL driver for Android Q.
-
### Procedure
1. Place this source directory at `<ANDROID_ROOT>/vendor/arm/android-nn-driver`
@@ -34,6 +33,12 @@ thus the following should be added to `device.mk` instead:
PRODUCT_PACKAGES += android.hardware.neuralnetworks@1.1-service-armnn
</pre> `Android.mk` contains the module definition of both versions of the ArmNN driver.
+For Android Q, a new version of the NN API is available (1.2),
+thus the following should be added to `device.mk` instead:
+<pre>
+PRODUCT_PACKAGES += android.hardware.neuralnetworks@1.2-service-armnn
+</pre> `Android.mk` contains the module definition of both versions of the ArmNN driver.
+
Similarly, the Neon or CL backend can be enabled/disabled by setting ARMNN_COMPUTE_CL_ENABLE or
ARMNN_COMPUTE_NEON_ENABLE in `device.mk`:
<pre>
@@ -41,6 +46,7 @@ ARMNN_COMPUTE_CL_ENABLE := 1
</pre>
For Android P and Android Q the vendor manifest.xml requires the Neural Network HAL information.
+For Android P use HAL version 1.1 as below. For Android Q substitute 1.2 where necessary.
```xml
<hal format="hidl">
<name>android.hardware.neuralnetworks</name>