From 7d8099d9d0c2cce2235a31841f8c737ea2ea9a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 19 Feb 2024 20:04:57 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 libzdnn revision 645587ff1bfed3df3c0272601daae97d --- .gitattributes | 23 ++++++++++++ libzdnn.changes | 48 +++++++++++++++++++++++++ libzdnn.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++ zDNN-1.0.1.tar.gz | 3 ++ 4 files changed, 163 insertions(+) create mode 100644 .gitattributes create mode 100644 libzdnn.changes create mode 100644 libzdnn.spec create mode 100644 zDNN-1.0.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/libzdnn.changes b/libzdnn.changes new file mode 100644 index 0000000..6dc56a9 --- /dev/null +++ b/libzdnn.changes @@ -0,0 +1,48 @@ +------------------------------------------------------------------- +Tue Feb 13 09:00:47 UTC 2024 - Nikolay Gueorguiev + +- 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 + +- 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 + +- 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 + +- 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 + diff --git a/libzdnn.spec b/libzdnn.spec new file mode 100644 index 0000000..fe81e8b --- /dev/null +++ b/libzdnn.spec @@ -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 diff --git a/zDNN-1.0.1.tar.gz b/zDNN-1.0.1.tar.gz new file mode 100644 index 0000000..0200012 --- /dev/null +++ b/zDNN-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:154acbb56f374e9b88a30d55180d2da776e1742d252ae216d94e9c0b4cef28bd +size 632545