aboutsummaryrefslogtreecommitdiff
path: root/DriverOptions.cpp
AgeCommit message (Collapse)Author
2023-04-14Update cxxopts from 3.0 to 3.1.1Jim Flynn
!armnn:9430 Signed-off-by: Jim Flynn <jim.flynn@arm.com> Change-Id: Ib0dd3df4697ad5adcf48d790e74bb7eef10dbf9c
2022-04-29IVGCVSW-6838 Disable Import/Export by default in the Android-NN-DriverDavid Monahan
Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: If873ed691e1878e8b0c1dc52717b4418a178c72f
2022-02-21IVGCVSW-6700 Enable Import by defaultDavid Monahan
!armnn:7173 Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: I642734b414a785f831e1a825790a78ee5078950f
2022-02-16Revert "Revert "IVGCVSW-6700 Enable import aligned host memory in ↵Narumol Prangnawarat
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>
2021-10-14IVGCVSW-6428 Remove assertsMike Kelly
* Changed asserts to check for errors and return appropriate values or throw exceptions * Changed unit tests to use Doctest's long macro names as the short macro names clashed with Android's Logging macros * Removed unused #includes * Clarified ambiguous #includes Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ice92a37590df727fd581d3be5ff2716665f26a13
2021-05-26IVGCVSW-5781 Add Async Support to Android-NN-DriverFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I1f13d04100fdb119495b9e3054425bf3babc59f1
2021-02-16IVGCVSW-5686 Add GpuAcc MLGO tuning file configuration argument to nnapiFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I15ca7db703065b0c70766a18b1a9a213834f39e0
2021-02-12IVGCVSW-5685 Add CpuAcc specific configuration option numberOfThreadsMatthew Sloyan
* Added --number-of-threads command line option to android-nn-driver !armnn:5068 Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I248326bf3c0355a7a17b70cb1aac7b7976820c12
2021-01-11IVGCVSW-5485 'Add CacheLoadedNetwork options to Android NN Driver'Sadik Armagan
* Added Flatbuffers dependency to android-nn-driver * Added CacheLoadedNetwork options to android-nn-driver Options will be android.hardware.neuralnetworks@1.3-service-armnn -v -c GpuAcc -n arm-armnn -s -q <file_path> & Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I2cdf0b84062cb1c6ad4346cd64b00161cfe85920
2020-10-21IVGCVSW-5445 Fix for Android-NN-Driver cmd line parametersMike Kelly
* If the Android-NN-Driver encounters unexpected or unknown parameters it will exit after displaying the application help text. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I47c66ccc4768b6cd5ffc4cc79de0e9b61bcc18c2
2020-10-13IVGCVSW-5335 Documentation for fast_mathMike Kelly
* Changed documentation for fast_math to add warning about possibly reduction in precision. * Added -h,--help option to display command line help for the driver. * Added -V,--version option to display ArmNN version information for the driver. * Changed driver to display an error and the command line help if it cannot start for any reason. * Backend no longer defaults to GpuAcc. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I270b10ec9d485fd25e25680fc29ea1fc2b0e8e1d
2020-10-08IVGCVSW-5278 Fixing an error in the definition of fp16-enabled parameter.Colm Donelan
* Swap the order of short and long parameter definition for fp16-enabled. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: If36af5b840739a97baaa9fc56476a05815792862
2020-10-07IVGCVSW-5278 Switch Android-nn-driver/DriverOptions.cpp over to cxxoptsColm Donelan
* Add armnn/third-party to LOCAL_C_INCLUDES in Android.mk. * Update DriverOptions.cpp to use cxxopts instead of Boost:program_options Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I54c080e3b01f128c05d73ed5b7b76e5e64bd63ac
2020-09-30MLCE-233 Added ability to enable fast_math through the NNAPI driverMike Kelly
* Added -a command line option to enable fast_math on Neon/CL when launching the NNAPI driver * The invocation will look something like: /vendor/bin/hw/android.hardware.neuralnetworks@1.3-service-armnn -v -c GpuAcc -n arm-armnn -a * Enabling fast_math may cause an increase in VTS or CTS test failures due to a change in precision Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ifd8931f95efd65d3ae3aca9d9d61bd381e4e24a5
2020-05-15IVGCVSW-4837 Add driver service name command line optionKevin May
* revert commit 8a510e8e9ed22ec0bbd295b69a6700ad0ba7cfd8 * Add driver option to give service a name, default to "armnn" Change-Id: I9755206494f637bee4c8299bf6370fc4731638c8 Signed-off-by: Kevin May <kevin.may@arm.com>
2019-05-03IVGCVSW-3014 Check supported backends from runtime divice specNarumol Prangnawarat
!armnn:1070 Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: If0f411f2232e856ebc4f1a4c10fa626e3277a6ab
2019-04-30IVGCVSW-2773 Integrate new CL tuner into ArmNNRuomei Yan
!armnn:1037 Change-Id: Ice9c0fba405859d97aa848daa67c609166f2a8dc Signed-off-by: Ruomei Yan <ruomei.yan@arm.com>
2019-04-04IVGCVSW-2886 Support multiple backends in Android driverNattapat Chaimanowong
Change-Id: I4abe1f750801911570b6dc65c187b828c5929b5f Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
2018-09-18IVGCVSW-1713 Create a minimum unit test to compare the resultsNikhil Raj
before and after passing the FP16 flag in the Android-nn-driver Change-Id: If8d4ca12421c3bee2526eec98f11d393af822373
2018-09-18IVGCVSW-1807: change license text in file headersDavid Beck
All changes are the same: // // Copyright © 2017 ARM Ltd. All rights reserved. -// See LICENSE file in the project root for full license information. +// SPDX-License-Identifier: MIT // Change-Id: Ibb7ed1e4e2191b9a978e26b5bacf916db403a60e
2018-09-11Release 18.08.01surmeh01
2018-08-31Release 18.08telsoa01