aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-09-23IVGCVSW-3887 Add Quantizer support for DepthToSpaceAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I144c04f920ba3329886367f5e73fe758505ab96e
2019-09-20IVGCVSW-3433 Create the Periodic Counter Capture ThreadFrancis Murtagh
* Add Periodic counter thread object * Add Unit test for thread * Move MockBuffer to header file to allow reuse Change-Id: Id2a8ea636723ab35e8a50efc200c8c76059bba02 Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2019-09-20IVGCVSW-3886 Add serialization support for DepthToSpaceAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Id80c1bcbf50715f07a92dad08d554518a283cc28
2019-09-20Fix some minor issues around SpaceToDepthAron Virginas-Tar
* Removed unnecessary code from SpaceToDepthLayer::InferOutputShapes() * Refactored SpaceToDepthQueueDescriptor::Validate() and added extra checks for block size and output depth Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ieeed3144e2589b2e8695ef65ce17752bc595332f
2019-09-20IVGCVSW-3883 Add frontend for DepthToSpace layerAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I18d957af6e988ffb6b9ee46ac836d1f38600e10b
2019-09-20IVGCVSW-3880 Add deserialization test for SLICEAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I513a6c02d77c1fd99c7d6571ee8333eae3e1e290
2019-09-19IVGCVSW-3430 Connection Acknowledged Command Handler ImplementationSadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I0ba97a93edb283b37bd1c089c668135a4bf9550c
2019-09-19IVGCVSW-3880 Add serialization support for SLICEAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I5eaf61cfd2c875805d2f37cd967d75ad1d20ad6d
2019-09-19Fix illegal use of anonymous stack veriable in DeserializerMatthew Bentham
Temporary lifetime extension certainly applies where the local variable is a const reference, but in this case (non-const refernece) address sanitizer was reporting a problem. In any case in other places that we use ToTensorInfo we store the value, so I think the original code here was a mistake. Change-Id: I55e185c46b1bf367a96d7d8c411ef86f07e8bd8d Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
2019-09-19IVGCVSW-3727 Add LayerType::Slice to GetLayerTypeAsCString()Aron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I878fc65b0462289f61721cad12319c58f923c0c0
2019-09-19IVGCVSW-3723 Adding reference workload support for ArgMinMaxNikhil Raj
Change-Id: I65209ecec4e3abf808163239748d6e830568c2e3 Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
2019-09-19IVGCVSW-3725 Adding quantization support for ArgMinMaxNikhil Raj
Change-Id: I7582a9ee36b4d1764a5a137cefe9b7b7dfe30254 Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
2019-09-18IVGCVSW-3691 Implement SendCounterPacket.SendCounterDirectoryPacket() functionMatteo Martincigh
* Changed the signature of SendCounterDirectoryPacket to accept any ICounterDirectory object * Added helper methods to the SendCounterPacket class for creating the records * Created mock classes for testing * Added unit tests for both SendCounterDirectoryPacket and the helper methods * Added unit tests for the SWTrace utility functions * Added ReadUint8 utility function for getting single byte out of a buffer * Disabled extra sign-conversion warning in the conversion macro Change-Id: Ie2dddcd6824ed07b623f0cd78d9b7d05c5b70c39 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-09-18IVGCVSW-3432 Fix a multithread store conflictJim Flynn
* Unit test was using the same CaptureData object across 50 threads Change-Id: I0249b5a8e0bb05e3d3efdd855f5b34b1d5ef3dc9 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-09-18CONSERV-3867 Fix typos in the Dynamic Backends readme fileMatteo Martincigh
Change-Id: I73253cf1bee6a626ec65ab92555f70fbf00d98fc Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-09-18IVGCVSW-3881 Add Quantizer support for SLICEAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I72bc00888d416fee177ea2e6e5006f8ff04f612e
2019-09-18IVGCVSW-3691 Add extra unit tests to complete coverage forMatteo Martincigh
the CounterDirectory class Change-Id: I37c6d2b43d3994878c8daeeb0ff226bf411c0aae Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-09-18IVGCVSW-3878 Add reference workload for SLICEAron Virginas-Tar
* Added reference workload implementation and layer tests for all supported tensor dimensions (1d, 2d, 3d, 4d) Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I40eb300828933e9183027281105d1a7e597d1569
2019-09-17IVGCVSW-3879 Fix output shape inference formula for TransposeConvolution2dAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I766f4297b9daa26edacc2079fe62a083ba2fa68f
2019-09-17IVGCVSW-3691 Rework the CounterDirectory class to take into considerationMatteo Martincigh
the connections between components * Added constructors and connections to the profiling classes * Used hash table to keep track of the profiling objects by UID * Added register methods * Added find/check helper methods * Updated the makefile to include the profiling directory * Added unit tests for the CounterDirectory class * Added ICounterDirectory interface class for read-only use * Added custom macro to locally disable conversion warnings Change-Id: I3f53a68663ee77b8d03ac0ef7dc01e90c6893511 Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
2019-09-17IVGCVSW-3877 Reduce code duplication in TestNameOnlyLayerVisitorAron Virginas-Tar
* Defined macros for common class structure and near-identical test cases Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I47a2ece3e1797496c196f63c7fcd71e5748295c6
2019-09-17IVGCVSW-3875 Add frontend for SLICE layerAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Iebe675a0cee02db6f133d48ce58cbc1e233061db
2019-09-16IVGCVSW-3694 Add ArgMinMax implementation for RefNarumol Prangnawarat
* Add ArgMinMax implementation * Add utility function to get number of elements between axis * Add utility function to get unsigned axis * Unit tests for ArgMinMax function Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I7bc3d610dda9526190187eb87394a8ed7a4b5cdd
2019-09-16IVGCVSW-3826: Implement IProfiling functionsFinnWilliamsArm
!armnn:1814 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Signed-off-by: FinnWilliamsArm <Finn.Williams@arm.com> Change-Id: I82c7453d7969880e321572637adc0fb9c0e5fd7b
2019-09-16Fix typo int comment surrounding constructor in ResizeLayer.hppAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I9739e2f685a49d00efaa873207c7b38d98b9b14c
2019-09-16IVGCVSW-3687 Add INetworkProperties to LoadNetworkDavid Monahan
* Allows users to specify if Import/Export should be used Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I64da26a6acbeb91ef72d31b6ccc01bb1447f624d
2019-09-16IVGCVSW-3868 Add support of Int32 to Reshape layerNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I1bf116c462fe3428be31b6dbcd09b25c3a90727f
2019-09-16IVGCVSW-3858 Fix RefTensorHandleTests on Raspberry PiAron Virginas-Tar
* Fix alignment check to use sizeof(size_t) instead of a hard-coded value Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I092c4464c6cecb2403da9b7744b68ad063ddbad1
2019-09-16Split out basic CaptureData unit tests from Holder testsMatthew Bentham
Change-Id: I68f62c2941c4af77a48829bbc71d5836d9477b5d Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com>
2019-09-16IVGCVSW-3854 Fix QuantizedLstmEndToEndTest on Raspberry PiAron Virginas-Tar
* Do not rely on boost::test_tools::tolerance for comparing integer values, as this is not supported in all Boost versions Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: I7050a5765d007dc501d9e893b661d8847dd55ad7
2019-09-16IVGCVSW-3660 Add SQRT unit tests for Neon and CL backendsSadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Iaaff33f578c4d88f6c03c8de4af71d5347178eaa
2019-09-16In CopyTensorContentsGeneric coalesce inner dimensions where possibleMatthew Bentham
This reduces the number of function calls in the inner loop, and allows for optimised implementations of memcpy to improve bandwidth Signed-off-by: Matthew Bentham <matthew.bentham@arm.com> Change-Id: I7458b45c075c87805242e92e54448b9dd762227f
2019-09-16Rename variables in CopyTensorContents to assume NHWCMatthew Bentham
Change-Id: I533991c8829256570529c18023a5e882878cc85a Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
2019-09-13IVGCVSW-3872 Add Missing packet to SendMetaDataPacketFerran Balaguer
Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com> Change-Id: I98d8b22bdc447c2ff3f4d74d58ef9c0eae75db76
2019-09-13IVGCVSW-3436 Create the Periodic Counter Selection Command HandlerFerran Balaguer
Change-Id: Ia6fe19db5aebe82bb00dcbab17e16633befda0a5 Signed-off-by: Ferran Balaguer <ferran.balaguer@arm.com>
2019-09-12IVGCVSW-3857 Add Reference FP16 workload support to remaining layersMatthew Jackson
* Adds Reference FP16 support and unit tests for layers not already supported !referencetests:202156 Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: I6fc9b9ce2809e163f72e27e877025c8fb85d9fbe
2019-09-12Add "explicit" qualifier to Optional -> bool conversion methodRob Hughes
This prevents unintended conversions that could lead to incorrect code compiling, e.g. Optional<a> == Optional<b> Also add comparison (==) operator to compare two Optionals. Update unit tests accordingly Change-Id: I6f975de7e666ba1ffe16c3ab50643116c6317135 Signed-off-by: Rob Hughes <robert.hughes@arm.com>
2019-09-12IVGCVSW-3580: Extend the IProfilingConnection to connect to a SocketTeresa Charlin
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Signed-off-by: Aron Virginas-Tar <aron.virginas-tar@arm.com> Change-Id: I72e099ee00052f7a0907c055c7bff02c7d8fde86
2019-09-12IVGCVSW-3663 Add utility function to expand tensor dimensionNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I54d2416be305db7d3fc15fb3123694ad6740b27d
2019-09-12IVGCVSW-3856 Add Dependency breaking interfaceJim Flynn
Change-Id: I74947e592332f0a0d239219097c98109e86ac1f2 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2019-09-12Fix CL workload creation methods not using MakeWorkloadAron Virginas-Tar
* Wrap CL workload creation methods into MakeWorkload to ensure proper handling of ClError exceptions Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Id6b743b4682c092316b4775baa065921780dd24a
2019-09-11IVGCVSW-3820 Remove backendsCommon/WorkloadDataFwd.hppAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: If54f3a285b288e7ff0b2674829c116df70d6934c
2019-09-11IVGCVSW-3659 Add Float16 CLLayerTests for AbsKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I99d8a3d53551ce5c293462d847c22ae4f912331b
2019-09-11IVGCVSW-3845 Add Reference FP16 support for required layersMatthew Jackson
* Working on layers required by FSRCNN, FCRN and DeepSpeaker * Updates RefLayerSupport and RefWorkloadFactory methods * Adds RefPadFloat16Workload * Tested by successful execution of these networks on Reference FP16 backend Signed-off-by: Matthew Jackson <matthew.jackson@arm.com> Change-Id: I4817dca0a89bba6902f0feffc494b27a26a0ab2d
2019-09-11IVGCVSW-3724 Adding serialization support for ArgMinMaxNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I21210c843c3b8800ccc68d4f3095259d0a233bd1
2019-09-10IVGCVSW-3712 Add Transpose into TfLite ParserKeith Davis
Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I94e975ede3876c812f0f26b040e8c50a5597f86a
2019-09-10IVGCVSW-3722 Add ArgMinMax to GetLayerAsCString InternalTypesKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I304aec5c2f83d062a8b0c14d6c8ad01123dc7435
2019-09-10IVGCVSW-3829 Add CL workload for RSQRTAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Idf40ed0ebf2af3170137bf3a3cb5a9635a203d4a
2019-09-10IVGCVSW-3830 Add NEON workload for RSQRTAron Virginas-Tar
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> Change-Id: Ida590b7d28dbee40e496794c42b682d740427cca
2019-09-10IVGCVSW-3739 Add serialization support for AbsFinnWilliamsArm
Signed-off-by: FinnWilliamsArm <Finn.Williams@arm.com> Change-Id: I42c348515f3f93efc2e0570bbebdc77306f12468