diff --git a/.files b/.files index 065335f..58b5f80 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 99f2a86..160a4e8 100644 --- a/.rev +++ b/.rev @@ -148,4 +148,31 @@ </comment> <requestid>906631</requestid> </revision> + <revision rev="18" vrev="1"> + <srcmd5>218d61f6c5eaf2573a0171450d53bf70</srcmd5> + <version>21.08</version> + <time>1631221657</time> + <user>dimstar_suse</user> + <comment>- Update to 21.08: + * Changelog: https://github.com/ARM-software/armnn/releases/tag/v21.08 + * Main changes: + - new capabilities and improve performance: + * Added the ability to import protected DMA Buffers and + allow Arm NN to run inferences that are in Protected GPU Memory. + As well as providing Custom Memory Allocator which supports + importing malloc, Dma_buf and protected Dma buffers. + * Users with multi core NPUs has been given the ability to pin + inferences to selected cores giving them the ability to balance + parallel workloads across the NPU and increase throughput. + * Boost has been completely removed from the code base making + Arm NN easier to integrate into other software stacks. + * Added support for non-constant weights and biases on + FullyConnected which lay the groundwork for supporting more models. + * More operators supported on Arm NN, TfLite Parser, TfLite + Delegate and Android NNAPI driver. +- Drop upstream patch: + * armnn-fix-include.patch +</comment> + <requestid>917697</requestid> + </revision> </revisionlist> diff --git a/armnn-21.05.tar.gz b/armnn-21.05.tar.gz deleted file mode 120000 index 5c50a3e..0000000 --- a/armnn-21.05.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeiciurfwzsinbvucbl7o5hog6gu7vy5juuj36l5maycmq5r4tntb5i \ No newline at end of file diff --git a/armnn-21.08.tar.gz b/armnn-21.08.tar.gz new file mode 120000 index 0000000..c274c17 --- /dev/null +++ b/armnn-21.08.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeieyydreztp72h5jqxojusg36ebyrx3hs4kuzsht3gfiv7sohmrqiq \ No newline at end of file diff --git a/armnn-fix-include.patch b/armnn-fix-include.patch deleted file mode 100644 index 84feb7b..0000000 --- a/armnn-fix-include.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- armnn-21.05/src/backends/cl/ClImportTensorHandle.hpp.orig 2021-05-21 11:52:42.847054405 +0000 -+++ armnn-21.05/src/backends/cl/ClImportTensorHandle.hpp 2021-05-21 11:52:52.676788673 +0000 -@@ -19,7 +19,7 @@ - #include <arm_compute/core/TensorShape.h> - #include <arm_compute/core/Coordinates.h> - --#include <include/CL/cl_ext.h> -+#include <CL/cl_ext.h> - #include <arm_compute/core/CL/CLKernelLibrary.h> - - namespace armnn diff --git a/armnn.changes b/armnn.changes index f5a2810..4a34cd0 100644 --- a/armnn.changes +++ b/armnn.changes @@ -1,4 +1,27 @@ ------------------------------------------------------------------- +Thu Sep 9 08:04:50 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org> + +- Update to 21.08: + * Changelog: https://github.com/ARM-software/armnn/releases/tag/v21.08 + * Main changes: + - new capabilities and improve performance: + * Added the ability to import protected DMA Buffers and + allow Arm NN to run inferences that are in Protected GPU Memory. + As well as providing Custom Memory Allocator which supports + importing malloc, Dma_buf and protected Dma buffers. + * Users with multi core NPUs has been given the ability to pin + inferences to selected cores giving them the ability to balance + parallel workloads across the NPU and increase throughput. + * Boost has been completely removed from the code base making + Arm NN easier to integrate into other software stacks. + * Added support for non-constant weights and biases on + FullyConnected which lay the groundwork for supporting more models. + * More operators supported on Arm NN, TfLite Parser, TfLite + Delegate and Android NNAPI driver. +- Drop upstream patch: + * armnn-fix-include.patch + +------------------------------------------------------------------- Fri Jul 16 08:23:43 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org> - Add '-Wno-error=stringop-overread' to workaround build error diff --git a/armnn.spec b/armnn.spec index 8f45af8..d400260 100644 --- a/armnn.spec +++ b/armnn.spec @@ -1,5 +1,5 @@ # -# spec file for package armnn%{?package_suffix} +# spec file # # Copyright (c) 2021 SUSE LLC # @@ -64,12 +64,10 @@ %bcond_with armnn_onnx %endif %define version_major 21 -%define version_minor 05 +%define version_minor 08 %define version_lib 25 %define version_lib_tfliteparser 24 %define version_lib_onnxparser 24 -# Do not package ArmnnConverter, by default -%bcond_with armnn_tools Name: armnn%{?package_suffix} Version: %{version_major}.%{version_minor} Release: 0 @@ -81,8 +79,6 @@ Source0: https://github.com/ARM-software/armnn/archive/v%{version}.tar.gz Source1: armnn-rpmlintrc # PATCH-FIX-UPSTREAM - https://github.com/ARM-software/armnn/issues/499 Patch1: 96beb97.diff -# PATCH-FIX-UPSTREAM - https://github.com/ARM-software/armnn/issues/545 -Patch2: armnn-fix-include.patch # PATCHES to add downstream ArmnnExamples binary - https://layers.openembedded.org/layerindex/recipe/87610/ Patch200: 0003-add-more-test-command-line-arguments.patch Patch201: 0005-add-armnn-mobilenet-test-example.patch @@ -358,7 +354,6 @@ This package contains the libarmnnOnnxParser library from armnn. %patch1 -p1 %endif %endif -%patch2 -p1 %if %{with armnn_extra_tests} %patch200 -p1 %patch201 -p1 @@ -469,10 +464,6 @@ find ./build/tests -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} %{buildr %if %{with armnn_flatbuffers} # Install Sample app cp $CP_ARGS ./build/samples/SimpleSample %{buildroot}%{_bindir} -%if %{with armnn_tools} -# Install ArmNNConverter -cp $CP_ARGS ./build/ArmnnConverter %{buildroot}%{_bindir} -%endif %endif # Drop static libs - https://github.com/ARM-software/armnn/issues/514 rm -f %{buildroot}%{_libdir}/*.a @@ -517,9 +508,7 @@ LD_LIBRARY_PATH="$(pwd)/build/" \ %if %{with armnn_tests} %{_bindir}/ExecuteNetwork %if %{with armnn_flatbuffers} -%if %{with armnn_tools} %{_bindir}/ArmnnConverter -%endif %{_bindir}/TfLite*-Armnn %endif %if %{with armnn_onnx}