aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-05-27Remove Resize layer mentioned twice in the DeserializerSupport.mdNikhil Raj
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ib8e9074fcd3cc30a092c3e928cb5bc3f2304f7ed
2020-05-26IVGCVSW-4792 Update armnn readme and support filesNarumol Prangnawarat
* Add TPIP used by Arm NN * Add SqueezeNet to CaffeSupport.md * Add ResNet v2 50 to TensorFlowSupport.md * Update tested networks in TensorFlowLiteSupported.md Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I15927ea600a3dfffee082933d32f235f3940730e
2020-05-25Fix some musl libc issues in armnnFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Ifb0295ee4516ca6cbd4364ade418b707fb39b354
2020-05-22Bugfix: Profiling use of substr() incorrectly parses semantic versioningFrancis Murtagh
* With semantic versioning ARMNN_VERSION is changed from 20200500 to 21.0.0 causing this function to return "Armnn .0..0" instead of "Armnn 20.1" * Remove the use of substrings and instead use the Major/Minor macros to give the expected output format: "Armnn 21.0" compared to last release's "Armnn 20.02" Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Change-Id: Id255ff154f59e922434f72a68563ccc6126e187a
2020-05-22IVGCVSW-4792 Update armnn readme and support filesNarumol Prangnawarat
* Add Transpose to SerializerSupport.md * Remove ResizeBilinear as it is deprecated layer * Add EXP and SPLIT_V to TensorFlowLiteSupport.md * Add transpose to TensorFlowSupport.md Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I05b0411b61c1b74b27b4669e81fa8ce521bb4190
2020-05-22IVGCVSW-4453 QLSTM SupportSadik Armagan
* Number of elements is output size for projection bias on QLSTM Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I9d32cfb187bbe0c6ef809a7a89da907fbac83380
2020-05-22Adding more performance metricsalered01
* Implemented CLTuning flow for ExecuteNetwork tests * Added --tuning-path to specify tuning file to use/create * Added --tuning-level to specify tuning level to use as well as enable extra tuning run to generate the tuning file * Fixed issue where TuningLevel was being parsed incorrectly * Added measurements for initialization, network parsing, network optimization, tuning, and shutdown * Added flag to control number of iterations inference is run for Signed-off-by: alered01 <Alex.Redshaw@arm.com> Change-Id: Ic739ff26e136e32aff9f0995217c1c3207008ca4
2020-05-21IVGCVSW-4452 Add QLstm EndToEndTestJames Conroy
* QLstm EndToEndTest added for Ref, NEON and CL. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: Icd2c878541f6304d726202a93d71ff3d79f6f054
2020-05-20IVGCVSW-4450 Add CL Enhanced Quantized LSTM WorkloadRyan OShea
* Adds QLstm CL workload * Added Layer and CreateWorkload tests Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I32335e528467bfd619edb249d2971705ac2a6163
2020-05-20IVGCVSW-4451 Add QLstm NEON workloadJames Conroy
* Adds QLstm workload. * Adds CreateWorkload and Layer tests. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I585eb2691395ee4ccd45b5a853660f90fc5cc821
2020-05-19IVGCVSW-4669 Set destination tensorInfo in MoveAllConnections()Finn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I3563209dcb3db1b40cf2db3855adc631b5e323be
2020-05-19IVGCVSW-4834 Add calls to increment REGISTERED_BACKENDS and ↵Finn Williams
UNREGISTERED_BACKENDS Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I3600dd15f97ccd4ab745deb87d06ba978e2a0b11
2020-05-19Fix some Windows build errors:Rob Hughes
* Cast to correct datatype for Winsock API * Replace non-standard u_int32_t * Add missing link dependency of timelineDecoder on armnn * Don't try to link pthread if the platform doesn't have it * Use abstracted Socket type rather than int * Link to WinSock DLL on windows Change-Id: I9ace4af50257ce1e3da92fb4c452f36775dac973 Signed-off-by: Robert Hughes <robert.hughes@arm.com>
2020-05-18IVGCVSW-4449 Add missing QLstm nullptr checksJames Conroy
* Adds missing nullptr checks for peephole bias for QLstm. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: Ib04c8352141977cc7ea11a4859f1b11d46472722
2020-05-15IVGCVSW-4831 Fix Packet header includes in backendsFinn Williams
Signed-off-by: Francis Murtagh <francis.murtagh@arm.com> Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Iedfcf0ef487bd7836b1bc4ba8a0e4337dc4da391
2020-05-15IVGCVSW-4835 Change CounterSet and Device name offsets sizes to bytesFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I5dee006d5532cc85b86997a4cd0877afbf043122
2020-05-14MLCE-193 README and FAQ updates.Colm Donelan
* Add FAQ entry about ArmNN and ComputeLibrary mismatch * Add documentation reference to README that dynamically referrs to gh branch on GitHub. * Update ONNXSupport.mb to fix broken links. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I6390d87443c57cc43e27ea0a27f830f8fc25244d
2020-05-13IVGCVSW-4777 Add QLstm serialization supportJames Conroy
* Adds serialization/deserilization for QLstm. * 3 unit tests: basic, layer norm and advanced. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I97d825e06b0d4a1257713cdd71ff06afa10d4380
2020-05-13IVGCVSW-4828 Call m_CounterDirectory.IsCounterRegistered in ↵Finn Williams
ProfilingService::IsCounterRegistered Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I3d207a74a147f1ca2ddae43c65c65ca7cdbe2368
2020-05-13Update ACL pin to 4efe5dc9b39a87eface43e7468e08279976ae9efTeresa Charlin
* change neon softmax axis to be int Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I7a9486c11494ed4993abd683a50d6b4483f283e1
2020-05-13IVGCVSW-4753 Refactor CL Softmax workload generalizing for different datatypeTeresa Charlin
* Change ComputeSoftmaxAclAxis to work with int and uint axis Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ibbfa9ec7e2f0416e6885673212a767419c871cca
2020-05-13IVGCVSW-4737 Add check for CpuRef back-end before using it in testsFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Id7fbb7a39d2e9c7085636df44d4c8603a60cd4bf
2020-05-13IVGCVSW-4794 Change ArmNN counters to report delta valuesFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I7957ee41fd700ee502cc14aa313a60664d4caec9
2020-05-13IVGCVSW-4776 Warn when MIN_STATIC_GUID is returned from GenerateStaticId ↵Colm Donelan
multiple times. * Modify StaticGuidGeneratorCollisionTest to identify cases where MIN_STATIC_GUID has been returned from GenerateStaticId more than once. Output a warning rather than an error as this can happen on 32bit systems. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I47e9a1d9ff09c25da24abb4b0efe63d3000aa1c5
2020-05-13IVGCVSW-4775 Centralizing definition of ThreadIdSize to fix MLCE-189Colm Donelan
* Introduce a constant definition of the size of a POSIX thread ID. * Update all code to use the new constant definition. * Update all unit tests to use the new constant definition. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I836ab1a77ed13f774e66fd7b425923c24b9a6dab
2020-05-12IVGCVSW-4731 Move Packet.hpp to profiling/common/includeFinn Williams
* Refactor profiling cmake to fix inconsistencies/issues with includes Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I0836762d4c72e25754a28162ec54c8e332422a02
2020-05-08IVGCVSW-4794 Fix ArmNN Counters incorrectly set to deltaFinn Williams
* Change all ArmNN counters to absolute * Fix bug in the DirectoryCaptureCommandHandler where the offsets of the m_CounterClass and m_CounterInterpolation were swapped * Fix bug in the DirectoryCaptureCommandHandler where the offsets of the m_DeviceUid and m_CounterSetUid were swapped Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: If396628306757088aa0acf739fb3e4f240b4394b
2020-05-07IVGCVSW-4730 Remove the duplication of PIPE_MAGIC in the code baseFinn Williams
Change-Id: I41c6e917b29eee33360758b6c5afe5dadba89093 Signed-off-by: Finn Williams <Finn.Williams@arm.com>
2020-05-02IVGCVSW-4449 Add QLstm ref implementationJames Conroy
* Adds ref implemenation for new HAL 1.3 operator, QLstm. * Adds Layer and CreateWorkload unit tests. * Adds WorkloadData validate for QLstm. Signed-off-by: James Conroy <james.conroy@arm.com> Change-Id: I8a721f07ff06105e6495a1a0561b9503aa8146dc
2020-05-01Update the CounterDirectory Packet offsets to be relative to the start of ↵Finn Williams
the table containing that offset * IVGCVSW-4763 Update the event pointer table offsets * IVGCVSW-4764 Update the event record block offsets * IVGCVSW-4765 Update the device name offset * IVGCVSW-4766 Update the counter set name offset * IVGCVSW-4767 Update device pointer table offsets * IVGCVSW-4768 Update the counter set pointer table offsets * IVGCVSW-4769 Update the category pointer table offsets Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I6e815ae5b16478fc5ec760caf704451fe5f84a29
2020-04-30IVGCVSW-4760 Change the offsets in the counter directory body_header to be ↵Finn Williams
from the start of the packet body Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Ie5ef5e410f3b06f1c80c7c5ea2057f5008cf09ed
2020-04-30IVGCVSW-4753 Fix CpuAcc Hal 1.3 Softmax FailuresSadik Armagan
* Refactor Neon Softmax workload to accept supported data types Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I54aa72d5cbb862cafcc1eabe48f6a00d61050cd7
2020-04-30IVGCVSW-4732 Move NetworkSockets class needs to profiling/commonFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Ie1bd73e6c1818277943e70eaf73b4d9a26da4758
2020-04-30IVGCVSW-4749 Fix CpuAcc Hal 1.3 FullyConnected FailuresKevin May
* Use make_unique instead of MakeWorkloadHelper for FullyConnected Workload * Add Neon Workload Tests for QAsymmU8 and QAsymmS8 Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ie1359af8b0a0bec1e058e20fc789c2520ebe64e8
2020-04-29IVGCVSW-4686 Fix NNT GeneratedTests.TestsNarumol Prangnawarat
* Add bias dimension check for FullyConnected layer support Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I66db5332069a606b5d1f6c10faee38760b26a8f8
2020-04-29IVGCVSW-4186 Parse TfLite Exp and Split_V operatorsDerek Lamberti
Change-Id: I0cac7ebfe22f2782af3198e6231cb37fa51bbd62 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-04-29IVGCVSW-4203 Add Exp support to Neon backendDerek Lamberti
Change-Id: Ief6b79297b66a57643b7c5d6c7d820c35024dd08 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-04-27IVGCVSW-4594 Refactor the GatordMockService and GatordMockMain to extract a ↵Finn Williams
BasePipeServer Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I03c1b46104dadc491dba6075865e486f78aa60fa
2020-04-27IVGCVSW-4595 Add IFileOnlyPacketHandlers to file only profiling connectionJim Flynn
Change-Id: Ib49a8cbbf323da4109cdab9750e6c4d276e484b7 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-04-27IVGCVSW-4668 Add TENSOR_QUANT8_ASYMM_SIGNED data type support to CpuRef ↵Sadik Armagan
operators Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I094125ba80699cc3cf5226bda6662a54e6caa988
2020-04-27IVGCVSW-4728 Attempt to fix test failuresÉanna Ó Catháin
Change-Id: I0e0d4a8338c7df4f09518d9f84605b3cc002f2b0 Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
2020-04-27MLCE-190: Neon and CL Constant Workloads do not support newer DataTypesMike Kelly
* Added support for QASYMM8_SIGNED, QSYMM16, QSYMM8 and QSYMM8_PER_CHANNEL to Neon and CL backends * Added unit tests to Neon, CL and Ref backends Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I4c726b6d86b4d75abedd130dcea372d1e82be5c2
2020-04-27IVGCVSW-4722 Add missing m_TimelineEnabled bool to ↵Finn Williams
ConnectionAcknowledgedCommandHandler * Added timeline bool to ConnectionAcknowledgedCommandHandler * Added option to enable timeline profiling in ExecuteNetwork * Added CommandHandler stub to allow gatordMock to ignore packets Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I314f9411e0079cba8f103d3b8a89f2bf38bb21ab
2020-04-24Added new DataTypes to SerializerMike Kelly
* Added support for BFloat16 and QAsymmS8 to Serializr. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I481af26d5758190ec2e5cd9f9d232d72bcb7acbd
2020-04-24IVGCVSW-4686 Fix NNT GeneratedTests Abs_int32Kevin May
* Add Signed32 to WorkloadData for AbsQueueDescriptor * Add missing supported tests to Ref and Neon Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Iba9d29fedeb1d2e985272c9299ea42ba2571687b
2020-04-23IVGCVSW-4496 Updated ONNX documentationRyan OShea
- Updated supported operators Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I9b67eed3ac6dd910313acddb5673b5767ca19ac4
2020-04-23IVGCVSW-4496 Add Flatten support to ONNX parserRyan OShea
* Added ParseFlatten method * Added Read int64 attribute method - Modified ComputeReshapeInfo method - Modified ParseReshape * Added unit tests - Reorganised OnnxParser.cpp/.hpp Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I8a9553438dd1e8c702d821b093587e0074c027d5
2020-04-22IVGCVSW-4719 Remove possible zeros from SendStreamMetaDataPacket offsetsFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: I8d7ee408c4c73be9b42bb739254b95c476e0e38c
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