aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-15IVGCVSW-6960 Device not found running MLTS with Support Libraryexperimental/armnn_shim_slCathal Corbett
* Enabling logcat prints to show the backend MLTS is running on. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I1668cbc34fac9d6e09e91257bba4855c1d94c65c
2022-06-14IVGCVSW-6956 'Use utility function to convert Pointer Memory to Memory Pool ↵Sadik Armagan
where necessary' Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Id9f8e6b3063a6a1748cceb5b9c5f802b0a757b5c
2022-06-14IVGCVSW-6966 Add build folder vars for SL build processKevin May
* Use cmake flags to indicate armnn build and aosp modules folders Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I8afa94734823ba3f855941d4462be45677d41f46
2022-06-10IVGCVSW-6872 SLTS Failures and GpuAcc takes too long to completeCathal Corbett
* Fix memory issue by calling UnloadNetwork() in destructor of ArmnnPreparedModel. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I255a50f2bf0bfcc8eedf1ad34cea9249a046bce8
2022-06-08IVGCVSW-6986 SLTS Failures due to Caching commitsCathal Corbett
* TestGenerated/GeneratedTests.Sync/argmax_1 fix. * TestGenerated/GeneratedTests.Sync/conv2d_quant8_signed_nchw_quant8_signed_5 fix. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I47893713d615e75e9f9bd08e5caf13a4542bca07
2022-05-17IVGCVSW-6758 Build libcrypto as a static libraryKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I0201324cf060ee52cef07077e3ed8e31e7fd4c2d
2022-05-09IVGCVSW-6730 Fix Caching in Support LibraryKevin May
* This currently works with the shim and sl. * Vts tests pass where once they skipped (tested locally) Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ib446a7231cec3919e80c2b8f98ea29d15e7aca00
2022-05-05IVGCVSW-6758 Update SL AOSP repos to use SHA's from master 25/03/22Kevin May
* Add new SHA's from master 25/03/2 to clone script * Fix changed AOSP paths in CMakelists * Add new aosp/external dependencies in CMakeLists * Update functions with FL8 parameters hints and extensionNameAndPrefix * Update sharedHandle which changed from having pointer * Fix broken NeuralNetwork patch after pulling on aosp master Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I5e4b773b87591cec0347c3d739bce9858baed39f
2022-04-21IVGCVSW-6755 Integrate DriverOptions to arm-armnn-slColm Donelan
* Modify DriverOptions to parse an environment variable. * Update support library service to use the new driver options. * Added minimal README file to describe usage. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Ifc2847a32bf8009c61df4465accd1b1df31f45db
2022-04-15IVGCVSW-6770 Build arm-armnn-sl and armnn into shared objectColm Donelan
* Add a OBJECT library of the serializer. * Make armnnUtils an OBJECT library. * Modify arm-armnn-sl to OBJECT use libraries of armnnUtils and the serializer. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Ib123ffbd36daf7270d51be7e1124aab56cdad243
2022-04-04IVGCVSW-6754 Integrate Import Host Memory to arm-armnn-slFinn Williams
Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: I1d465725e56f61034cb2425157bb594b4ceab9fa
2022-03-09Add patch to support mapping ashmem and fix error handlingFinn Williams
Signed-off-by: Kevin May <kevin.may@arm.com> Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: I8ff912691c4d197d398c22c3e08288d0d0fd7e0a
2022-03-02Typo in GuideKevin May
* Only file changed is shim/BuildGuideShimSupportLibrary.md * All other files are merge squash from Arm NN 22.02 Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Id82a6e9ac8abf74c1073c08744712f50e98dece0
2022-02-11IVGCVSW-6226 Arm NN Shim Service and Support LibraryKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I542b4c4c7b0592f5153ab3d10141bed4e8f169cd
2022-02-10Renaming MockBackend in OptimizerTests to avoid namespace clash.Colm Donelan
Change-Id: I3f5dfb0d84d841eec30bb2b6ad9593024f3a39f1 Signed-off-by: Colm Donelan <colm.donelan@arm.com>
2022-02-09IVGCVSW-6399 Remove deprecated code 22.02Francis Murtagh
* Remove LayerSupport.hpp which was replaced with ILayerSupport interface and the BackendHelper.hpp GetILayerSupportByBackendId() function * Fix bug in backend helper where value of Optional was passed even if Optional had no value. Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: I03f1f693abe927a14c1942ef7e21edccc8357b35
2022-02-09Fix some build failuresRob Hughes
* Add ARMNN_DLLEXPORT to static symbol that needs to be exported from armnn * Add missing <numeric> header for std::iota Change-Id: Ica0211ed0065e9723bcb8e9dff511acb4ea50288 Signed-off-by: Rob Hughes <robert.hughes@arm.com>
2022-02-08IVGCVSW-6700 Fix segfaultDavid Monahan
* Update how we are setting the m_InputWorkloadSlotPairs to properly identify inputs Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: I6d36f6d2bfdd42ade22c34e215f0d18b02702207
2022-02-08Handle optional biases better in Neon/Cl FullyConnected workloadsMatthew Bentham
Use armnn::Optional for optional bias TensorInfos, similar to how it's already done in Convolution etc. Fixes some test failures found using -fsanitize=undefined Change-Id: I7b887e63e2ffab14aeab14415069be738d938ebb Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2022-02-07IVGCVSW-6635 Move MemCopyTestImpl from acl to armnnTestUtils.Colm Donelan
* Move MemCopyTestImpl.hpp from src/backends/aclCommon/test/ to include/armnnTestutils. * Refactor MemCopyTests in aclCommon, cl and Neon. * Introduce RefMemCopyTests to exercise this utility in x86 builds. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I8824f013d3656658ed0a2904bb79384e3af68641
2022-02-07IVGCVSW-6698 EndToEnd tests on ref to ensure allocated data can be reusedDavid Monahan
Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: I2cda579d18be765fbc2783d9fd80ff8e5372a8a8
2022-02-07IVGCVSW-6711 Async Execute Test fails on 32bit raspiRyan OShea
* Replace memory area with vals in tensor creation Signed-off-by: Ryan OShea <ryan.oshea3@arm.com> Change-Id: Id92173a515e643d14bd9e24eac1cb834ae55bd1e
2022-02-06IVGCVSW-6747 Call Cl sync after EnqueueWorkloadNarumol Prangnawarat
* Add AfterEnqueueWorkload to IBackendContext * Implement AfterEnqueueWorkload in ClBackendContext to call Cl sync * Set allocated data on outputhandler only once * Handle PreImportedHandles and CurImportedId the same way as Async Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9f59d57e298d4a494569faec3078d66af799f77b
2022-02-05MLECO-2079 Adding the C++ KWS exampleGeorge Gekov
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: I81899bbfaada32f478c2e2fc6441eabb94d8d0fc
2022-02-04Update ACL pin to 22.02 Release BranchJames Conroy
Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I8233122bf3538cd7dbc788c14c58e73009735389
2022-02-04IVGCVSW-6727 Updating error messages from the flatbuffers parser.Colm Donelan
Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I45fb3f06533b031dd4e65b91561b699555e072b4
2022-02-04Update ACL pin to 451c309179b784d19d333da31aec5a871c3ff2b6Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I4a0827b072209bcb5abbb53d6e8f3e09e1470ba7
2022-02-04MLECO-2079 Adding the python KWS examplealexander
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com> Change-Id: Ie1463aaeb5e3cade22df8f560ae99a8e1c4a9c17
2022-02-03IVGCVSW-6634 SubgraphView: Add method of returning a GetSubgraphWorkingCopyFrancis Murtagh
* Add pointer to SubgraphView allowing it to store a working copy implementation of its own representation of graph. * Make SubgraphView a friend of Graph to allow access to layers. * Add constructor to SubgraphView taking SubgraphViewWorkingCopyPtr * Rewrite Graph::SubstituteSubgraph for use on SubgraphView * Add GetWorkingCopy() method * Add tests for replacement of multiplication with DepthwiseConv2d * Check GetBackendHint() has value before passing to PrecompiledLayer * Add GetOwningIConnectableLayer to IInputSlot to allow traversing from IConnectableLayer->IOutputSlot->IInputSlot->IConnectableLayer Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: Iaaef14448d8b73867eaee9d69f4f98d5d1bf171c
2022-02-03IVGCVSW-6724 Accessing ConstTensors from IConnectableLayerNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I01f42a520d15c6dabd2f77c7715c91b8f7026476
2022-02-03IVGCVSW-6680 Delegate Segfaults on Execute NetworkRyan OShea
* Change to check for success instead of specific failure * Fix which map index is used when assigning outputs Signed-off-by: Ryan OShea <ryan.oshea3@arm.com> Change-Id: I13d8e989e35789ad3e2465d595905c5a5603ae0f
2022-02-03IVGCVSW-6635 Expose a new MockWorkloadFactory and MockMemManager (Part 1)Colm Donelan
* Create a MockBackend in armnnTestUtils. * Create corresponding WorkloadFactory, TensorHandle, TensorHandleFactory MemoryManager and WorkloadFactoryHelper classes. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: I884731b109bc623a7272e5ad333ff754f8c13ae1
2022-02-03IVGCVSW-6696 Add Forced Import EndToEnd tests to Ref, Neon, and CLDavid Monahan
* Created EndToEnd tests with Misaligned buffers but import is forced * Added the Aligned Tests from a previous patch to avoid merge conflicts * Previous Aligned EndToEnd test for ref has been added to backendsCommon and is now used for neon as well * Added to Ref, Neon, and Gpu Backends * Neon tests only check for copies as reconfigure has not been implemented for the Neon backend yet Signed-off-by: David Monahan <David.Monahan@arm.com> Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I12ddf5780201044834d6d1bbeebce60a4614efd1
2022-02-02IVGCVSW-6639 Add GetParameters to IConnectableLayerJim Flynn
Change-Id: Id55a460ecb510f5b30235b03f54390f2c8188fc2 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2022-01-31IVGCVSW-6552 Add support of aligned host memoryNarumol Prangnawarat
* Add AllocatedData functions to OutputHandler * Enable import aligned memory in ImportInputs * Enable import aligned memory in ImportOutputs * Allow to import input and output if the memory is aligned * Implement Reconfigure function on ClConvolution2dWorkload * End-to-end test on Ref and Cl to ensure that input and output memory are imported when aligned Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9e5e4c26d1ac2f1d806803ade5f64c6479c51718
2022-01-28IVGCVSW-6679 Add input and output workload slot pairs to LoadedNetworkDavid Monahan
* Added vectors to store the indexes of workload queues which contain inputs or outputs and their corresponding input / output slots Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: Ide626726718216c7a778cce583da75af3ca2dc9a
2022-01-28Update ACL pin to 0ef2c2176fd99319342a4174e15c0263ede236cdNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ib6be947127bc47812395e876a783e256ca9157df
2022-01-27Update ACL pin to 21391c3f8b234c1a141e1c2d192072c91c254b33Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I4c73f697bb6b3f24f85765fa60461ce40c324ea6
2022-01-27IVGCVSW-6739 'Issues on Logging API'Sadik Armagan
* Enabled using same instance of SimpleLogger * Removed some trailing new lines on some log messages Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I4b917c0ca5011afc9b39dad50715290ba15a1246
2022-01-27IVGCVSW-6687 Implement ICLTensorProxyNarumol Prangnawarat
* Implement ICLTensorProxy and unit tests * Remove IClImportTensorHandle and use IClTensorHandle to access ICLTensor Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I791d0f2c6f8bad841a56e39e196baf0e533c7124
2022-01-26IVGCVSW-6685-6686 Modify workloads to extend Neon/Cl BaseWorkloadTeresa Charlin
* Neon workloads to extend NeonBaseWorkload instead of BaseWorkload * Cl workload to extend ClBaseWorkload instead of BaseWorkload Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I8f39a31a89a8865ac4acf18573ab290d548d2864
2022-01-26GitHub #603 Add PADV2 support to TFLite ParserMike Kelly
* Added PADV2 support to TFLite Parser * Added PADV2 unit tests * Updated Parser Docs Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I06ea9a6ceddc38cdb89204c019432257d3f58e4c
2022-01-26IVGCVSW-6727 Change asserts to CHECK in ParserFlatbuffersFixture.hpp.Colm Donelan
* ReadStringToBinary was using ARMNN_ASSERT_MSG which is hiding unit test errors in release builds. Signed-off-by: Colm Donelan <colm.donelan@arm.com> Change-Id: Ib5d6846525a3a1191f85004c7985773917a1f609
2022-01-26IVGCVSW-6683-6684 Add ClBaseWorkload and NeonBaseWorkloadTeresa Charlin
* Neon/Cl Activation workloads inherit from Cl/Neon BaseWorkload * Unit Test for ReplaceTensorHandle functions Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I985e34b93a96405735402a6d3b947957afbe2857
2022-01-26IVGCVSW-6739 Fix logging bug where blank messages were being sentRob Hughes
The ScopedRecord class sends its message to its sinks in its destructor. The StartNewRecord() method was creating a local ScopedRecord variable, returning a (move-initialised) copy of this, and then destroying this local variable (as the variable goes out of scope at the end of the function). That destruction was causing an empty log message to be sent to the sinks, which was not intended. This patch fixes this by making the move constructor of ScopedRecord disable the moved-from object, so that it does not send its message upon destruction. Change-Id: I435d96074698575ed3445fed2597c115b83701fd Signed-off-by: Rob Hughes <robert.hughes@arm.com>
2022-01-26Update ACL pin to 7195f71b2e44e2119b1763fde02b2cf3f9371a6bNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I1760c2a7bca8cf18d16a4e5fe14a8954dda48d80
2022-01-25IVGCVSW-6673 Implement CanBeImported function to ClTensorHandleNikhil Raj
* Added Unittests Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Signed-off-by: David Monahan <David.Monahan@arm.com> Change-Id: If7c0add39583a7e47b43fd79f93c620f86f80fc1
2022-01-25Update ACL pin to 639f0f665b4346d287014adc99e14a8497aadf18Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I88ccfe33e6149d12a06235fcddefb1cdf543d26a
2022-01-25IVGCVSW-6676 Register CopyAndImportFactoryPairs to RefBackend and unit testsNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I9d695418fe240b7115a1c624abcd459f1459301b
2022-01-25IVGCVSW-6678 Register CopyAndImportFactoryPairs to NeonBackend and unit testsNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: If5392020dfd0caa3f09ea2edbaf0f83ec36ab99b