From 4a8cbd29cd5beb35a6b96c11ba097f90965154cf Mon Sep 17 00:00:00 2001 From: Narumol Prangnawarat Date: Thu, 21 May 2020 12:17:10 +0100 Subject: IVGCVSW-4792 Update android-nn-driver README and IntegratorGuide * Add android.hardware.neuralnetworks@1.3 HAL Signed-off-by: Narumol Prangnawarat Change-Id: I9cdf3e8c6e43570918533ba759f8b969cf2214a7 --- README.md | 4 +++- docs/IntegratorGuide.md | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed919ffb..4edafde3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # ArmNN Android Neural Networks driver -This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0, android.hardware.neuralnetworks@1.1 and android.hardware.neuralnetworks@1.2 HALs. +This directory contains the ArmNN driver for the Android Neural Networks API, implementing the android.hardware.neuralnetworks@1.0, android.hardware.neuralnetworks@1.1, android.hardware.neuralnetworks@1.2 and android.hardware.neuralnetworks@1.3 HALs. + +Please Note: ArmNN Neural Networks driver does not currently support Mali OpenCL driver for android.hardware.neuralnetworks@1.3 HAL. For more information about supported operations and configurations, see [NnapiSupport.txt](NnapiSupport.txt) diff --git a/docs/IntegratorGuide.md b/docs/IntegratorGuide.md index 8200d811..aca36aca 100644 --- a/docs/IntegratorGuide.md +++ b/docs/IntegratorGuide.md @@ -36,6 +36,13 @@ 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 all three versions (1.0, 1.1 and 1.2) of the ArmNN driver. +For android.hardware.neuralnetworks@1.3 HAL, +thus the following should be added to `device.mk` instead: +
+PRODUCT_PACKAGES += android.hardware.neuralnetworks@1.3-service-armnn
+
+`Android.mk` contains the module definition of all versions (1.0, 1.1, 1.2 and 1.3) of the ArmNN driver. + Similarly, the Neon, CL or reference backend can be enabled/disabled by setting ARMNN_COMPUTE_CL_ENABLE, ARMNN_COMPUTE_NEON_ENABLE or ARMNN_REF_ENABLE in `device.mk`:
@@ -44,6 +51,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.
+For pre-release support of HAL version 1.3, substitute 1.3 where necessary.
 ```xml
 
     android.hardware.neuralnetworks
@@ -69,7 +77,7 @@ For example, if the ArmNN driver has been built with the NN API 1.0, check for t
 /out/target/product//system/vendor/bin/hw/android.hardware.neuralnetworks@1.0-service-armnn
 
-Android Q has a different path: +Android Q and later has a different path:
 /out/target/product//vendor/bin/hw
 
-- cgit v1.2.1