aboutsummaryrefslogtreecommitdiff
path: root/shim
AgeCommit message (Collapse)Author
2023-01-12Merge 'main' onto 'experimental/GpuFsa'.Cathal Corbett
* I6c71be11e9b73694747b27fe9febab8d9669b4d4 Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: Iccaf50e2484559979d801ee9d0e130e848554733
2022-12-19Github #712: Use static libraries not object libraries for support libraryFrancis Murtagh
* .o files were being installed by cmake. Change-Id: Ie2056e09b4800fe208d784a90f3908d508b8cadf Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
2022-12-12Optimize the calling of IsLayerSupported().Cathal Corbett
* Done as part of 22.11/23.02 innovation days. * IsLayerSupported() is called in model prepare (delegate, android-nn-driver and shim/support_library) and again in ArmNN once model otimization is performed. * From calling IsLayerSupported() the first time, we should know that the layers are supported and what backend they are supported on. * Solution is to set the BackendId of the IConnectableLayer when IsLayerSupported() is called the first time, * In the Optimize() function we then check if the backend is set. If so, we do not call IsLayerSupported() again. * In the case a layer that is supported gets optimized, then the BackendId of that layer get set to "Unknown" for the new optimized layer and IsLayerSupported() will get called on the newly optimized layer. * Includes bug fix IVGCVSW-7213 for Android Mean FP16 CpuAcc tests. Also related to bug IVGCVSW-7211. Signed-off-by: Cathal Corbett <cathal.corbett@arm.com> Change-Id: I7a7820d0cdb079ffb5a3a2e0c44e252f652df53b
2022-11-08Update Readme files with newer versions of tools added during 22.11Nikhil Raj
* Flatbuffer version updated to 2.0.6 * Android NDK version updated to r25 * Removed cross-compilation guide as its been moved to build-tools * Android binaries updated in Readme Signed-off-by: Nikhil Raj <nikhil.raj@arm.com> Change-Id: Ia7054707c9463d8ce8b344ec5d86fdd83424b2c3
2022-10-20Fix Building Support Library with NDK r25Kevin May
* Add flags -Wno-c99-designator and -Wno-unused-but-set-variable Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I7b1a1a353a0474d7ef967f6f3c8d13c36fa31844
2022-09-22IVGCVSW-6495 Add Support for BATCH_MATMUL to Arm Support LibraryKevin May
* Update feature level support to FL6 * Add ConvertBatchMatMul function Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I93a77ba869bcddf432229a20e619304305d3982e
2022-09-16Use ARMNN_VERSION for Support Library versionStringKevin May
Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I6f2b52f7277215c97be3d53969a9eaef137e3636
2022-09-06IVGCVSW-7006 Remove deprecated code due to be removed in 22.08Teresa Charlin
* AddConv and AddDWConv with weights and bias * ResizeBilinearDescriptor * b,blacklist option in accuracy tool !android-nn-driver:8172 Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com> Change-Id: Ibbc04fd18be7f938b11590bf67cd7af103cb4d99
2022-08-29IVGCVSW-6954 'Arm NN SL Improvements'Sadik Armagan
* Move the Conv2D and DepthwiseConv2D validation to Optimization level when the weights and tensors are as constant inputs * Take into account offset and scales values when doing INT8 to FP32 dequantization Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I1f81f15640395ac041923b10dbe9151159715117
2022-08-05IVGCVSW-7062 'Gpu Tuning does not work with TfLite Benchmark tool'Sadik Armagan
* Load the tuning file when GpuAcc is selected as a backend. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I1d6b0237a87301f07681293a2c6dbc37e352dd28
2022-08-05IVGCVSW-7063 'Support Library NNAPI Caching'Sadik Armagan
* Fixed caching issue. Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ic7b3e0bd4438b2fd1b3dbfa86b6c89d625bbf9dd
2022-07-27IVGCVSW-6954 'Arm NN Support Library Implementation'Sadik Armagan
* Fixed model converting issue * Fixed import memory issue Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ied61810b308e0c5d5754f122a6ea2bac1d0725f1
2022-07-27IVGCVSW-7113 Fix building nn driver failed in our Android OOBTKevin May
* Android.bp file gets picked up by older Android versions so rename it to "switch it off" and update guide on how to enable it Signed-off-by: Kevin May <kevin.may@arm.com> Change-Id: I1fc59a0d0dc2e6ce9cdc19f94b0b34d08d414351
2022-07-27IVGCVSW-7107 'Error while running Arm NN Sl with -d option'Sadik Armagan
* Templated the DumpTensor() function based on tensor type Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I08775e480f89010be61daf0a09a2ab0274e05978
2022-07-08IVGCVSW-7024 Add missing license info for reuse lintJim Flynn
Signed-off-by: Jim Flynn <jim.flynn@arm.com> Change-Id: I97dee6982e0a7be01c13e9e803c0997547a39ff1
2022-07-08IVGCVSW-6957 'Import Host Memory in SL'Sadik Armagan
* Enabled import host memory in SL as default * Updated import host memory functionality in GpuAcc Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I22132b1e1008159b0e7247219762e3e9ae5eba10
2022-06-26IVGCVSW-6989 'Fixed build issue'Sadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I20e22821b6d4532953ddec2a8eac2a0f09e8013b
2022-06-24IVGCVSW-6958 'Integrate Import Host Memory to POINTER memory type'Sadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I8b05fb1e6ba31e46bf23ebfdaf55142dbe17980e
2022-06-21IVGCVSW-6954 'Fixed test failures on Conv2d"Sadik Armagan
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ifd5ad4d4ca553e3f58ea246a0ac3c6e6b8b31215
2022-06-20IVGCVSW-6989 "Merged experimental/armnn_shim_sl"Sadik Armagan
* Updated Serializer CMakeLists.txt to build armnnSerializerObj * Added constant tensors as input support to SL Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I22f6cf50147d99a01f7fe70d7446b114a4c57af3