Sync from SUSE:SLFO:Main libzdnn revision 645587ff1bfed3df3c0272601daae97d

This commit is contained in:
Adrian Schröter 2024-05-03 16:14:28 +02:00
commit c6b56bb097
4 changed files with 163 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

48
libzdnn.changes Normal file
View File

@ -0,0 +1,48 @@
-------------------------------------------------------------------
Tue Feb 13 09:00:47 UTC 2024 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Changed the Package Summary (jsc#PED-5445)
* from 'Library interface for the IBM Cryptographic Accelerator'
* to 'Library interface for the IBM AI Accelerator'
-------------------------------------------------------------------
Thu May 11 08:39:25 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorguiev@suse.com>
- Upgraded to version 1.0.1 (jsc#PED-3331)
- add: pull_request_template.md
This commit adds a pullrequest template to the repository to make the PR's more uniform.
- add: issue templates
Templates to unify issues and descriptions with focus on traceability.
- add: CODEOWNERS file
Provide a fast trigger for pullrequests and assign the code owners to it.
- fix: remove non ASCII characters
remove non ASCII characters with focus on disclaimer and comments and licenses
call: find . -type f -exec sed -i 's/\xC2\xA0/ /g' {} \;
call: find . -type f -exec sed -i 's/[ \t]\+$//g' {} \;
- add help target to main Makefile
set default target .DEFAULT_GOAL for all
- fix error for missing config.make to GNU make syntax
-------------------------------------------------------------------
Mon Dec 13 20:08:16 UTC 2021 - Mark Post <mpost@suse.com>
- Upgraded to version 0.4.0 (bsc#1191582)
* RNN Layer 2 Support
* RNN Bi-directional Output Transformation Support
* Removal of non-inclusive IT Terms
* RNN Pre-check Support
* Optimized zTensor reserved space
* Transform optimizations
* Minor bug fixes
- Removed the following obsolete patches
* sles15sp4-libzdnn-Fix-initialization-of-CFLAGS_INIT-2.patch
* sles15sp4-libzdnn-Limit-symbol-check-to-global-symbols-3.patch
-------------------------------------------------------------------
Thu Oct 21 18:58:18 UTC 2021 - Mark Post <mpost@suse.com>
- Initial version of the package (jsc#SLE-21645)
Includes the following two patches from upstream:
sles15sp4-libzdnn-Fix-initialization-of-CFLAGS_INIT-2.patch
sles15sp4-libzdnn-Limit-symbol-check-to-global-symbols-3.patch

89
libzdnn.spec Normal file
View File

@ -0,0 +1,89 @@
#
# spec file for package libzdnn
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libzdnn
Version: 1.0.1
Release: 0
Summary: IBM Z Deep Learning Library
License: Apache-2.0
Group: Development/Libraries/Other
URL: https://github.com/IBM/zDNN
Source: zDNN-1.0.1.tar.gz
BuildRequires: autoconf
BuildRequires: gcc-c++
ExclusiveArch: s390x
%description
IBM Z Deep Neural Network Library (zDNN) provides an interface for
applications making use of Neural Network Processing Assist
Facility (NNPA).
This IBM-provided C library provides a set of functions that handle
the data transformation requirements of the AIU and provide wrapper
functions for the NNPA instruction primitives.
%package -n libzdnn0
Summary: Library interface for the IBM AI Accelerator
Group: Development/Libraries/Other
%description -n libzdnn0
IBM Z Deep Neural Network Library (zDNN) provides an interface for
applications making use of Neural Network Processing Assist
Facility (NNPA).
This IBM-provided C library provides a set of functions that handle
the data transformation requirements of the AIU and provide wrapper
functions for the NNPA instruction primitives.
%package devel
Summary: Deep Learning Library development files
Group: Development/Libraries/Other
Requires: libzdnn0 = %{version}-%{release}
%description devel
This package provides the sole include file and symbolic link to the
shared library for the libzdnn (zDNN) RPM.
%prep
%autosetup -p1 -n zDNN-%{version}
%build
autoconf
%configure
%make_build build
%install
%make_install
# We don't want/need the static library at this time. That could change.
rm -vf %{buildroot}/%{_libdir}/libzdnn.a
%post -n libzdnn0 -p /sbin/ldconfig
%postun -n libzdnn0 -p /sbin/ldconfig
%files -n libzdnn0
%doc README.md
%license LICENSE
%{_libdir}/libzdnn.so.0
%files devel
%{_includedir}/zdnn.h
%{_libdir}/libzdnn.so
%changelog

BIN
zDNN-1.0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.