aboutsummaryrefslogtreecommitdiff
path: root/src/backends/cl
AgeCommit message (Collapse)Author
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-2157: Remove conditional compilation directives from ClBackendContextAron Virginas-Tar
Change-Id: I0b9818c3bc09101aa6563ea8e4a886483d3b09d1
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-15IVGCVSW-2156: Remove conditional compilation directives from ClContextControlAron Virginas-Tar
Change-Id: I812d09a869fe7c45ce71108fb675f3e2d974e2d9
2018-11-15IVGCVSW-2086: Add StridedSlice layer & corresponding no-op factory ↵Conor Kennedy
implementations Change-Id: I906dcb8b4c9b491bf3a661f208c09d0ea1c0fa35
2018-11-15IVGCVSW-2136: Remove memory management methods from workload factoriesAron Virginas-Tar
Change-Id: Idc0f94590566ac362f7e1d1999361d025cc2f67a
2018-11-14IVGCVSW-2017: Refactored L2Normalisation Testsjimfly01
* L2Normalisation Tests now take the layout as an argument. Change-Id: Ib393889eedb3a81c9a500da91593e90a18549c33
2018-11-13IVGCVSW-2066: Add IMemoryManager and integrate into the backends frameworkAron Virginas-Tar
Change-Id: I93223c8678165cbc3d39f461c36bb8610dc81c05
2018-11-12IVGCVSW-2125 : Consolidate backend registries into oneDavid Beck
Change-Id: I56da4780f8f5fcef7ff01d232d5d61bf299364bf
2018-11-12IVGCVSW-2054: BATCH_TO_SPACE_ND Reference implementation and Unit tests.Éanna Ó Catháin
Change-Id: I13c6728dbb60643d0e086d171225c5d802987f92
2018-11-09IVGCVSW-2082 - add SimpleConvolution2dAsymmetricPaddingNhwc to CL test after ↵narpra01
ACL fix the convolution issue. Change-Id: If72f6f4e32567bcfa4af13836e411a3199ede010
2018-11-09IVGCVSW-2125 : backends now can return optimizationsDavid Beck
Change-Id: Ieec34224b433e1d2f3bbe66632cd6016cac5498c
2018-11-08IVGCVSW-2056+IVGCVSW-2064 : move ClContextControl to the ClBackendexperimental/nhwc-previewDavid Beck
* add IBackendContext interface * add ClBackendContext implementation Change-Id: I13e4d12b73d4c7775069587675276f7cee7d630b
2018-11-08IVGCVSW-1709: Clean up memory manager bodgeAron Virginas-Tar
* Added quick workaround for the memory management errors in the CL/Neon unit tests Change-Id: I56250db462cdbdc1acc0a5824807d288fb0c1d11
2018-11-07IVGCVSW-1949 : Refactor ITensorHandle and move backend specifics to their placeDavid Beck
Change-Id: I48242425c6a6856e13ebcee1b140cbd2af94a3aa
2018-11-05Revert "IVGCVSW-2056 + IVGCVSW-2064 : move ClContextControl to the ClBackend"David Beck
This reverts commit d4dfa684941a21314b70593d01b0fc2167eebad4. Change-Id: Id61ce69215505c3cf5d30ec2a7ec9127fb2554fc
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