aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-21IVGCVSW-4675 Fixes for VTS 1.3 GeneratedTest.Test/armnn_resize*David Monahan
* Adding HalfPixelCenters parameter to Resize Descriptor !android-nn-driver:3061 Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I2713125525f434f5abe5a87183723e482df27a43
2020-04-21Use X macro for the enum class LayerTypeLaurent Carlier
In order to improve the maintability of the LayerType enum, it is easier to use the X macro technique https://en.wikipedia.org/wiki/X_Macro Thanks to that, the pre-processor can generate some code based on the list provided by the LIST_OF_LAYER_TYPE macro Signed-off-by: Laurent Carlier <laurent.carlier@arm.com> Change-Id: I3a6049abfb1e964fe0bf32aa4e26bec4e29a77de
2020-04-20IVGCVSW-4513 Remove boost/algorithm/string *David Monahan
* Removed split, classification, trim, string, join, contains * Added StringUtils.hpp to replace the removed Boost String functionality Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I8aa938dc3942cb65c512cccb2c069da66aa24668
2020-04-20Update ACL pin to d1d7722cfc5ee130115d8d195068a98b16102a21Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ie25d4347077c1e0f9fca5533fe54dbdf0752ba02
2020-04-17Update ACL pin to b7f4a95c4bf27b4507e5b3b9278c249b1feefe36Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I49d1075d73639266d4bcabe3594e79d55a58e881
2020-04-16IVGCVSW-4704 Update links to how to guides in our README.mdNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I11d059a76062cb7a0efb3e5fcece1d528e6d1879
2020-04-16IVGCVSW-4701 Make the GUIDGenerator thread safeFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Ide55731c51a8b77d71bfa4f3f7f0d122bb643d87
2020-04-16IVGCVSW-4699 Force timestamps to always be in nanosecondsFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Id0fef58ff06caae258d9a77132a7ab1ae0c23060
2020-04-16IVGCVSW-4696 Update BuildGuideCrossCompilation guideNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I1d4eaed8830b034a5ac384020abe8f5b2d7d35cf
2020-04-16MLECO-712 Enable creation of runtime with external profiling supportÉanna Ó Catháin
Change-Id: Ie0af439817eb4ed70e6112b2eb6f4a2c787a6bd0 Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
2020-04-14IVGCVSW-4483 Removes boost::polymorphic_pointer_downcastJan Eilers
* replace boost::polymorphic_pointer_downcast by PolymorphicPointerDowncast * replaced/removed includes Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I0ef934a3804cf05e4c38dec6c4ec49c76111a302
2020-04-10IVGCVSW-4483 Introduce PolymorphicPointerDowncastJan Eilers
* as replacement for boost::polymorphic_pointer_downcast * added PolymorphicPointerDowncast * added related unit test * added description to PolymorphicDowncast Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I47e94344c1c21941865549a5632cfb7cad804d35
2020-04-10Add PyArmNN to work with ArmNN API of 20.02Richard Burton
* Add Swig rules for generating python wrapper * Add documentation * Add tests and testing data Change-Id: If48eda08931514fa21e72214dfead2835f07237c Signed-off-by: Richard Burton <richard.burton@arm.com> Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-04-10IVGCVSW-4666 Call EnableProfiling when state switches to activeFinn Williams
* Move the call to EnableProfiling() into ConnectionAcknowledgedHandler * Fix an issue with MockGatord forcing some command handlers to be quiet * Add some small unrelated improvements and typo fixes to the periodic counter command handlers Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I9e6066b78d1f782cfaf27c11571c0ec5cb5d126f
2020-04-10IVGCVSW-4483 Remove boost::polymorphic_downcastJan Eilers
* exchange boost::polymorphic_downcast with armnn::PolymorphicDowncast * remove unnecessary includes of boost::polymorphic_downcast Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Ie603fb82860fe05fee547dc78073230cc62b2e1f
2020-04-09IVGCVSW-4641 Investigate Hal 1.3 VTS FailuresSadik Armagan
* Add QASYMM8_SIGNED data type support to NeonTensorHandle Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Iae34f7d67de83642606ccd8c61a1b72df7f2bb3a
2020-04-08Update ACL pin to 8abbabd6ad946441c8ef1a03896fa98f7801af1fNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I55f244aa766ed8e798f653dce608c2570d3f4541
2020-04-07IVGCVSW-4661 Add include Assert to GatordMockService.cppNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Idcd0927b40fd4b9106f419f379e8b052280db040
2020-04-06Update ACL pin to 4df2cf3177129d10500d30056bf8404418f703d6Nikhil Raj
Change-Id: Ib88b602b49139724bc1ec094a8ea471b5c96ab3d Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
2020-04-06IVGCVSW-4485 Remove Boost assertNarumol Prangnawarat
* Change boost assert to armnn assert * Change include file to armnn assert * Fix ARMNN_ASSERT_MSG issue with multiple conditions * Change BOOST_ASSERT to BOOST_TEST where appropriate * Remove unused include statements Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I5d0fa3a37b7c1c921216de68f0073aa34702c9ff
2020-04-03IVGCVSW-3753 Add Clip support to the onnx parserFinn Williams
Change-Id: I68c842c5906f03b8f5a6131537fea3a1a0db980a Signed-off-by: Finn Williams <Finn.Williams@arm.com>
2020-04-03Github #367Jegathesan Shanmugam
Updated aarch64-linux-gnu tool chains export method. Signed-off-by: Jegathesan Shanmugam <nullbyte.in@gmail.com> Change-Id: I442f387200c7e57e0fe4447eeb8df1fd7bec31d8
2020-04-03Add flow to exclude libOpenCL when building AndroidnNNalered01
When building AndroidNN for a commercial silicon device, there's no need to include libOpenCL as we should be able to use the one already on the device Change-Id: I2ad2e2e15b9619358199b106adf1eae642d0d3f6 Signed-off-by: alered01 <Alex.Redshaw@arm.com>
2020-04-03IVGCVSW-4514 Remove lexical_cast.hppDavid Monahan
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I992379f03d1cfe3c019bb23786458d4f22df6b17
2020-04-02IVGCVSW-4455 Add an Activate and Deactivate control packet to the protocolKeith Davis
* Add Activate/Deactivate command handlers * Add IReportStructure, INotifyBackends single function interfaces * Add overrided mechanism to report structure in Runtime.cpp * Add overrided mechanism to notify backends in ProfilingService.cpp * Add optional IReportStructure argument to ProfilingService constructor for use in ActivateTimelineReportingCommandHandler * Refactoring and tidying up indentation * Removal of unused code in ProfilingUtils.cpp and ProfilingService.cpp * Added GatordMock end to end test * Fixed an issue with SendCounterPacket sending duplicate packets * Fixed an issue with DirectoryCaptureCommandHandler handling of Optional Signed-off-by: Keith Davis <keith.davis@arm.com> Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I5ef1b74171459bfc649861dedf99921d22c9e63f
2020-04-02Update ACL pin to cbd8144cf623b7d6f691ba7d3a30ae933e87efd8Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I95283b5f1eefcde5bd333373bd0108fe7c73237e
2020-04-01IVGCVSW-4643 Add Convolution2D tests with Bfloat16 input and Float32 outputNarumol Prangnawarat
* Modify SimpleConvolution2dNhwcTestImpl to allow different input and out types * Add unit tests for Conv2D with Bfloat16 input and Float32 output to compare the accuracy with Float32 for small value inputs and big value inputs Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ia59c92a22001b41f2681dafb951203a2223d3367
2020-04-01IVGCVSW-4641 Investigate Hal 1.3 VTS FailuresSadik Armagan
* Added QAsymmS8 data type support for bias Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I1dfe50b23a4ba479d35f5e6996ea8e25aee0033b
2020-04-01MLECO-756 First cut of adding JSONTimelineDecoder and testsÉanna Ó Catháin
Change-Id: Ibcd5fdefb5dda3ac3f2a5ff6d6eca618c27c538b Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
2020-04-01IVGCVSW-4531 Tweak to an existing fix for failing NNT tests on Android RDavid Monahan
HAL 1.1/1.2 to account for negative slices Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: Ia98101b07b826359fb621b801fcbc811d7ec6f6a
2020-04-01Update ACL pin to afc630fee1c019bfbc191c37d9d7fdf805b0b1d7Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Id49a30be1e9d58a9fcec60bfeccd488f323dfe86
2020-03-31Update ACL pin to 5219ed8a3c56db22867cc0c49db93951a7acb36dNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I7bc5667e9f05f700c182e1623ffee94a69f1459a
2020-03-31IVGCVSW-4633 Add conversion of BF16 support to NeonNarumol Prangnawarat
* Add NeonConvertBf16ToFp32Workload * Add NeonConvertFp32ToBf16Workload * Add BFloat16 type support to NeonConstantWorkload and NeonTensorHandle * Add ConvertBf16ToFp32Weight when ConvertBf16ToFp32Layer is added * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Id5b44a203add5e0c98c1ca4e2162115741b56644
2020-03-31IVGCVSW-4590 Fix Lstm layers CellToInputWeightsJan Eilers
* CellToInputWeights were not handeled correctly * Changed CellToInputWeights from Cifg to peephole parameter * Modified exiting unit tests * Added unit test to cover new configuration * Added more descriptive error messages Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: Ied5dc1253d3df1fd1a79b887a58603d0a9c8f396
2020-03-30IVGCVSW-4603 Support comparison operators in NeonTeresa Charlin
* Deprecate NeonGreaterWorkload * Add NeonComparisonWorkload to encompass all comparison operators Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I5e828088d17e994fc5cb0b908719b53ee01fa959
2020-03-30Update ACL pin to 9f2403ff462c3725a03df68484dc43df6f011ab0Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ie972bb310205e19210e453ad78bea030060eacaa
2020-03-30IVGCVSW-4603 Support comparison operators in CLTeresa Charlin
* Deprecate ClGreaterWorkload * Add ClComparisonWorkload to encompass all comparison operators Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ida0ed7f59899d75b0fe7de1e7433b1ade018c6f1
2020-03-27Update ACL pin to 4b869532f8b2aa7f02aa55c4f4813e994ea2df68Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I6e0474d88fcfed8812d7a1b565e09b12256b9956
2020-03-27IVGCVSW-4555 ArmnnConverter (Serializer) does not support per-axis ↵Sadik Armagan
quantization params * TensorInfo can have multiple scales and quantization dimension. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I0ff02e3766996b6a9da6dc4e92d366bc9505c77d
2020-03-26IVGCVSW-4597 Modify BF16 optimizer to Convert only inputs and weights ofNarumol Prangnawarat
Convolution2d and FullyConnected layers * Add InsertConvertFp32ToBf16LayersBefore * Add ConvertWeight to ConvertFp32NetworkToBf16Impl for Conv2d and FullyConnected * Allow different input and output when input is BF16 and output is FP32 Conv2d and FullyConnected layers * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ic8f92ff28edcae08a72a3114a28f50c4619f919b
2020-03-26Update ACL pin to 1b14c75c0d591c4abe4d2d41b7e4e165fbf58382Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I1d255e21f3786bc5afb1aec71cab6e523e5e4ac9
2020-03-26IVGCVSW-4599 ArmNN Compile Error when compiled against gcc 9Francis Murtagh
* Use default keyword for armnn::Optional assignment. * Use default keyword for BFloat16 copy constructor and assignment. * Remove unnecessary const from static_cast template argument which was giving ignored-qualifiers warning. Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: Ie3f4ce0a0c199a578d8cca2fea8f5dcef63dba4d
2020-03-26IVGCVSW-4526 Fix UnitTest errors when running on raspberry piJan Eilers
* The std::thread::id is included in some timeline packages of the profiler. But the size of thread::id is platform dependent. That's why some tests expected a wrong package size Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I4794ebbdda2d75ed5be7112f6a3bf2e5f14f221b
2020-03-25IVGCVSW-4589 Add timeline tests to Mock Gatord end to end testFinn Williams
Change-Id: I500f82e9fff881e0a49aa5a7cc580c6c4923d33c Signed-off-by: Finn Williams <Finn.Williams@arm.com>
2020-03-25Update ACL pin to 51a9558d484e812707a776efceef18b93698cec9Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I114dff0427b9ae6f49b3138e78ade97d07684fd1
2020-03-24IVGCVSW-4521 Add bf16-turbo-mode option to ExecuteNetworkNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I57ec47adf98680254fa481fb91d5a98dea8f032e
2020-03-24IVGCVSW-4596 Fix BufferManager's packet orderFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I35e0a891cd69f2c130b8886460089c441d8e666d
2020-03-24IVGCVSW-3813 Add Unary Elementwise Operation 'NEG' support to the ↵Sadik Armagan
android-nn-driver * Implemented ClNegWorkload * Implemented NeonNegWorkload * Enabled 'NEG' operator on CL and Neon as well as Ref * Implemented unit tests for 'NEG' operator Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I3d7a892692716636cae6bdf8ddd238e3d1ea064f
2020-03-24Update ACL pin to 689c968239180eda4263e34c3d450093d4a0450dNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I2f72b559594c227e2c5181fb9ec22a776ec9dcb1
2020-03-23Update ACL pin to 6cd1c9bc312b65137da52a973489ba6a0f0180e3Nikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: I0d9b2ba0d3f2569baf6fc824f06a9c1412f2814e