aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl/workloads
AgeCommit message (Collapse)Author
2019-01-02MLCE-82 Add Neon Mean support and unit testsMatthew Bentham
Factor out new BuildArmComputeReductionCoordinates function from CL backend into ArmComputeTensorUtils. Update NEON LayerSupport and WorkloadFactory objects Change-Id: Icc975ec699199bffafbdb207323df509d35e1e04
2018-12-20IVGCVSW-2164 Added ACL implementation of SpaceToBatchNd operation to ArmNNSadik Armagan
!android-nn-driver:428 Change-Id: I42e59ad96d2c80f46b085182855d34b710a74dfe
2018-12-20IVGCVSW-2211 Maximum operator support (CL)keidav01
* Added CLMaximumWorkload implementation * Added CL unit tests Change-Id: I922c83fe25d17be21a5d0f4e861038463cb09789
2018-12-18IVGCVSW-2131 Implementation of StridedSlice operationkeidav01
* Added ACl Implementation to ArmNN * Added helper function for setting CL Strided Slice arguments Change-Id: Ie10d387fdb054027ea9b8782743d270bb72949c1
2018-12-10IVGCVSW-2354 Remove dimension validation from softmaxMohamed Nour Abouelseoud
Change-Id: I0d69a72df9e348cbeca690926485c050499d1051
2018-11-28IVGCVSW-1199: BATCH_TO_SPACE_ND integrate Arm Compute CLMike Kelly
Change-Id: Ic772acf481caed6e8a6b99f68a63dfc2a34c24dc
2018-11-19IVGCVSW-2169 Remove DataLayoutIndexed from public APIMatthew Bentham
Change-Id: If8d8087d9d365e467d3ca9bf9c40d7219cb75cfd
2018-11-19IVGCVSW-2043 - Merger using ACL for innermost concat axisNikhil Raj
* Add ClMergerWorkload and NeonMergerWorkload to call ACL for innermost concat axis * Modify layer support to call ClMergerWorkloadValidate and NeonMergerWorkloadValidate when concat axis is inner most * Add m_ConcatAxis to MergerDescriptor * Modify MergerQueueDescriptor::Validate to check sub tensor only when using subtensor !android-nn-driver:166 Change-Id: I56676b43964c8d6d726387b41b3cc34a512c0f0a
2018-11-16IVGCVSW-2017: CLWorkload to use L2NormalizationFrancisMurtagh
* Changed ClL2Normalisation from using CLNormalizationLayer to use CLL2NormalizeLayer to normalise along the channel axis in either NCHW or NHWC format. Change-Id: I399cbee408a277d1ef8c6c85ebcbd86d6c3e407b
2018-11-16IVGCVSW-2092 Port LSTMCell::Eval to ArmNNMatteo Martincigh
* Ported Google's LSTM implementation to RefLstmFloat32Workload * Fixed the code throughout because of an error in the docs around the scratch buffer size * Updated IsLstmSupported * Added the unit tests !android-nn-driver:127 Change-Id: I5577b7e39ca52df1a7f102a9b437df6aa99520b6
2018-11-05IVGCVSW-2113: Update ClDepthWiseConvolutionWOrkload to suit NCHW/NHWC ↵saoste01
DataLayout (3*3 Optimization) Change-Id: Icfc137201c52e2c856076b7795572cc4ba75cc95
2018-11-02IVGCVSW-1946: Remove armnn/src from the include pathsAron Virginas-Tar
Change-Id: I663a0a0fccb43ee960ec070121a59df9db0bb04e
2018-10-25IVGCVSW-2049 + IVGCVSW-2051 Create the CL Mean Float workload and addMatteo Martincigh
the unit tests * Created the ClFloatWorkload class * Added ClMeanValidate validation function * Added helper function to convert the reduction axes from the ArmNN format to ACL's * Added workload tests * Added some unit tests * These changes need the CL pin to be pointing at least to revision 88d871028eeae57f9e4536d0329110eccb5e2890 (COMPMID-1574 Implement ReduceMean in OpenCL) !android-nn-driver:155033 Change-Id: I694fd36be0458c90e158172afde045fcc88c32ae
2018-10-22IVGCVSW-1955: Unify backend exceptions (wrap cl::Error)Aron Virginas-Tar
* Added wrapper function around arm_compute::IFunction::run() that catches cl::Error and wraps it into an armnn::RuntimeException * Added MakeWorkload template inside ClWorkloadFactory that catches cl::Error and wraps it into an armnn::RuntimeException * Replaced cl::Error with armnn::RuntimeException in catch statements inside LoadedNetwork Change-Id: I2340f41ae02b8db1d7ef5157824a50e7410854e3
2018-10-22IVGCVSW-2061: Add ARMNN_SCOPED_PROFILING_EVENT_CL inside ↵Aron Virginas-Tar
ClLstmFloatWorkload::Execute() Change-Id: Ia3f895474b54e73711feb9795e7d47cbd61f13a3
2018-10-22IVGCVSW-2024: Support NHWC for Pooling2D CpuRefJames Conroy
* Adds implementation to plumb DataLayout parameter for Pooling2D on CpuRef. * Adds unit tests to execute Pooling2D on CpuRef using NHWC data layout. * Refactors original tests to use DataLayoutIndexed and removes duplicate code. Change-Id: Ife7e0861a886cf58a2042e5be20e5b27af4528c9
2018-10-22IVGCVSW-2023 CL and Neon implementation of BatchNorm with NHWCNikhil Raj
Change-Id: I962e986607e5d045cd97b9eaeaea2f5ae624db35
2018-10-22IVGCVSW-1885 add RefPadWorkload implementation and associated unit testsMohamed Nour Abouelseoud
* Added RefPadWorkload implementation * Added unit tests and applied them to CL and Ref backends * Fixed a bug in ClPadWorkload Change-Id: I8cb76bc9d60ae8a39b08d40f05d628e3b72f6410
2018-10-22IVGCVSW-1998 : replace Compute enum in LayerSupport free functionsDavid Beck
!android-nn-driver:153490 Change-Id: I1c2a5f942e3a1c3626e093c90545ca27c64ba5e8
2018-10-22IVGCVSW-1938: Move backend-specific source files to the corresponding backendAron Virginas-Tar
Change-Id: I558a9a007604afc55e536d877f8da7d0215cc9c3
2018-10-22IVGCVSW-1922 Unit test for DepthwiseConvolution with NHWCNikhil Raj
Change-Id: I3e6e5b9a62f30d03c05bd7178adea8f4c8275da8
2018-10-22IVGCVSW-1951 Remove type templating from ClReshapeWorkloadNattapat Chaimanowong
Change-Id: I5349629bc5b36e5b5029a158bf888c09c3bda4b0
2018-10-22IVGCVSW-1951 Remove type templating from ClPooling2dWorkloadNattapat Chaimanowong
Change-Id: Iaa3158487b58964d8a3b98acadde7c10172a3860
2018-10-22IVGCVSW-1951 Remove type templating from ClMergerWorkloadNattapat Chaimanowong
Change-Id: I8580f5d1612567a3b02cfccfd1f8d0f196eeda93
2018-10-22IVGCVSW-1951 Remove type templating from ClActivationWorkloadNattapat Chaimanowong
Change-Id: I200adcef35b861a412e7beef8043d5c7dddba443
2018-10-22IVGCVSW-1978: Support NHWC for ResizeBilinear CpuRefJames Conroy
* Adds implementation to plumb DataLayout parameter for ResizeBilinear on CpuRef. * Adds unit tests to execute ResizeBilinear on CpuRef using the NHWC data layout. * Adds DataLayoutIndexed API, allowing easy access to the Channels, Height and Width of a tensor based on its data layout. This reduces code duplication. * Refactors original ResizeBilinear implementation and tests to use the DataLayoutIndexed API when required. Change-Id: Ic2b8916cdd2e370d070175547079d774daf6d7bf
2018-10-22IVGCVSW-1951 Remove type templating from ClConstantWorkloadNattapat Chaimanowong
Change-Id: Ib2c9fe56c59aedabeff899a81a0afe260bd57c9f
2018-10-22IVGCVSW-1951 Remove type templating from ClPermuteWorkloadNattapat Chaimanowong
Change-Id: Ibd12e04abe71015f31ee36a7f0a2416cb625cdad
2018-10-22IVGCVSW-1951 remove type templating from ClPadWorkloadNattapat Chaimanowong
Change-Id: I8182f781369956ca96562777f170ef677f831e4e
2018-10-22IVGCVSW-1951-Remove type templating from ClAdditionWorkloadNattapat Chaimanowong
Change-Id: Ic16c4505bac9c9025856aa4eac1127ad957c9d75
2018-10-10IVGCVSW-1860 Support NHWC for Pooling2DFrancis Murtagh
Change-Id: I9059a292e47867df82a5efbba5808fd264949ec9
2018-10-10IVGCVSW-1985: Replace std::string* reasonIfNotSupported with ↵arovir01
Optional<std::string&> in IsLayerSupported implementations Change-Id: I2f054f0dcff9bdc86ee90c55b3e94c6b4ae25085
2018-10-10IVGCVSW-1951 Remove type templating from ClDepthwiseConvolutionWorkloadMatthew Bentham
Change-Id: I8bc11c93759605e21cc52f44d032c32a0be63658
2018-10-10IVGCVSW-1964 : replace optional biases with home-grown OptionalDavid Beck
!android-nn-driver:151788 Change-Id: Ibdc41d09b8df05e7a0360dcb8a060860dfb1bd99
2018-10-10IVGCVSW-1951 Remove type templating from ClConvolution2dWorkloadMatthew Bentham
Change-Id: Iaa99500bfa8cea846f57636590698f9c8a8c2de0
2018-10-10IVGCVSW-1889 - Unit test Convolution2d with NHWCFrancis Murtagh
* Added simple convolution Unit test * Set the data layout correctly in workloads Change-Id: Ie71b8415f6abc392a84900fc4438b7416fbb558a
2018-10-10IVGCVSW-1863 Unit tests for NHWC L2NormalizationMatteo Martincigh
* Added NHWC unit test implementation * Programmatically selected the channel dimension when creating the ACL Normalization layer info * Set the input/output data layout in the constructor of the L2Normalization workload Change-Id: Ie69f1a360022c29d1a3a3808c1f26b69243fa8f9
2018-10-10IVGCVSW-1931: Refactor ClResizeBilinearFloatWorkloadJames Conroy
* Refactored ClResizeBilinearFloatWorkload so that ConvertDataLayout is executed once only. Change-Id: I3961847eaab65caa696c61fad665dc042556f098
2018-10-10IVGCVSW-1920 Unittests for NHWC Normalization Workloads and Layernarpra01
Change-Id: Iea941c1747454f5a4342351e4e82b10ffb9ccbbd
2018-10-10IVGCVSW-1931: Add data layout param for ResizeBilinearJames Conroy
* Added data layout parameter to ResizeBilinear descriptor, in order to support NHWC. Change-Id: Ifdbc4529127b7329a056d0a68e2e42b175aeea4a
2018-10-10IVGCVSW-1913: Fix for ValidationTest.concat_float_3_relaxedarovir01
* Added RefPermuteFloat16Workload to serve as a fallback when CL does not support the required permute configuration for FP16 * Move Half.hpp to armnnUtils as the utils library should not be including private header files from the armnn library Change-Id: Ibf0f698451e8406f7ed7cce470dab60b6d16361d
2018-10-10IVGCVSW-1951 Remove type templating from ClSplitterWorkloadMatthew Bentham
Change-Id: Ib289ed5885e0e22ce6d73d7b3b3b103691187a34
2018-10-10IVGCVSW-1951 Remove type templating from ClSubtractionWorkloadMatthew Bentham
Change-Id: Ieda5146d23227e9764f3f867003a13c630494093
2018-10-10IVGCVSW-1207 - Remove typing from ClMultiplicationWorkloadMatthew Bentham
Don't need this now as it uses the compute library validation function, and all of the code for the supported types is identical. Adds Uint8 support to Cl backend, and unit test cases. Change-Id: I35d4edacc1aca241e95d1b19ae525a23d9513c99
2018-10-10IVGCVSW-1900 : CL backend folder structureDavid Beck
* moving backends/ClWorkloads to backends/cl * and moving pure Cl workload related code to backends/cl/workloads Change-Id: I019a3c6b4da5e7a23074bf03fb057e63199ad129