platform/upstream/armnn.git
4 years agoUpdate ACL pin to aba2f912a21487776e540724cf354a6cd8d89829
Nikhil Raj [Tue, 19 May 2020 10:05:29 +0000 (11:05 +0100)]
Update ACL pin to aba2f912a21487776e540724cf354a6cd8d89829

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I5fafae1e3d64056d2f717b2e74f675182e7c12d6

4 years agoIVGCVSW-4834 Add calls to increment REGISTERED_BACKENDS and UNREGISTERED_BACKENDS
Finn Williams [Fri, 15 May 2020 17:41:05 +0000 (18:41 +0100)]
IVGCVSW-4834 Add calls to increment REGISTERED_BACKENDS and UNREGISTERED_BACKENDS

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I3600dd15f97ccd4ab745deb87d06ba978e2a0b11

4 years agoFix some Windows build errors:
Rob Hughes [Fri, 24 Apr 2020 10:41:34 +0000 (11:41 +0100)]
Fix some Windows build errors:

* 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>
4 years agoIVGCVSW-4449 Add missing QLstm nullptr checks
James Conroy [Mon, 18 May 2020 14:16:42 +0000 (15:16 +0100)]
IVGCVSW-4449 Add missing QLstm nullptr checks

* Adds missing nullptr checks for peephole bias for
  QLstm.

Signed-off-by: James Conroy <james.conroy@arm.com>
Change-Id: Ib04c8352141977cc7ea11a4859f1b11d46472722

4 years agoRemove parsing of EthosN profiling data, too specific for pyarmnn
Nina Drozd [Fri, 15 May 2020 16:54:19 +0000 (17:54 +0100)]
Remove parsing of EthosN profiling data, too specific for pyarmnn

Signed-off-by: Nina Drozd <nina.drozd@arm.com>
Change-Id: I04d82dd3a9759c660fdb908433becda915a3f5b5

4 years agoIVGCVSW-4831 Fix Packet header includes in backends
Finn Williams [Fri, 15 May 2020 12:34:12 +0000 (13:34 +0100)]
IVGCVSW-4831 Fix Packet header includes in backends

Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Iedfcf0ef487bd7836b1bc4ba8a0e4337dc4da391

4 years agoUpdate ACL pin 3155f77d23eb332974a6b9cb5d37a1329b8493a6
Teresa Charlin [Fri, 15 May 2020 11:34:23 +0000 (12:34 +0100)]
Update ACL pin 3155f77d23eb332974a6b9cb5d37a1329b8493a6

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I2443dc8bc19239e954fff353a64d0b9d07623c6c

4 years agoIVGCVSW-4835 Change CounterSet and Device name offsets sizes to bytes
Finn Williams [Fri, 15 May 2020 10:21:54 +0000 (11:21 +0100)]
IVGCVSW-4835 Change CounterSet and Device name offsets sizes to bytes

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I5dee006d5532cc85b86997a4cd0877afbf043122

4 years agoUpdate ACL pin 090502887d87f52d28e98e90c0e17c582b9e63d6
Nikhil Raj [Fri, 15 May 2020 10:14:49 +0000 (11:14 +0100)]
Update ACL pin 090502887d87f52d28e98e90c0e17c582b9e63d6

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I8ba8dabba73b4682bc64c6719cf79f68383363b9

4 years agoMLCE-193 README and FAQ updates.
Colm Donelan [Thu, 14 May 2020 06:45:44 +0000 (07:45 +0100)]
MLCE-193 README and FAQ updates.

* 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

4 years agoUpdate ACL pin to f401c74a963a1ce2e188cd20269650063c1d483c
Nikhil Raj [Thu, 14 May 2020 09:01:00 +0000 (10:01 +0100)]
Update ACL pin to f401c74a963a1ce2e188cd20269650063c1d483c

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Iad18bd7f845a06438b3f4ce80a6f27e959d6912e

4 years agoIVGCVSW-4777 Add QLstm serialization support
James Conroy [Wed, 13 May 2020 09:27:58 +0000 (10:27 +0100)]
IVGCVSW-4777 Add QLstm serialization support

* 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

4 years agoIVGCVSW-4825 Set default value for --file-format argument in ExecuteNetwork
Finn Williams [Wed, 13 May 2020 16:19:14 +0000 (17:19 +0100)]
IVGCVSW-4825 Set default value for --file-format argument in ExecuteNetwork

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I834ef1ec7c2c7b5ece1c6d1cf3cfe5d856cde349

4 years agoIVGCVSW-4828 Call m_CounterDirectory.IsCounterRegistered in ProfilingService::IsCount...
Finn Williams [Wed, 13 May 2020 14:04:25 +0000 (15:04 +0100)]
IVGCVSW-4828 Call m_CounterDirectory.IsCounterRegistered in ProfilingService::IsCounterRegistered

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I3d207a74a147f1ca2ddae43c65c65ca7cdbe2368

4 years agoUpdate ACL pin to 4efe5dc9b39a87eface43e7468e08279976ae9ef
Teresa Charlin [Wed, 13 May 2020 14:16:12 +0000 (15:16 +0100)]
Update ACL pin to 4efe5dc9b39a87eface43e7468e08279976ae9ef

* change neon softmax axis to be int

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I7a9486c11494ed4993abd683a50d6b4483f283e1

4 years agoIVGCVSW-4753 Refactor CL Softmax workload generalizing for different datatype
Teresa Charlin [Mon, 11 May 2020 15:10:38 +0000 (16:10 +0100)]
IVGCVSW-4753 Refactor CL Softmax workload generalizing for different datatype

    * Change ComputeSoftmaxAclAxis to work with int and uint axis

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ibbfa9ec7e2f0416e6885673212a767419c871cca

4 years agoIVGCVSW-4737 Add check for CpuRef back-end before using it in tests
Finn Williams [Tue, 12 May 2020 12:37:06 +0000 (13:37 +0100)]
IVGCVSW-4737 Add check for CpuRef back-end before using it in tests

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Id7fbb7a39d2e9c7085636df44d4c8603a60cd4bf

4 years agoIVGCVSW-4794 Change ArmNN counters to report delta values
Finn Williams [Mon, 11 May 2020 13:38:02 +0000 (14:38 +0100)]
IVGCVSW-4794 Change ArmNN counters to report delta values

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I7957ee41fd700ee502cc14aa313a60664d4caec9

4 years agoIVGCVSW-4776 Warn when MIN_STATIC_GUID is returned from GenerateStaticId multiple...
Colm Donelan [Tue, 12 May 2020 16:17:59 +0000 (17:17 +0100)]
IVGCVSW-4776 Warn when MIN_STATIC_GUID is returned from GenerateStaticId 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

4 years agoMLCE-193 Add FAQ.md to ArmNN GitHub.
Colm Donelan [Fri, 8 May 2020 10:28:44 +0000 (11:28 +0100)]
MLCE-193 Add FAQ.md to ArmNN GitHub.

* Add basic FAQ.md file.
* Refer to the file from README.md

Signed-off-by: Colm Donelan <Colm.Donelan@arm.com>
Change-Id: I16b861cd5513bd5493e3d2d459b61378b36a6846

4 years agoIVGCVSW-4775 Centralizing definition of ThreadIdSize to fix MLCE-189
Colm Donelan [Tue, 12 May 2020 15:36:46 +0000 (16:36 +0100)]
IVGCVSW-4775 Centralizing definition of ThreadIdSize to fix MLCE-189

* 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

4 years agoIVGCVSW-4731 Move Packet.hpp to profiling/common/include
Finn Williams [Thu, 7 May 2020 09:38:15 +0000 (10:38 +0100)]
IVGCVSW-4731 Move Packet.hpp to profiling/common/include

 * Refactor profiling cmake to fix inconsistencies/issues with includes

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I0836762d4c72e25754a28162ec54c8e332422a02

4 years agoAdd test app to drive YoloV3 split model
Derek Lamberti [Tue, 28 Apr 2020 12:31:29 +0000 (13:31 +0100)]
Add test app to drive YoloV3 split model

Change-Id: I4877f170003d3a82f97311046c52571792ad735a
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
4 years agoUpdate ACL pin to 6f8b17dedb7b53b550e6210fd1c78c3a3e086271
Nikhil Raj [Mon, 11 May 2020 10:16:39 +0000 (11:16 +0100)]
Update ACL pin to 6f8b17dedb7b53b550e6210fd1c78c3a3e086271

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I7eba625193a2154b9376f8e21143864ff1884fc7

4 years agoUpdate ACL pin to 2886c757389c0ccca20a8689daf8180a730ecbc9
Nikhil Raj [Fri, 8 May 2020 09:19:25 +0000 (10:19 +0100)]
Update ACL pin to 2886c757389c0ccca20a8689daf8180a730ecbc9

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I9d214c3a3c439f3894105433657d5d4a69162b72

4 years agoIVGCVSW-4794 Fix ArmNN Counters incorrectly set to delta
Finn Williams [Fri, 8 May 2020 11:24:31 +0000 (12:24 +0100)]
IVGCVSW-4794 Fix ArmNN Counters incorrectly set to delta

 * 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

4 years agoIVGCVSW-4730 Remove the duplication of PIPE_MAGIC in the code base
Finn Williams [Wed, 29 Apr 2020 12:17:30 +0000 (13:17 +0100)]
IVGCVSW-4730 Remove the duplication of PIPE_MAGIC in the code base

Change-Id: I41c6e917b29eee33360758b6c5afe5dadba89093
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
4 years agoUpdate ACL pin to 2cfd3f754ec707c25f129c0026686035a0dcfc54
Nikhil Raj [Thu, 7 May 2020 10:07:28 +0000 (11:07 +0100)]
Update ACL pin to 2cfd3f754ec707c25f129c0026686035a0dcfc54

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Id3a693166ed61c37cb1627e68afd45d9496bb9a0

4 years agoUpdate ACL pin to 77b8859688c333bca35ebc8ca4d0b2652f480c4a
Nikhil Raj [Wed, 6 May 2020 08:56:30 +0000 (09:56 +0100)]
Update ACL pin to 77b8859688c333bca35ebc8ca4d0b2652f480c4a

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I72b0badee84aa04f866908eaf5155ee5855ed818

4 years agoMove PyArmNN test resources to external storage
Pavel Macenauer [Wed, 15 Apr 2020 13:28:29 +0000 (13:28 +0000)]
Move PyArmNN test resources to external storage

Change-Id: Ie2c94c8c58ed2964017bc049676ff32dc54c4ad0
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
4 years agoMLECO-763: fixes to PyArmNN failing unit tests
Nina Drozd [Tue, 5 May 2020 11:16:06 +0000 (12:16 +0100)]
MLECO-763: fixes to PyArmNN failing unit tests

Change-Id: Iac17cb6cd2136d5fd2f213561402f700329ac6c2
Signed-off-by: Nina Drozd <nina.drozd@arm.com>
4 years agoChanging print statement to logging
Richard Burton [Wed, 29 Apr 2020 19:07:09 +0000 (20:07 +0100)]
Changing print statement to logging

Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: I38a929ec6ba8c6df0a84122a3329d80f86b5c0d0

4 years agoUpdate ACL pin to 6f7585b21a13f4792ef1a55ac943997491ba8aec
Teresa Charlin [Tue, 5 May 2020 09:22:44 +0000 (10:22 +0100)]
Update ACL pin to 6f7585b21a13f4792ef1a55ac943997491ba8aec

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I3051307b36a3cf1594585973326a5a98cff44b96

4 years agoIVGCVSW-4449 Add QLstm ref implementation
James Conroy [Wed, 29 Apr 2020 19:01:10 +0000 (20:01 +0100)]
IVGCVSW-4449 Add QLstm ref implementation

* 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

4 years agoUpdate ACL pin to 359c48eaf251cbb84b523e5a67a099c739482e6c
Kevin May [Fri, 1 May 2020 17:02:30 +0000 (18:02 +0100)]
Update ACL pin to 359c48eaf251cbb84b523e5a67a099c739482e6c

Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: I2d7366a451c128bed15f825d37f2d5dda27f6600

4 years agoUpdate the CounterDirectory Packet offsets to be relative to the start of the table...
Finn Williams [Fri, 1 May 2020 12:25:55 +0000 (13:25 +0100)]
Update the CounterDirectory Packet offsets to be relative to the start of 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

4 years agoUpdate ACL pin to 8bb8de3772b37efb84959390582823488ab1b9e2
Nikhil Raj [Fri, 1 May 2020 09:05:33 +0000 (10:05 +0100)]
Update ACL pin to 8bb8de3772b37efb84959390582823488ab1b9e2

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I1d2b76f5473a0dec1e1f9695b28713bd366174c8

4 years agoIVGCVSW-4760 Change the offsets in the counter directory body_header to be from the...
Finn Williams [Thu, 30 Apr 2020 10:06:43 +0000 (11:06 +0100)]
IVGCVSW-4760 Change the offsets in the counter directory body_header to be from the start of the packet body

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ie5ef5e410f3b06f1c80c7c5ea2057f5008cf09ed

4 years agoIVGCVSW-4753 Fix CpuAcc Hal 1.3 Softmax Failures
Sadik Armagan [Thu, 30 Apr 2020 10:39:37 +0000 (11:39 +0100)]
IVGCVSW-4753 Fix CpuAcc Hal 1.3 Softmax Failures

* Refactor Neon Softmax workload to accept supported data types

Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I54aa72d5cbb862cafcc1eabe48f6a00d61050cd7

4 years agoIVGCVSW-4732 Move NetworkSockets class needs to profiling/common
Finn Williams [Wed, 29 Apr 2020 11:00:24 +0000 (12:00 +0100)]
IVGCVSW-4732 Move NetworkSockets class needs to profiling/common

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ie1bd73e6c1818277943e70eaf73b4d9a26da4758

4 years agoIVGCVSW-4749 Fix CpuAcc Hal 1.3 FullyConnected Failures
Kevin May [Wed, 29 Apr 2020 16:05:05 +0000 (17:05 +0100)]
IVGCVSW-4749 Fix CpuAcc Hal 1.3 FullyConnected Failures

* 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

4 years agoIVGCVSW-4686 Fix NNT GeneratedTests.Tests
Narumol Prangnawarat [Wed, 29 Apr 2020 11:58:17 +0000 (12:58 +0100)]
IVGCVSW-4686 Fix NNT GeneratedTests.Tests

 * Add bias dimension check for FullyConnected layer support

Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: I66db5332069a606b5d1f6c10faee38760b26a8f8

4 years agoUpdate ACL pin to 06cf9339ed4b86d559c837dcb7c1c273ae6a35eb
Nikhil Raj [Wed, 29 Apr 2020 13:40:24 +0000 (14:40 +0100)]
Update ACL pin to 06cf9339ed4b86d559c837dcb7c1c273ae6a35eb

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I72824658df274b6645a91806aec2c2f16398cb08

4 years agoIVGCVSW-4186 Parse TfLite Exp and Split_V operators
Derek Lamberti [Tue, 28 Apr 2020 12:37:49 +0000 (13:37 +0100)]
IVGCVSW-4186 Parse TfLite Exp and Split_V operators

Change-Id: I0cac7ebfe22f2782af3198e6231cb37fa51bbd62
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
4 years agoIVGCVSW-4203 Add Exp support to Neon backend
Derek Lamberti [Tue, 28 Apr 2020 12:34:56 +0000 (13:34 +0100)]
IVGCVSW-4203 Add Exp support to Neon backend

Change-Id: Ief6b79297b66a57643b7c5d6c7d820c35024dd08
Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
4 years agoPyArmNN example scripts
Pavel Macenauer [Wed, 15 Apr 2020 14:52:57 +0000 (14:52 +0000)]
PyArmNN example scripts

Change-Id: I2a5c3d291d19982c536c6b7341c01bb7c289871a
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
4 years agoIVGCVSW-4544 Update BuildGuideAndroidNDK.md guide
Nikhil Raj [Mon, 27 Apr 2020 10:40:59 +0000 (11:40 +0100)]
IVGCVSW-4544 Update BuildGuideAndroidNDK.md guide

 * Making updates to BuildGuideAndroidNDK.md with the android ndk-20b

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I06c027025d1036cd8d04f55abdff28bedbfbe24b

4 years agoUpdate ACL pin to 55c0c0c9559c08baed7f1c783404b83dff8c8e89
Nikhil Raj [Tue, 28 Apr 2020 11:48:42 +0000 (12:48 +0100)]
Update ACL pin to 55c0c0c9559c08baed7f1c783404b83dff8c8e89

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I954bd6fa298c72b9a8a2aaf8a3bc5ecbc3e5c719

4 years agoIVGCVSW-4594 Refactor the GatordMockService and GatordMockMain to extract a BasePipeS...
Finn Williams [Mon, 20 Apr 2020 20:21:07 +0000 (21:21 +0100)]
IVGCVSW-4594 Refactor the GatordMockService and GatordMockMain to extract a BasePipeServer

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I03c1b46104dadc491dba6075865e486f78aa60fa

4 years agoIVGCVSW-4595 Add IFileOnlyPacketHandlers to file only profiling connection
Jim Flynn [Sun, 29 Mar 2020 16:48:26 +0000 (17:48 +0100)]
IVGCVSW-4595 Add IFileOnlyPacketHandlers to file only profiling connection

Change-Id: Ib49a8cbbf323da4109cdab9750e6c4d276e484b7
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4668 Add TENSOR_QUANT8_ASYMM_SIGNED data type support to CpuRef operators
Sadik Armagan [Fri, 17 Apr 2020 11:45:14 +0000 (12:45 +0100)]
IVGCVSW-4668 Add TENSOR_QUANT8_ASYMM_SIGNED data type support to CpuRef operators

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I094125ba80699cc3cf5226bda6662a54e6caa988

4 years agoIVGCVSW-4728 Attempt to fix test failures
Éanna Ó Catháin [Mon, 27 Apr 2020 11:54:11 +0000 (12:54 +0100)]
IVGCVSW-4728 Attempt to fix test failures

Change-Id: I0e0d4a8338c7df4f09518d9f84605b3cc002f2b0
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
4 years agoMLCE-190: Neon and CL Constant Workloads do not support newer DataTypes
Mike Kelly [Mon, 27 Apr 2020 08:55:40 +0000 (09:55 +0100)]
MLCE-190: Neon and CL Constant Workloads do not support newer DataTypes

 * 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

4 years agoIVGCVSW-4722 Add missing m_TimelineEnabled bool to ConnectionAcknowledgedCommandHandler
Finn Williams [Thu, 23 Apr 2020 16:55:18 +0000 (17:55 +0100)]
IVGCVSW-4722 Add missing m_TimelineEnabled bool to 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

4 years agoMLECO-763: profiling helper updates for EthosN profiling
Nina Drozd [Thu, 23 Apr 2020 15:47:14 +0000 (16:47 +0100)]
MLECO-763: profiling helper updates for EthosN profiling

* new internal get_ethosn_profiling_data, reads trace.json file
* existing get_profiling_data updated to add ethosN profiling data

Change-Id: I76d4755736c4ba4d597f8196fee1ba9df32b90bb
Signed-off-by: Nina Drozd <nina.drozd@arm.com>
4 years agoAdded new DataTypes to Serializer
Mike Kelly [Fri, 24 Apr 2020 14:44:01 +0000 (15:44 +0100)]
Added new DataTypes to Serializer

 * Added support for BFloat16 and QAsymmS8 to Serializr.

Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Change-Id: I481af26d5758190ec2e5cd9f9d232d72bcb7acbd

4 years agoIVGCVSW-4686 Fix NNT GeneratedTests Abs_int32
Kevin May [Fri, 24 Apr 2020 08:42:31 +0000 (09:42 +0100)]
IVGCVSW-4686 Fix NNT GeneratedTests Abs_int32

* 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

4 years agoUpdate ACL pin to 2b84be544e4a27f7e8e80827e9c85c8f0d58b4ce
Nikhil Raj [Fri, 24 Apr 2020 08:55:27 +0000 (09:55 +0100)]
Update ACL pin to 2b84be544e4a27f7e8e80827e9c85c8f0d58b4ce

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I442b092cc8c3560cbbebd376fc319f0ea994e104

4 years agoIVGCVSW-4721 Make build of timelineDecoder.so depend only on BUILD_TIMELINE_DECODER
Jim Flynn [Thu, 23 Apr 2020 16:56:37 +0000 (17:56 +0100)]
IVGCVSW-4721 Make build of timelineDecoder.so depend only on BUILD_TIMELINE_DECODER

Change-Id: I49446f9fa8327a51bfc934dbb2d969a8e7367156
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
4 years agoIVGCVSW-4496 Updated ONNX documentation
Ryan OShea [Thu, 23 Apr 2020 14:45:04 +0000 (15:45 +0100)]
IVGCVSW-4496 Updated ONNX documentation

 - Updated supported operators

Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com>
Change-Id: I9b67eed3ac6dd910313acddb5673b5767ca19ac4

4 years agoUpdate ACL pin to b70770ee65ccce71a74e73df55fcaeac3cb9d0d7
Nikhil Raj [Thu, 23 Apr 2020 11:02:02 +0000 (12:02 +0100)]
Update ACL pin to b70770ee65ccce71a74e73df55fcaeac3cb9d0d7

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I4f34e7ec3a66919379c2d96a6dedcb7117fbc723

4 years agoIVGCVSW-4496 Add Flatten support to ONNX parser
Ryan OShea [Wed, 22 Apr 2020 15:37:29 +0000 (16:37 +0100)]
IVGCVSW-4496 Add Flatten support to ONNX parser

 * 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

4 years agoIVGCVSW-4708 Add command to send activate/deactivate timeline packets to garodmock...
Finn Williams [Wed, 22 Apr 2020 12:35:35 +0000 (13:35 +0100)]
IVGCVSW-4708 Add command to send activate/deactivate timeline packets to garodmock CommandFileParser

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I80a0658b39ba10bf808430d463e783083f7809f8

4 years agoIVGCVSW-4719 Remove possible zeros from SendStreamMetaDataPacket offsets
Finn Williams [Wed, 22 Apr 2020 11:27:37 +0000 (12:27 +0100)]
IVGCVSW-4719 Remove possible zeros from SendStreamMetaDataPacket offsets

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: I8d7ee408c4c73be9b42bb739254b95c476e0e38c

4 years agoIVGCVSW-4718 Fix failing Execute Network Tests
David Monahan [Wed, 22 Apr 2020 10:28:23 +0000 (11:28 +0100)]
IVGCVSW-4718 Fix failing Execute Network Tests

 * Fix for StringTokenizer utility method to match Boost::Split implementation

Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I50e047ff72191da9aa06b71370c4354c5a78eb9b

4 years agoIVGCVSW-4675 Fixes for VTS 1.3 GeneratedTest.Test/armnn_resize*
David Monahan [Mon, 20 Apr 2020 15:14:54 +0000 (16:14 +0100)]
IVGCVSW-4675 Fixes for VTS 1.3 GeneratedTest.Test/armnn_resize*

 * Adding HalfPixelCenters parameter to Resize Descriptor

!android-nn-driver:3061

Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I2713125525f434f5abe5a87183723e482df27a43

4 years agoUse X macro for the enum class LayerType
Laurent Carlier [Thu, 16 Apr 2020 11:02:05 +0000 (12:02 +0100)]
Use X macro for the enum class LayerType

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

4 years agoIVGCVSW-4513 Remove boost/algorithm/string *
David Monahan [Thu, 16 Apr 2020 09:01:56 +0000 (10:01 +0100)]
IVGCVSW-4513 Remove boost/algorithm/string *

 * 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

4 years agoUpdate ACL pin to d1d7722cfc5ee130115d8d195068a98b16102a21
Nikhil Raj [Mon, 20 Apr 2020 08:44:23 +0000 (09:44 +0100)]
Update ACL pin to d1d7722cfc5ee130115d8d195068a98b16102a21

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ie25d4347077c1e0f9fca5533fe54dbdf0752ba02

4 years agoUpdate ACL pin to b7f4a95c4bf27b4507e5b3b9278c249b1feefe36
Nikhil Raj [Fri, 17 Apr 2020 08:57:28 +0000 (09:57 +0100)]
Update ACL pin to b7f4a95c4bf27b4507e5b3b9278c249b1feefe36

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I49d1075d73639266d4bcabe3594e79d55a58e881

4 years agoIVGCVSW-4704 Update links to how to guides in our README.md
Nikhil Raj [Thu, 16 Apr 2020 16:45:48 +0000 (17:45 +0100)]
IVGCVSW-4704 Update links to how to guides in our README.md

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I11d059a76062cb7a0efb3e5fcece1d528e6d1879

4 years agoIVGCVSW-4701 Make the GUIDGenerator thread safe
Finn Williams [Thu, 16 Apr 2020 15:57:59 +0000 (16:57 +0100)]
IVGCVSW-4701 Make the GUIDGenerator thread safe

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Ide55731c51a8b77d71bfa4f3f7f0d122bb643d87

4 years agoIVGCVSW-4699 Force timestamps to always be in nanoseconds
Finn Williams [Thu, 16 Apr 2020 14:32:28 +0000 (15:32 +0100)]
IVGCVSW-4699 Force timestamps to always be in nanoseconds

Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: Id0fef58ff06caae258d9a77132a7ab1ae0c23060

4 years agoIVGCVSW-4696 Update BuildGuideCrossCompilation guide
Nikhil Raj [Tue, 14 Apr 2020 13:41:55 +0000 (14:41 +0100)]
IVGCVSW-4696 Update BuildGuideCrossCompilation guide

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I1d4eaed8830b034a5ac384020abe8f5b2d7d35cf

4 years agoMLECO-712 Enable creation of runtime with external profiling support
Éanna Ó Catháin [Thu, 16 Apr 2020 07:54:12 +0000 (08:54 +0100)]
MLECO-712 Enable creation of runtime with external profiling support

Change-Id: Ie0af439817eb4ed70e6112b2eb6f4a2c787a6bd0
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
4 years agoIVGCVSW-4483 Removes boost::polymorphic_pointer_downcast
Jan Eilers [Fri, 10 Apr 2020 12:00:44 +0000 (13:00 +0100)]
IVGCVSW-4483 Removes boost::polymorphic_pointer_downcast

 * replace boost::polymorphic_pointer_downcast by PolymorphicPointerDowncast
 * replaced/removed includes

Signed-off-by: Jan Eilers <jan.eilers@arm.com>
Change-Id: I0ef934a3804cf05e4c38dec6c4ec49c76111a302

4 years agoIVGCVSW-4483 Introduce PolymorphicPointerDowncast
Jan Eilers [Fri, 10 Apr 2020 11:40:24 +0000 (12:40 +0100)]
IVGCVSW-4483 Introduce PolymorphicPointerDowncast

 * 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

4 years agoAdd PyArmNN to work with ArmNN API of 20.02
Richard Burton [Wed, 8 Apr 2020 15:39:05 +0000 (16:39 +0100)]
Add PyArmNN to work with ArmNN API of 20.02
* 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>
4 years agoIVGCVSW-4666 Call EnableProfiling when state switches to active
Finn Williams [Thu, 9 Apr 2020 15:05:28 +0000 (16:05 +0100)]
IVGCVSW-4666 Call EnableProfiling when state switches to active

 * 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

4 years agoIVGCVSW-4483 Remove boost::polymorphic_downcast
Jan Eilers [Thu, 2 Apr 2020 12:56:54 +0000 (13:56 +0100)]
IVGCVSW-4483 Remove boost::polymorphic_downcast

 * 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

4 years agoIVGCVSW-4641 Investigate Hal 1.3 VTS Failures
Sadik Armagan [Thu, 9 Apr 2020 14:48:44 +0000 (15:48 +0100)]
IVGCVSW-4641 Investigate Hal 1.3 VTS Failures

* Add QASYMM8_SIGNED data type support to NeonTensorHandle

Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: Iae34f7d67de83642606ccd8c61a1b72df7f2bb3a

4 years agoUpdate ACL pin to 8abbabd6ad946441c8ef1a03896fa98f7801af1f
Nikhil Raj [Wed, 8 Apr 2020 15:58:04 +0000 (16:58 +0100)]
Update ACL pin to 8abbabd6ad946441c8ef1a03896fa98f7801af1f

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I55f244aa766ed8e798f653dce608c2570d3f4541

4 years agoIVGCVSW-4661 Add include Assert to GatordMockService.cpp
Narumol Prangnawarat [Tue, 7 Apr 2020 11:25:05 +0000 (12:25 +0100)]
IVGCVSW-4661 Add include Assert to GatordMockService.cpp

Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com>
Change-Id: Idcd0927b40fd4b9106f419f379e8b052280db040

4 years agoUpdate ACL pin to 4df2cf3177129d10500d30056bf8404418f703d6
Nikhil Raj [Mon, 6 Apr 2020 15:58:09 +0000 (16:58 +0100)]
Update ACL pin to 4df2cf3177129d10500d30056bf8404418f703d6

Change-Id: Ib88b602b49139724bc1ec094a8ea471b5c96ab3d
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
4 years agoIVGCVSW-4485 Remove Boost assert
Narumol Prangnawarat [Wed, 1 Apr 2020 15:51:23 +0000 (16:51 +0100)]
IVGCVSW-4485 Remove Boost assert

 * 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

4 years agoIVGCVSW-3753 Add Clip support to the onnx parser
Finn Williams [Fri, 27 Mar 2020 11:11:50 +0000 (11:11 +0000)]
IVGCVSW-3753 Add Clip support to the onnx parser

Change-Id: I68c842c5906f03b8f5a6131537fea3a1a0db980a
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
4 years agoGithub #367
Jegathesan Shanmugam [Fri, 27 Mar 2020 02:39:29 +0000 (08:09 +0530)]
Github #367
Updated aarch64-linux-gnu tool chains export method.

Signed-off-by: Jegathesan Shanmugam <nullbyte.in@gmail.com>
Change-Id: I442f387200c7e57e0fe4447eeb8df1fd7bec31d8

4 years agoAdd flow to exclude libOpenCL when building AndroidnNN
alered01 [Fri, 3 Apr 2020 14:37:13 +0000 (15:37 +0100)]
Add flow to exclude libOpenCL when building AndroidnNN

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>
4 years agoIVGCVSW-4514 Remove lexical_cast.hpp
David Monahan [Fri, 3 Apr 2020 09:22:59 +0000 (10:22 +0100)]
IVGCVSW-4514 Remove lexical_cast.hpp

Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I992379f03d1cfe3c019bb23786458d4f22df6b17

4 years agoIVGCVSW-4455 Add an Activate and Deactivate control packet to the protocol
Keith Davis [Mon, 30 Mar 2020 09:43:41 +0000 (10:43 +0100)]
IVGCVSW-4455 Add an Activate and Deactivate control packet to the protocol

 * 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

4 years agoUpdate ACL pin to cbd8144cf623b7d6f691ba7d3a30ae933e87efd8
Nikhil Raj [Thu, 2 Apr 2020 09:58:57 +0000 (10:58 +0100)]
Update ACL pin to cbd8144cf623b7d6f691ba7d3a30ae933e87efd8

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I95283b5f1eefcde5bd333373bd0108fe7c73237e

4 years agoIVGCVSW-4643 Add Convolution2D tests with Bfloat16 input and Float32 output
Narumol Prangnawarat [Wed, 1 Apr 2020 15:51:23 +0000 (16:51 +0100)]
IVGCVSW-4643 Add Convolution2D tests with Bfloat16 input and Float32 output

 * 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

4 years agoIVGCVSW-4641 Investigate Hal 1.3 VTS Failures
Sadik Armagan [Wed, 1 Apr 2020 16:35:30 +0000 (17:35 +0100)]
IVGCVSW-4641 Investigate Hal 1.3 VTS Failures

* Added QAsymmS8 data type support for bias

Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I1dfe50b23a4ba479d35f5e6996ea8e25aee0033b

4 years agoMLECO-756 First cut of adding JSONTimelineDecoder and tests
Éanna Ó Catháin [Wed, 1 Apr 2020 14:40:12 +0000 (15:40 +0100)]
MLECO-756 First cut of adding JSONTimelineDecoder and tests

Change-Id: Ibcd5fdefb5dda3ac3f2a5ff6d6eca618c27c538b
Signed-off-by: Éanna Ó Catháin <eanna.ocathain@arm.com>
4 years agoIVGCVSW-4531 Tweak to an existing fix for failing NNT tests on Android R
David Monahan [Tue, 31 Mar 2020 11:19:57 +0000 (12:19 +0100)]
IVGCVSW-4531 Tweak to an existing fix for failing NNT tests on Android R
HAL 1.1/1.2 to account for negative slices

Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: Ia98101b07b826359fb621b801fcbc811d7ec6f6a

4 years agoUpdate ACL pin to afc630fee1c019bfbc191c37d9d7fdf805b0b1d7
Nikhil Raj [Wed, 1 Apr 2020 10:18:52 +0000 (11:18 +0100)]
Update ACL pin to afc630fee1c019bfbc191c37d9d7fdf805b0b1d7

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Id49a30be1e9d58a9fcec60bfeccd488f323dfe86

4 years agoUpdate ACL pin to 5219ed8a3c56db22867cc0c49db93951a7acb36d
Nikhil Raj [Tue, 31 Mar 2020 09:04:14 +0000 (10:04 +0100)]
Update ACL pin to 5219ed8a3c56db22867cc0c49db93951a7acb36d

Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: I7bc5667e9f05f700c182e1623ffee94a69f1459a

4 years agoIVGCVSW-4633 Add conversion of BF16 support to Neon
Narumol Prangnawarat [Mon, 30 Mar 2020 15:11:04 +0000 (16:11 +0100)]
IVGCVSW-4633 Add conversion of BF16 support to Neon

 * 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

4 years agoIVGCVSW-4590 Fix Lstm layers CellToInputWeights
Jan Eilers [Mon, 30 Mar 2020 14:07:45 +0000 (15:07 +0100)]
IVGCVSW-4590 Fix Lstm layers CellToInputWeights

* 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

4 years agoIVGCVSW-4603 Support comparison operators in Neon
Teresa Charlin [Mon, 30 Mar 2020 10:17:30 +0000 (11:17 +0100)]
IVGCVSW-4603 Support comparison operators in Neon

    * Deprecate NeonGreaterWorkload
    * Add NeonComparisonWorkload to encompass all comparison operators

Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I5e828088d17e994fc5cb0b908719b53ee01fa959