- Update to 19.11.1:

* Fix offset calculation in NEReductionOperationKernel.
  * Fix data layout in NEScaleKernel for nhwc.
  * Retain configuration step data layout to avoid side-effects.
  * Perform sqrt in double domain for L2 pooling.
  * Fix output shape calculation for Reduce Mean.

- Cleanup a bit with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/ComputeLibrary?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal 2020-02-26 09:49:33 +00:00 committed by Git OBS Bridge
parent e3f529cb50
commit 0987b05829
4 changed files with 33 additions and 22 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39e2941866b9d05064db93e168eb58fe851045dc87af5daa715d3d416e8d7c0a
size 48926903

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a91ddcc66d2945da16912d50825536c59503f3744355206ca83e571c4de2bc7d
size 48920855

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Feb 25 16:05:12 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 19.11.1:
* Fix offset calculation in NEReductionOperationKernel.
* Fix data layout in NEScaleKernel for nhwc.
* Retain configuration step data layout to avoid side-effects.
* Perform sqrt in double domain for L2 pooling.
* Fix output shape calculation for Reduce Mean.
-------------------------------------------------------------------
Tue Feb 25 15:50:33 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Cleanup a bit with spec-cleaner
-------------------------------------------------------------------
Fri Dec 6 13:44:14 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package ComputeLibrary
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,18 +17,17 @@
%define so_ver 17
# Disable validation tests by default due to CL
# Disable validation tests by default due to opencl needing to be set up
%bcond_with computelibrary_tests
Name: ComputeLibrary
Version: 19.11
Version: 19.11.1
Release: 0
Summary: ARM Compute Library
License: MIT
Group: Productivity/Graphics/Other
URL: https://developer.arm.com/technologies/compute-library
Source: https://github.com/ARM-software/ComputeLibrary/archive/v%{version}.tar.gz#/ComputeLibrary-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: git-core
BuildRequires: ocl-icd-devel
BuildRequires: scons >= 2.4
Recommends: %{name}-sample-data
@ -40,8 +39,7 @@ The Compute Library is a collection of low-level functions optimized for Arm CPU
Examples binaries part.
%package -n libarm_compute%{so_ver}
Summary: ARM Compute Library -- libs
Group: System/Libraries
Summary: ARM Compute Library
%description -n libarm_compute%{so_ver}
A software library for computer vision and machine learning.
@ -50,7 +48,6 @@ Library part.
%package devel
Summary: ARM Compute Library -- devel
Group: Development/Languages/C and C++
Requires: %{name} = %{version}
Requires: libarm_compute%{so_ver} = %{version}
@ -62,7 +59,6 @@ Devel part, including headers.
%package sample-data
%define sampledir sample-data
Summary: Compute Library sample data
Group: Productivity/Graphics/Visualization/Other
%description sample-data
Free *.npy and *.ppm files to use with example binaries.
@ -83,20 +79,23 @@ scons os=linux build=native \
%endif
%ifarch aarch64 aarch64_ilp32
neon=1 arch=arm64-v8a \
%else
%endif
%ifarch armv7l armv7hl
neon=0 arch=armv7a \
%else
neon=0 arch=x86_64 \
%endif
%ifarch x86_64
neon=0 arch=x86_64 \
%endif
extra_cxx_flags="%{optflags}" \
Werror=0 %{?_smp_mflags}
%install
rm build/examples/*.o
rm build/examples/gemm_tuner/*.o
mv build/examples/gemm_tuner/* build/examples
rm -r build/examples/gemm_tuner
mkdir -p %{buildroot}%{_bindir}
cp -a build/examples/* %{buildroot}%{_bindir}/
install -Dm0755 build/examples/* %{buildroot}%{_bindir}/
mkdir -p %{buildroot}%{_libdir}
cp -a build/*.so* %{buildroot}%{_libdir}/
mkdir -p %{buildroot}%{_includedir}/
@ -107,14 +106,13 @@ rm -f $(find %{buildroot}%{_includedir}/ -name *.cpp)
mkdir -p %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir}
cp -r data/* %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir}
# Install scripts
cp scripts/* %{buildroot}%{_bindir}
install -Dm0755 scripts/* %{buildroot}%{_bindir}
# Fix Python scripts interpreter
for pyfile in `ls %{buildroot}%{_bindir}/*.py`; do
sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python|' $pyfile
sed -i -e 's|#!%{_bindir}/env python|#!%{_bindir}/python|' $pyfile
done
%post -n libarm_compute%{so_ver} -p /sbin/ldconfig
%postun -n libarm_compute%{so_ver} -p /sbin/ldconfig
%if %{with computelibrary_tests}
@ -123,15 +121,13 @@ LD_LIBRARY_PATH="build/" build/tests/arm_compute_validation
%endif
%files
%defattr(-,root,root)
%{_bindir}/*
%files -n libarm_compute%{so_ver}
%defattr(-,root,root)
%license LICENSE
%{_libdir}/*.so.%{so_ver}*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/arm_compute
%dir %{_includedir}/half
%dir %{_includedir}/libnpy