v22.02
Revert "Revert "IVGCVSW-6700 Enable import aligned host memory in android-nn-driver""

This reverts commit 8069603dc44b7673b356f66517cd8b25af8080f0.

 * Reason for revert: Try reenable import aligned host memory in android-nn-driver
 * Added a check to ArmNNDriverImpl.cpp to not call ExecuteWithDummyInputs with GpuAcc
 * Added new android-nn-driver driver options to enable / disable Import and Export
 * Import is disabled by default for now due to conv2d issues
 * Export is enabled by default

!armnn:7147

Change-Id: I91110c58ebb3931d1c458e3774944e55c1250dd8
Signed-off-by: David Monahan <David.Monahan@arm.com>
13 files changed
tree: 17ad41e29935a657c5025485173b4ded85c4a47c
  1. .gitignore
  2. 1.0/
  3. 1.1/
  4. 1.2/
  5. 1.3/
  6. Android.bp
  7. Android.mk
  8. ArmnnDevice.cpp
  9. ArmnnDevice.hpp
  10. ArmnnDriver.hpp
  11. ArmnnDriverImpl.cpp
  12. ArmnnDriverImpl.hpp
  13. ArmnnPreparedModel.cpp
  14. ArmnnPreparedModel.hpp
  15. ArmnnPreparedModel_1_2.cpp
  16. ArmnnPreparedModel_1_2.hpp
  17. ArmnnPreparedModel_1_3.cpp
  18. ArmnnPreparedModel_1_3.hpp
  19. CacheDataHandler.cpp
  20. CacheDataHandler.hpp
  21. ConversionUtils.cpp
  22. ConversionUtils.hpp
  23. ConversionUtils_1_2.hpp
  24. ConversionUtils_1_3.hpp
  25. DriverOptions.cpp
  26. DriverOptions.hpp
  27. LICENSE
  28. ModelToINetworkConverter.cpp
  29. ModelToINetworkConverter.hpp
  30. NnapiSupport.txt
  31. README.md
  32. RequestThread.cpp
  33. RequestThread.hpp
  34. RequestThread_1_3.cpp
  35. RequestThread_1_3.hpp
  36. SECURITY.md
  37. SystemPropertiesUtils.hpp
  38. Utils.cpp
  39. Utils.hpp
  40. android.hardware.neuralnetworks@1.0-service-armnn.rc
  41. android.hardware.neuralnetworks@1.1-service-armnn.rc
  42. android.hardware.neuralnetworks@1.2-service-armnn.rc
  43. android.hardware.neuralnetworks@1.3-service-armnn.rc
  44. docs/
  45. service.cpp
  46. setup.sh
  47. test/
README.md

Arm NN Android Neural Networks driver

This directory contains the Arm NN 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.

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/