From 1ba9989c4d4fe152d2cb02c83c2da1c18b6aaf37 Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Wed, 21 Aug 2019 15:03:44 +0100 Subject: IVGCVSW-3512 Update NNAPISupport.txt for 19.08 Signed-off-by: Sadik Armagan Change-Id: Ie222e046f2fe832ad48d4b2279c8815f860f76d5 --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'README.md') 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 `` +1. Android source tree for Android Q FSK-2 or later, in the directory `` 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 `/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 `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: +
+PRODUCT_PACKAGES += android.hardware.neuralnetworks@1.2-service-armnn
+
`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`:
@@ -41,6 +46,7 @@ ARMNN_COMPUTE_CL_ENABLE := 1
 
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 android.hardware.neuralnetworks -- cgit v1.2.1