aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl
AgeCommit message (Collapse)Author
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-11-02IVGCVSW-2093 Add SpaceToBatchNd layer and corresponding no-op factory ↵Nattapat Chaimanowong
implementations Change-Id: Ibd457f3a2d4342c4d6335bd3c471282a14ab6b14
2018-11-01IVGCVSW-2103: Add 2-Channel unit tests ResizeBilinearJames Conroy
* Modifies ResizeBilinear unit tests to use 2-Channel tensor shapes for input and output data, to improve test coverage when exercising NHWC data layout. * Refactors unit tests to permute input and output data when exercising NHWC data layout. Change-Id: Ib7fb438cac23e78ff0104c895c3b7596bf7c3aa7
2018-11-01IVGCVSW-2074: Updated the DepthwiseConvolution2dDepthMul1 for NHWCjimfly01
Change-Id: Ibaa0b909680a6f2a155e4ca6fa24e1144d6e6e73
2018-11-01IVGCVSW-2074: Updated CompareDepthwiseConvolution2dTest for NHWCjimfly01
Change-Id: Ib0568024b4f43ae17e6c75ac35d31cf103ce3482
2018-10-31IVGCVSW-2102: Fix Pooling2D CpuRef indexing bugJames Conroy
* Fixes bug when calcuating indexes for NHWC in Pooling2D CpuRef implementation, it now uses TensorBufferArrayView. * Adds 2-Channel unit tests for Pooling2d on CpuRef, Cl and Neon. The single channel tests were not properly exercising Pooling2d using NHWC data layout. * Refactors Pooling2D NHWC tests so that the input and output data are permuted to NHWC when necessary, instead of hard coding the data in NHWC format. Change-Id: I5b9d41ed425ff283ea8c8ef6b1266ae0bc80f43b
2018-10-29IVGCVSW-2074: Updated DepthwiseConvolution2dAsymmetricTest for NHWCjimfly01
Change-Id: I1bc8d2f270d4abfaa62e4843b8d96bcf462c6b09
2018-10-26IVGCVSW-2069 - Implement NHWC Convolution2D for CpuRefnarpra01
* Calculate index for NHWC to compute Convolution * add more unit test for NHWC Change-Id: I800d649b9b42be2758c445e3b3e76142888c1377
2018-10-26IVGCVSW-2056 + IVGCVSW-2064 : move ClContextControl to the ClBackendDavid Beck
Change-Id: Ice19d3f763298bc14585267df389e99df846320d
2018-10-26IVGCVSW-2074: SimpleConvolution2dTestImpl updated for NHWCjimfly01
* Added a defaulted DataLayoutIndexed argument to the SimpleConvolution2dTestImpl * Permute test data tensors just before use if necessary * Add DataLayout to descriptor * Added a DataLayoutIndexed argument to SimpleConvolution2d3x5TestCommon * Added NHWC versions of the SimpleConvolution2d3x5Test for Neon and CL Change-Id: I10e3ece42a50108baeabe4d8b0f0ac3e6d532261
2018-10-25IVGCVSW-2058: Remove ARMCOMPUTE(CL/NEON)_ENABLED and ARMCOMPUTENEON_ENABLED ↵Aron Virginas-Tar
from src/armnnUtils/ParserPrototxtFixture.hpp Change-Id: Ief836fb80c4c966f1b76c9429d4a7fb644ceb73d
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-25IVGCVSW-2073: Move remaining backend-specific tests from armnn to backendsAron Virginas-Tar
Change-Id: I45fd5b6dd32c435b78a54dc377a623e60978ce13
2018-10-25IVGCVSW-2071 : remove GetCompute() from the WorkloadFactory interfaceDavid Beck
Change-Id: I44a9d26d1a5d876d381aee4c6450af62811d0dbb
2018-10-25IVGCVSW-2067 : dynamically create workload factories based on the backends ↵David Beck
in the network Change-Id: Ide594db8c79ff67642721d8bad47624b88621fbd
2018-10-22IVGCVSW-2060: Separate and move backend specific unit tests from the ↵Aron Virginas-Tar
src/armnn/test folder to the backends * Moved backend-specific memory leak checking tests from RuntimeTests.cpp to the corresponding backend test folder Change-Id: I0a7f4ef52c5350c3cebca23b2b4e61a9446ca11f
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-2019 : replace Compute enum in the backend preferences listDavid Beck
Change-Id: Ie7549fd27378acfa97e68d098e338b8c9d4ea5d2
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-2013 Add a UInt8 Reference Implementation for the PAD OperatorMohamed Nour Abouelseoud
Change-Id: I41f3606198db1fda8d72aaf5169594ba9156eb38
2018-10-22IVGCVSW-2023 CL and Neon implementation of BatchNorm with NHWCNikhil Raj
Change-Id: I962e986607e5d045cd97b9eaeaea2f5ae624db35
2018-10-22IVGCVSW-2005: Pull in backend specific unit tests into Android.mk similarly ↵Aron Virginas-Tar
as backend sources Change-Id: Icafc644b64c591f4dc0e1560d02b806bf053a2da
2018-10-22IVGCVSW-2033 Add unit tests for the newly implemented NHWC support inMatteo Martincigh
ref Normalization * Added create workload unit tests for the NHWC data layout Change-Id: Id4813105c027a26e277de64fecea1845fea39fd9
2018-10-22IVGCVSW-2037 : separate registry for layer support intrefacesDavid Beck
* because their lifetime is different from backends Change-Id: I9ba525e7e503b148cde1294933f3954b8bad3d68
2018-10-22IVGCVSW-2022 : fix for backend cmake files to respect BUILD_UNIT_TESTS variableDavid Beck
Change-Id: I8d34419742152edd50f1ec438e32d3ccc4f38351
2018-10-22IVGCVSW-2018 Support NHWC in the current ref implementationMatteo Martincigh
* Enabled the now supported ref layer tests * Re-enabled the failing test now that the bug has been fixed in ACL 1903a9976ae24f40cb2203364211ed62fcfbb985 * Added CreateWorkload test for ref L2Normalization NHWC * Refactoring the ref L2Normalization for clarity !armnn:153723 Change-Id: Id0067e49072b3e057ffe3ae3b70d928be6091c0f
2018-10-22IVGCVSW-2002: Get rid of IsLayerSupportedCl functions in favor of ↵Aron Virginas-Tar
ILayerSupport interface Change-Id: Ic9172a5534eb243f3467996dd30c4400bc06224e
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-2006: Move ACL memory manager source code under aclCommonAron Virginas-Tar
Change-Id: Ie1c74a18de5c3dd1cd5285c222bd6327489c1508
2018-10-22IVGCVSW-1938: Move backend-specific source files to the corresponding backendAron Virginas-Tar
Change-Id: I558a9a007604afc55e536d877f8da7d0215cc9c3
2018-10-22MLCE-51 MaxPool + Add Unit testÉanna Ó Catháin
Change-Id: Id1619ce72a862841439b68e51113febfb0e38fcc
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-1996: Implement CreateWorkloadFactory() across all internal backendsarovir01
Change-Id: If0a2f010a7a45735ea37c07a5ee1f2398afb9b8b
2018-10-22IVGCVSW-1951 Remove type templating from ClConstantWorkloadNattapat Chaimanowong
Change-Id: Ib2c9fe56c59aedabeff899a81a0afe260bd57c9f
2018-10-22IVGCVSW-2000: (Fix) Backend-specific unit tests not being executedMatteo Martincigh
* Also disabled the Compute_ArmComputeCl/L2Normalization1dNhwc test as it fails due to a bug in ACL Change-Id: If1e36bc04f606e6568e6a13cc77f8f51f5834997
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-1967 Fix L2Norm NHWC unit testMatteo Martincigh
* Applying the proper tensor shape during the tests depending on the specific data layout used Change-Id: I9c6c1e077236e84cecc1e10d7b2d0bd901df3ebd
2018-10-22IVGCVSW-1952 : add BackendId class to prepare for the replacement of Compute ↵David Beck
enum !armnn:152674 Change-Id: I1bcdfdfbfb73e502d58f35717e2558e24651013c
2018-10-22IVGCVSW-1989 : implement backend creation and registry for Ref,Cl and NeonDavid Beck
!armnn:152557 Change-Id: Ic6b99cddee1597c85de76034d9332fe1bf3aceb1
2018-10-22IVGCVSW-1988: Refactor backend-specific unit testsarovir01
Change-Id: I8eca81d2e0780390eaa837c186ffe1c7d41fdebe
2018-10-22IVGCVSW-1951-Remove type templating from ClAdditionWorkloadNattapat Chaimanowong
Change-Id: Ic16c4505bac9c9025856aa4eac1127ad957c9d75