- 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:
parent
e3f529cb50
commit
0987b05829
3
ComputeLibrary-19.11.1.tar.gz
Normal file
3
ComputeLibrary-19.11.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:39e2941866b9d05064db93e168eb58fe851045dc87af5daa715d3d416e8d7c0a
|
||||||
|
size 48926903
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a91ddcc66d2945da16912d50825536c59503f3744355206ca83e571c4de2bc7d
|
|
||||||
size 48920855
|
|
@ -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>
|
Fri Dec 6 13:44:14 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ComputeLibrary
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,18 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
%define so_ver 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
|
%bcond_with computelibrary_tests
|
||||||
Name: ComputeLibrary
|
Name: ComputeLibrary
|
||||||
Version: 19.11
|
Version: 19.11.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: ARM Compute Library
|
Summary: ARM Compute Library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Graphics/Other
|
|
||||||
URL: https://developer.arm.com/technologies/compute-library
|
URL: https://developer.arm.com/technologies/compute-library
|
||||||
Source: https://github.com/ARM-software/ComputeLibrary/archive/v%{version}.tar.gz#/ComputeLibrary-%{version}.tar.gz
|
Source: https://github.com/ARM-software/ComputeLibrary/archive/v%{version}.tar.gz#/ComputeLibrary-%{version}.tar.gz
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: git
|
BuildRequires: git-core
|
||||||
BuildRequires: ocl-icd-devel
|
BuildRequires: ocl-icd-devel
|
||||||
BuildRequires: scons >= 2.4
|
BuildRequires: scons >= 2.4
|
||||||
Recommends: %{name}-sample-data
|
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.
|
Examples binaries part.
|
||||||
|
|
||||||
%package -n libarm_compute%{so_ver}
|
%package -n libarm_compute%{so_ver}
|
||||||
Summary: ARM Compute Library -- libs
|
Summary: ARM Compute Library
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n libarm_compute%{so_ver}
|
%description -n libarm_compute%{so_ver}
|
||||||
A software library for computer vision and machine learning.
|
A software library for computer vision and machine learning.
|
||||||
@ -50,7 +48,6 @@ Library part.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: ARM Compute Library -- devel
|
Summary: ARM Compute Library -- devel
|
||||||
Group: Development/Languages/C and C++
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: libarm_compute%{so_ver} = %{version}
|
Requires: libarm_compute%{so_ver} = %{version}
|
||||||
|
|
||||||
@ -62,7 +59,6 @@ Devel part, including headers.
|
|||||||
%package sample-data
|
%package sample-data
|
||||||
%define sampledir sample-data
|
%define sampledir sample-data
|
||||||
Summary: Compute Library sample data
|
Summary: Compute Library sample data
|
||||||
Group: Productivity/Graphics/Visualization/Other
|
|
||||||
|
|
||||||
%description sample-data
|
%description sample-data
|
||||||
Free *.npy and *.ppm files to use with example binaries.
|
Free *.npy and *.ppm files to use with example binaries.
|
||||||
@ -83,20 +79,23 @@ scons os=linux build=native \
|
|||||||
%endif
|
%endif
|
||||||
%ifarch aarch64 aarch64_ilp32
|
%ifarch aarch64 aarch64_ilp32
|
||||||
neon=1 arch=arm64-v8a \
|
neon=1 arch=arm64-v8a \
|
||||||
%else
|
%endif
|
||||||
%ifarch armv7l armv7hl
|
%ifarch armv7l armv7hl
|
||||||
neon=0 arch=armv7a \
|
neon=0 arch=armv7a \
|
||||||
%else
|
|
||||||
neon=0 arch=x86_64 \
|
|
||||||
%endif
|
%endif
|
||||||
|
%ifarch x86_64
|
||||||
|
neon=0 arch=x86_64 \
|
||||||
%endif
|
%endif
|
||||||
extra_cxx_flags="%{optflags}" \
|
extra_cxx_flags="%{optflags}" \
|
||||||
Werror=0 %{?_smp_mflags}
|
Werror=0 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm build/examples/*.o
|
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}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
cp -a build/examples/* %{buildroot}%{_bindir}/
|
install -Dm0755 build/examples/* %{buildroot}%{_bindir}/
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
cp -a build/*.so* %{buildroot}%{_libdir}/
|
cp -a build/*.so* %{buildroot}%{_libdir}/
|
||||||
mkdir -p %{buildroot}%{_includedir}/
|
mkdir -p %{buildroot}%{_includedir}/
|
||||||
@ -107,14 +106,13 @@ rm -f $(find %{buildroot}%{_includedir}/ -name *.cpp)
|
|||||||
mkdir -p %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir}
|
mkdir -p %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir}
|
||||||
cp -r data/* %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir}
|
cp -r data/* %{buildroot}%{_datadir}/ComputeLibrary/%{sampledir}
|
||||||
# Install scripts
|
# Install scripts
|
||||||
cp scripts/* %{buildroot}%{_bindir}
|
install -Dm0755 scripts/* %{buildroot}%{_bindir}
|
||||||
# Fix Python scripts interpreter
|
# Fix Python scripts interpreter
|
||||||
for pyfile in `ls %{buildroot}%{_bindir}/*.py`; do
|
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
|
done
|
||||||
|
|
||||||
%post -n libarm_compute%{so_ver} -p /sbin/ldconfig
|
%post -n libarm_compute%{so_ver} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libarm_compute%{so_ver} -p /sbin/ldconfig
|
%postun -n libarm_compute%{so_ver} -p /sbin/ldconfig
|
||||||
|
|
||||||
%if %{with computelibrary_tests}
|
%if %{with computelibrary_tests}
|
||||||
@ -123,15 +121,13 @@ LD_LIBRARY_PATH="build/" build/tests/arm_compute_validation
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%files -n libarm_compute%{so_ver}
|
%files -n libarm_compute%{so_ver}
|
||||||
%defattr(-,root,root)
|
%license LICENSE
|
||||||
%{_libdir}/*.so.%{so_ver}*
|
%{_libdir}/*.so.%{so_ver}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_includedir}/arm_compute
|
%dir %{_includedir}/arm_compute
|
||||||
%dir %{_includedir}/half
|
%dir %{_includedir}/half
|
||||||
%dir %{_includedir}/libnpy
|
%dir %{_includedir}/libnpy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user