IVGCVSW-4473 Android R pre Hal 1_3 build changes

* Update ErrorStatus to V1_0::ErrorStatus
* Update Request to V1_0::Request
* Update OperandType to V1_2::OperandType
* Add namespace android::nn::hal in ArmnnDriverImpl for R only
* Add missing g_RelaxedFloat32toFloat16PerformancePowerUsageName
* Add namespace V1_0 or V1_1 where necessary
* Update Android.mk with R macro and android.hardware.neuralnetworks@1.3
* Remove androidnn.go
* include IAllocator in DriverTestHelpers
* Remove unused LOCAL_CFLAGS

Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I1787f1ed6784b3bbec017536d87d49197405e853
Signed-off-by: Kevin May <kevin.may@arm.com>
37 files changed
tree: ac4e2d3194012e08241afa9c6691d52608c1a869
  1. 1.0/
  2. 1.1/
  3. 1.2/
  4. docs/
  5. test/
  6. .gitignore
  7. Android.bp
  8. android.hardware.neuralnetworks@1.0-service-armnn.rc
  9. android.hardware.neuralnetworks@1.1-service-armnn.rc
  10. android.hardware.neuralnetworks@1.2-service-armnn.rc
  11. Android.mk
  12. ArmnnDevice.cpp
  13. ArmnnDevice.hpp
  14. ArmnnDriver.hpp
  15. ArmnnDriverImpl.cpp
  16. ArmnnDriverImpl.hpp
  17. ArmnnPreparedModel.cpp
  18. ArmnnPreparedModel.hpp
  19. ArmnnPreparedModel_1_2.cpp
  20. ArmnnPreparedModel_1_2.hpp
  21. ConversionUtils.cpp
  22. ConversionUtils.hpp
  23. DriverOptions.cpp
  24. DriverOptions.hpp
  25. LICENSE
  26. ModelToINetworkConverter.cpp
  27. ModelToINetworkConverter.hpp
  28. NnapiSupport.txt
  29. README.md
  30. RequestThread.cpp
  31. RequestThread.hpp
  32. service.cpp
  33. setup.sh
  34. SystemPropertiesUtils.hpp
  35. Utils.cpp
  36. Utils.hpp
README.md

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.

For more information about supported operations and configurations, see NnapiSupport.txt

For documentation about integrating this driver into an Android tree, see Integrator Guide

For FAQs and troubleshooting advice, see FAQ.md

License

The android-nn-driver is provided under the MIT license. See LICENSE for more information. Contributions to this project are accepted under the same license.

Individual files contain the following tag instead of the full license text.

SPDX-License-Identifier: MIT

This enables machine processing of license information based on the SPDX License Identifiers that are available here: http://spdx.org/licenses/