aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-11Updating armnn-arm_compute to arm_compute_library.Mike Kelly
Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I7c608a75d0dbeb2f95df94440e23aecfa97bd93b
2020-02-10IVGCVSW-4424 Set minimum timeout for SendThread in WaitingForAck stateFinn Williams
Signed-off-by: Finn Williams <Finn.Williams@arm.com> Change-Id: Iee7de5040e355933b7e14a39d44e9d51b30427c8
2020-02-10IVGCVSW-4328 BufferManager running out of buffers crashes applicationSadik Armagan
* Refactored SendCounterPacket classes, separated SendCounterPacket from Send thread * Created ISendThread.hpp, IConsumer, SendThread.hpp and SendThread.cpp * Injected IConsumer to BufferManager to notify SendThread when packet is ready to read Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I80f0bb8b8401c6bfd1611f7760217c6fe35d7ad8
2020-02-10IVGCVSW-4409 Fix TfLiteParser to handle all datatypes correctlyRyan OShea
* Added check for QAsymmS8 datatype for Per-Tensor quantization Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I902aa3863dd5cefdce90e68be8a5750dd6ff9e54
2020-02-10Clean up header inclusion in CL workloads.Matthew Bentham
Remove usage of CLFunctions.h and replace with specific header for each function. Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com> Change-Id: I255a843b36a5dd8cf90a52786282192b8fe04f83
2020-02-10Suppress warnings from OpenCL include folder.Matthew Bentham
Fixes an odd compiler warning with half.hpp when included from ComputeLibrary/include directory. Signed-off-by: Matthew Bentham <matthew.bentham@arm.com> Change-Id: I17d251bb68384c357ffb93ea8e63333564aba659
2020-02-10IVGCVSW-4400 Adding invocation of the back to Profiling Service initialisationDavid Monahan
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I5f3bb4c9cde1cca11b8f6201ab559c2960eb32c0
2020-02-10IVGCVSW-4319 Implement Counter Status QueryingJames Conroy
* Adds implementations for GetCounterStatus and GetActiveCounters. * Adds CheckCounterStatusQuery in ProfilingTests. * Modifies Holder and ProfilingService to open up access to CaptureData for use by BackendProfiling. Signed-off-by: James Conroy <james.conroy@arm.com> Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: Iec47952545c0072a71088b12ca3dc31673fa9c51
2020-02-10IVGCVSW-4402 Modify the signature of CreateBackendProfilingContextNarumol Prangnawarat
as the signature in IBackendInternal is changed to remove const Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I773cbc36f49bde13e498a05399d55ca9b0343d31
2020-02-07IVGCVSW-4386 Add ArmNN reference support for QAsymmS8Ryan OShea
* Added Quantization Scheme for QAsymmS8 * Added Unit Tests for QAsymmS8 * Renamed QAsymm8 calls to QAsymmU8 Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I897b4e018ba1d808cc3f8c113f2be2dbad49c8db
2020-02-07IVGCVSW-4402 add boost and armnn path to sample dynamic backendNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ibeed3301352d8f15e144f8466d8a26b21c744b84
2020-02-07IVGCVSW-4418 disable unused variable and parameter warning for Caffe protobuf ccNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I903b75276b0c98894d8116a3d244103a910efa63
2020-02-07MLCE-139: add capability to align corners for bilinear resizeSang-Hoon Park
* Add parsing of the related parameter to TfLiteParser * Update ResizeDescriptor to store the additional parameter * Update NEON/CL workload to pass the additional parameter. * Update Reference workload to pass and handle the additional parameter. !ComputeLibrary:2538 !ComputeLibrary:2569 !armnn:2612 Signed-off-by: Sang-Hoon Park <sang-hoon.park@arm.com> Change-Id: Id149e1c24c2abed7e9dd81939acf54dfabfcdfd2
2020-02-07Update ACL pin to c971cf1034a61875c8e8c87d48634cbfac3865fdTeresa Charlin
* COMPMID-3090: Fail NEON/ColorConvert/RGBtoU8 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I551e5a6e4d755a52e67298b94c44ede61c8431c0
2020-02-07IVGCVSW-4317 Implement the Profiling Context InitialisationColm Donelan
* Call CreateBackendProfilingContext on each backend from Runtime passing an instance of the BackendProfiling interface. * Modify the signature of CreateBackendProfilingContext to remove const and return a shared_ptr to BackendProfilingContext * Add concrete BackendProfiling class. * Store BackendProfilingContexts in Profiling service. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I975eaa2093ae91fa623835f65f9e5b25eb65117a
2020-02-06Update ACL pin to 4bce11548268b9a10b0f06eff3cff9ae06d5b9ddKevin May
* COMPMID-3063: Address Custom Convolution failures Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I9fce935d72aca67198ab381351828cd016c0c41d
2020-02-05IVGCVSW-4404 Add libraries to sample dynamic backend for androidNarumol Prangnawarat
* Add Boost and armnn paths * Add CreateBackendProfilingContext, CreateWorkloadFactory, CreateBackendProfilingContext Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: Ib36d751b15450a922c12895e292abafe06f9e7cf
2020-02-05IVGCVSW-4389 Enable ClTuner in ClContextControlDerek Lamberti
Change-Id: If169736c4523a92f9aa10eac13e320eb41088624 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-02-04Clean up header usage a bit in NEON backendMatthew Bentham
Including NEFunctions.h is unnecessary and adds about a second to compile time each translation unit in which it appears, so we should use just the header file with the arm compute function declarations that we need. Signed-off-by: Matthew Bentham <matthew.bentham@arm.com> Change-Id: I605d0eb82ccf2aafa35381a5d9d54337d3fe17a7
2020-02-04Build graph->inputIds/outputIds with layerBindingId instead of layerIndexexperimental/QuantizerStuffTee Jung
Signed-off-by: Jung Tae-young tee.ty.jung@openedges.com Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I25ceeca70e72fad88ab039aed5a5ab6a7cc08c6c Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-02-04Github #273 Handle failure to initialise BackendContext in RuntimeMatthew Bentham
Define CreateBackendContext to throw BackendUnavailableException if necessary runtime components are missing. Handle this in the constructor of Runtime by not adding those backends to the internal DeviceSpec owned by the Runtime. Signed-off-by: Matthew Bentham <Matthew.Bentham@arm.com> Change-Id: Iadffb5240e32e1f105683c4d361276b92d1e720c
2020-02-04IVGCVSW-4390 Refactor QUANTIZE to make use of Decoder/Encoder typesKeith Davis
* Fix bug where QSymmS8 is duplicated and F16 is missing Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I312815868e74a9dff913bac052f1a86585644098
2020-02-03IVGCVSW-4365 Update ACL pin to 5c829cab49b0dcffd893065af05f0bf028e7a548Teresa Charlin
* Fix CTS for ArgMinMax Change-Id: I61ac4f80550bc3cbf2e19af5e602e3070c43ea1d Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
2020-02-03IVGCVSW-4399 Create Sample Dynamic backendNarumol Prangnawarat
* Move IWorkload and WorkloadInfo to include/armnn/backends * Add simple sample dynamic backend with addition workload * Add sample example to run dynamic backend * Unit tests Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I0753ce35b8e8a6223a1471388b49246d82438a44
2020-02-03IVGCVSW-4334 Wire Signed Quantized 8 bit type into ACLKeith Davis
* Add QSymmS8 LayerSupport tests for all backends * Update BatchNormalization IsLayerSupport Bias' QSymmS8 case Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: Ib66befe11f9df5956869eb80699fc415a4d3fa16
2020-02-03IVGCVSW-4393 Register backend countersJim Flynn
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I419ecc2fce4b7e0fcaeb6d1f9cb687c0b660125d Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-02-02IVGCVSW-4394 Add CounterIdMap to Profiling ServiceJim Flynn
Change-Id: I416397a7855fe45319b4801252e141b78f0325f0 Signed-off-by: Jim Flynn <jim.flynn@arm.com>
2020-01-31IVGCVSW-4390 Refactor QUANTIZE to make use of Decoder/Encoder typesKeith Davis
* Add no-ops for CL/NEON Uint8 * Refactor Quantize workload to Decoder/Encoder types Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I80b09de528299b925e2ac38acd9a5019b8d3e4ac
2020-01-31IVGCVSW-4388 Update ACL pin to 6a342648ae50beb8457871862f14fc9baef6b74fTeresa Charlin
!android-nn-driver:2671 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ifeb6be7812fbb98b37f2a1439bfd5a3215de2a62
2020-01-31IVGCVSW-4196 Add condition to check to add common source for AndroidNarumol Prangnawarat
to dynamic reference CMakeLists Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I7a60903e2af0fdbceabbad312616ecc049f9701d
2020-01-30IVGCVSW-4171 Temporarily disable DumpOutgoingValidFileEndToEnd unit testJan Eilers
* Test causes intermittent failures on CI system * Temporarily disabled until fix is found Signed-off-by: Jan Eilers <jan.eilers@arm.com> Change-Id: I689a4688d64040d557c63829a765d2c07c4fac3a
2020-01-30IVGCVSW-4391 Add Global/Backend Counter ID mapDavid Monahan
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I943e02bc2026564e3a19d03e81ba75850d204497
2020-01-29IVGCVSW-4322 Remove deprecated AbsLayer and RsqrtLayer and add sourceNarumol Prangnawarat
for all environment to dynamic reference backend CMakeLists Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I2db1f48597b2af08c9d6d8d052ca08e885e51563
2020-01-29IVGCVSW-4149 Enable quantisation multiplier > 1 in all convolutionsRyan OShea
Signed-off-by: Ryan OShea <Ryan.OShea2@arm.com> Change-Id: I9652844a868ce8e05c0433c051e7079cf203c422
2020-01-29IVGCVSW-4316 First draft of IBackendProfiling and IBackendProfilingContextColm Donelan
* Introduce two new backend profiling interfaces IBackendProfiling and IBackendProfilingContext. * Add a mechanism to pull a context from a backend through IBackendInternal * Update CL, Neon and Ref backends to return an empty profiling backend. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I6e7438fcb126ad7a073a226862dc44836c9998b7
2020-01-29IVGCVSW-4152 Remove check for QAsymm8 in ArgMinMax CL layer supportRyan OShea
* Added ClLayerTests * Added ClEndToEndTests Signed-off-by: Ryan OShea <ryaosh02@e121865.galway.arm.com> Change-Id: I1512ebae248dee9a0e6a8c4f52ecf99f677a22c6
2020-01-28IVGCVSW-4306 Verify the tflite Yolo v3Keith Davis
* Added debug layer support for QSymmS8 * QSymmS8 support for workloads Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I51af92fadc0be290629dd9198beab5abef9e351f
2020-01-28IVGCVSW-4335 Add support for per-channel QSymm8 to TfLite parserKeith Davis
Signed-off-by: Keith Davis <keith.davis@arm.com> Change-Id: I52f777f56138a27655a821aff376ecd0d3d23511
2020-01-28IVGCVSW-4360 Update ACL pin to 19bd412fd044197726dbd8c756dbd74a9e33fd2bTeresa Charlin
!android-nn-driver:2614 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I3b4019cb562bd13cc661d9c175de4e3e1adea9a2
2020-01-28IVGCVSW-4369 Add default offset and scale to IsLayerSupportedTestImplTeresa Charlin
*Fix IsLayerSupportedUint8Cl failure due to scale=0 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: I6e5125eccdd495a9c98b434837d1e9ab371a4e8e
2020-01-28IVGCVSW-4316 Promote ISendTimelinePacket and IProfilingGuidGeneratorColm Donelan
As part of IVGCVSW-4316 we need to expose ISendTimelinePacket and IProfilingGuidGenerator to enable them to be used by backends for profiling. This also required moving ProfilingRelationshipType from ProfilingUtils. Signed-off-by: Colm Donelan <Colm.Donelan@arm.com> Change-Id: I58cc64e32ecfffa5231c9d2028522ed58d0ddf31
2020-01-27IVGCVSW-4313 Add Android case to dynamic reference CMakeListsNarumol Prangnawarat
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: I10724f2874018fb214cd12c3aef45be5347a8306
2020-01-27IVGCVSW-4380 Add NEON backend support for BatchToSpaceNdMike Kelly
* Added NeonBatchToSpaceNdWorkload class. * Added CreateBatchToSpaceNd implementation to NeonWorkloadFactory. * Added IsBatchToSpaceNdSupported implementation to NeonLayerSupport. * Enabled BatchToSpaceNd tests on Neon backend. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I179feefaa67dc87a03fcbe52e5df100c1188f9a5
2020-01-24IVGCVSW-4262 Use ACL Permute and Reshape Validate function in Neon and CLKevin May
!android-nn-driver:2642 Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: Ibabb73c0ae0df2e530a68398f75c76e6b80c0701
2020-01-24Updates to Filesystem.cpp/hpp and NetworkSockets.cpp/hpp to fix failing masterDavid Monahan
Signed-off-by: David Monahan <david.monahan@arm.com> Change-Id: I566c29754aa586167a938d2c2b4e5069a39b5e50
2020-01-24MLCE-156: Add Division workload in CpuAccPablo Tello
Change-Id: I1f228fcaf1077867d9755a2b850c6703387fab34 Signed-off-by: Pablo Tello <pablo.tello@arm.com>
2020-01-24IVGCVSW-4374 Add NEON backend support for SpaceToBatchNdMike Kelly
* Added NeonSpaceToBatchNdWorkload class. * Added CreateSpaceToBatchNd implementation to NeonWorkloadFactory. * Added IsSpaceToBatchNdSupported implementation to NeonLayerSupport. * Enabled SpaceToBatchNd tests on Neon backend. Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: Ic7d469a380482ec9febd44450f72dd7e53cda03f
2020-01-24Add ARMNN_DLLEXPORT macro to import/export static data symbols on WindowsRob Hughes
Armnn has several static data symbols that are needed by the unit tests. These are now explicitly marked for import when that header is included from the unit test code. See also https://cmake.org/cmake/help/v3.4/prop_tgt/WINDOWS_EXPORT_ALL_SYMBOLS.html. Change-Id: I4e71ba659b6321659a1396125b5a9c271578040f Signed-off-by: Robert Hughes <robert.hughes@arm.com>
2020-01-24IVGCVSW-4370 Deprecate DataType::QuantizedSymm8PerAxisDerek Lamberti
!android-nn-driver:2622 Change-Id: If99d3eff71ff66ba28af1e5af248299fe04511b9 Signed-off-by: Derek Lamberti <derek.lamberti@arm.com>
2020-01-23IVGCVSW-4259 Add frontend and reference workload for UnaryOperationLayerjosh minor
* Added new layer named ElementwiseUnary * Deprecated existing Abs/Rsqrt layer functions * Updated existing Abs/Rsqrt test infrastructure to use new layer * Added boilerplate for new Exp,Neg,Sqrt elemwise op layers * AbsQuantize test removed pending future commit * Serialization support added !android-nn-driver:2550 Change-Id: Ic595c645925e17b45db568187fd05646daf2e87f Signed-off-by: josh minor <josh.minor@arm.com>