aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-05-21 12:17:10 +0100
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-05-22 17:05:35 +0100
commit352d508ba055f31bea230b2e32ffbd0b3ea7330f (patch)
tree4b070b236ba5478a60b5667ab8b343438cda0f35
parent24af8b29c578b8819663a4bdc0828323123c2718 (diff)
downloadandroid-nn-driver-352d508ba055f31bea230b2e32ffbd0b3ea7330f.tar.gz
IVGCVSW-4792 Update android-nn-driver README and IntegratorGuide
* Add android.hardware.neuralnetworks@1.3 HAL Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9cdf3e8c6e43570918533ba759f8b969cf2214a7
-rw-r--r--README.md4
-rw-r--r--docs/IntegratorGuide.md10
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
</pre> `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:
+<pre>
+PRODUCT_PACKAGES += android.hardware.neuralnetworks@1.3-service-armnn
+</pre>
+`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`:
<pre>
@@ -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
<hal format="hidl">
<name>android.hardware.neuralnetworks</name>
@@ -69,7 +77,7 @@ For example, if the ArmNN driver has been built with the NN API 1.0, check for t
<ANDROID_ROOT>/out/target/product/<product>/system/vendor/bin/hw/android.hardware.neuralnetworks@1.0-service-armnn
</pre>
-Android Q has a different path:
+Android Q and later has a different path:
<pre>
<ANDROID_ROOT>/out/target/product/<product>/vendor/bin/hw
</pre>