Age | Commit message (Collapse) | Author |
|
* Enabling logcat prints to show the backend MLTS is running on.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I1668cbc34fac9d6e09e91257bba4855c1d94c65c
|
|
where necessary'
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Id9f8e6b3063a6a1748cceb5b9c5f802b0a757b5c
|
|
* Use cmake flags to indicate armnn build and aosp modules folders
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I8afa94734823ba3f855941d4462be45677d41f46
|
|
* Fix memory issue by calling UnloadNetwork() in destructor of ArmnnPreparedModel.
Signed-off-by: Cathal Corbett <cathal.corbett@arm.com>
Change-Id: I255a50f2bf0bfcc8eedf1ad34cea9249a046bce8
|
|
* 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
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I0201324cf060ee52cef07077e3ed8e31e7fd4c2d
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
Signed-off-by: Finn Williams <finn.williams@arm.com>
Change-Id: I1d465725e56f61034cb2425157bb594b4ceab9fa
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Signed-off-by: Finn Williams <finn.williams@arm.com>
Change-Id: I8ff912691c4d197d398c22c3e08288d0d0fd7e0a
|
|
* 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
|
|
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I542b4c4c7b0592f5153ab3d10141bed4e8f169cd
|
|
Change-Id: I3f5dfb0d84d841eec30bb2b6ad9593024f3a39f1
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
|
|
* 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
|
|
* 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>
|
|
* Update how we are setting the m_InputWorkloadSlotPairs to properly identify inputs
Signed-off-by: David Monahan <David.Monahan@arm.com>
Change-Id: I6d36f6d2bfdd42ade22c34e215f0d18b02702207
|
|
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>
|
|
* 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
|
|
Signed-off-by: David Monahan <David.Monahan@arm.com>
Change-Id: I2cda579d18be765fbc2783d9fd80ff8e5372a8a8
|
|
* Replace memory area with vals in tensor creation
Signed-off-by: Ryan OShea <ryan.oshea3@arm.com>
Change-Id: Id92173a515e643d14bd9e24eac1cb834ae55bd1e
|
|
* 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
|
|
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com>
Change-Id: I81899bbfaada32f478c2e2fc6441eabb94d8d0fc
|
|
Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: I8233122bf3538cd7dbc788c14c58e73009735389
|
|
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I45fb3f06533b031dd4e65b91561b699555e072b4
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I4a0827b072209bcb5abbb53d6e8f3e09e1470ba7
|
|
Signed-off-by: Eanna O Cathain <eanna.ocathain@arm.com>
Change-Id: Ie1463aaeb5e3cade22df8f560ae99a8e1c4a9c17
|
|
* 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
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I01f42a520d15c6dabd2f77c7715c91b8f7026476
|
|
* 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
|
|
* 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
|
|
* 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
|
|
Change-Id: Id55a460ecb510f5b30235b03f54390f2c8188fc2
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
|
|
* 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
|
|
* 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
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ib6be947127bc47812395e876a783e256ca9157df
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I4c73f697bb6b3f24f85765fa60461ce40c324ea6
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
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>
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I1760c2a7bca8cf18d16a4e5fe14a8954dda48d80
|
|
* Added Unittests
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Signed-off-by: David Monahan <David.Monahan@arm.com>
Change-Id: If7c0add39583a7e47b43fd79f93c620f86f80fc1
|
|
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I88ccfe33e6149d12a06235fcddefb1cdf543d26a
|
|
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I9d695418fe240b7115a1c624abcd459f1459301b
|
|
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: If5392020dfd0caa3f09ea2edbaf0f83ec36ab99b
|