aboutsummaryrefslogtreecommitdiff
path: root/ArmnnPreparedModel.hpp
AgeCommit message (Collapse)Author
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-07-12IVGCVSW-6062 update ArmnnPreparedModels to have a single static instance of ↵Finn Williams
the threadpool Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Ie350a11eab5d677dd6a5571ea4094aa51b23c501
2021-06-23IVGCVSW-6062 Rework the async threadpoolFinn Williams
!armnn:5801 Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I9964d0899ce752441f380edddbd974010257b2dd
2021-05-26IVGCVSW-5781 Add Async Support to Android-NN-DriverFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I1f13d04100fdb119495b9e3054425bf3babc59f1
2020-03-18Less code duplication in HAL 1.2Derek Lamberti
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com> Change-Id: Ic2e8964745a4323efb1e06d466c0699f17a70c55
2020-03-03IVGCVSW-4473 Android R pre Hal 1_3 build changesKevin May
* 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>
2019-07-22IVGCVSW-3463 Fix Hal 1.2 Dynamic Output Shape VTS test failuresMike Kelly
*Updating ArmnnPreparedModel_1_2 to work with output shapes and timing. Change-Id: I06c4ecaf1e2c36ef77a0731ece4885fc3997cd3b Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Mike Kelly <mike.kelly@arm.com>
2019-06-11IVGCVSW-3181 Add HAL 1.2 support to android-nn-driverMike Kelly
* Updated Android.mk to build HAL 1.2 driver * Added 1.2 HalPolicy and ArmnnDriver * Added 1.2 ArmnnPreparedModel * Updated converters and utilities to accept new HAL 1.2 operands and operand types. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I62856deab24e106f72cccce09468db4971756fa6
2019-05-07IVGCVSW-2911 Work towards compatibility with QMatthew Bentham
Explicitly use HAL V1_0 Operand, OperandType, and IPreparedModelCallback Change-Id: If6aa6e9dc1bd0b7673ec247ac3560e7f072ef699 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-04-02MLCE-110 Propagate error from armnn EnqueueWorkloadMatthew Bentham
Change-Id: Ic53b1cdbdd3a7d656932651c74911940affc09b6 Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2018-09-18IVGCVSW-1806: Refactor Android-NN-Driver ModelToINetworkConverterarovir01
* Moved conversion logic into new V1_0 and V1_1 HalPolicy classes * Extracted common helper functions into ConversionUtils class Change-Id: I1ab50edc266dd528c0cb22a5cd1aa65e103674d9
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-18IVGCVSW-1806 Refactored Android-NN-Driver, added common "getCapabilities",Matteo Martincigh
"getSupportedOperations" and "prepareModel" implementations * Added common base ArmnnDriverImpl class * Added common template implementation of the driver's "getCapabilities", "getSupportedOperations" and "prepareModel" methods * Refactored ArmnnPreparedModel and RequestThread to support HAL v1.1 models * Moved "getStatus" to the common base class, as it is shared by both HAL implementations * Refactored the code where necessary Change-Id: I747334730026d63b4002662523fb93608f67c899
2018-08-31Release 18.08telsoa01
2018-07-05Release 18.05.02surmeh01
2018-03-09Release 18.02telsoa01
Change-Id: I41a89c149534a7c354a58e2c66a32cba572fc0c1