aboutsummaryrefslogtreecommitdiff
path: root/test/DriverTestHelpers.cpp
AgeCommit message (Collapse)Author
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-06-09IVGCVSW-4618 'Transition Units Test Suites'Sadik Armagan
* Used doctest in android-nn-driver unit tests. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I9b5d4dfd77d53c7ebee7f8c43628a1d6ff74d1a3
2020-08-31IVGCVSW-4917 Adding Unit test to Android-nn-driver for Hal1.3 QosDavid Monahan
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Ie45464f2b04c8f2bb30ca06ff91b96492f2466b0
2020-05-26IVGCVSW-4850 Create QLSTM unit test in android-nn-driverSadik Armagan
* Added QLSTM unit tests Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ibb7587d8a4fae4a630e7e80f4c3ce830665a7c77
2020-04-27IVGCVSW-4692 HAL 1.3 VTS/NNT, Unit test FailuresSadik Armagan
* Check if the model is prepared. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ia6ea7c5b61a1da97acddddfc5431925cbb4f0227
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-08-22IVGCVSW-3613 Refactoring Android NN driver for QuantisedLstm testEllen Norris-Thompson
* Templated AddPoolAndGetData and AddPoolAndSetData to accept different types * Moved scale and offset to arguments of Add*Operand functions Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> Change-Id: Iaf4c2d5f4183ea54799bedae20950b23b914a727
2019-07-29IVGCVSW-3398 Add LSTM normalization parameters to HAL 1.2Ferran Balaguer
* Adding LSTM processing function in HAL 1.2 with normalization parameters * Refactoring LSTM tests !armnn:1608 Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I0e00f14ef078a333e9f2f23d6278a5d92a3001d6
2019-06-17IVGCVSW-2779 Fix Android Q buildMatteo Martincigh
* Included required functions to the Android Q build by using macro ARMNN_ANDROID_NN_V1_2 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I3ea99ba4bebd85f0e8e69c72a90e1a7def4f9b35
2019-05-08IVGCVSW-2911 Android Q compatibility code updatesSadik Armagan
* Updates on test classes. Change-Id: I52e11a1d97d02c23e0a33e4e128dc43a4a95b5bc Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
2018-09-18IVGCVSW-1806 More Android NN Driver refactoringMatteo Martincigh
* Changed #if defined to #ifdef * Simplified the Android ML namespace resolution * Fixed the relative path in some include directives Change-Id: I46e46faff98559c8042c1a4b8b82007f462df57d
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-08-31Release 18.08telsoa01
2018-07-05Release 18.05.02surmeh01
2018-05-23Release 18.05surmeh01