commit 5a816729e0bfb78900c096fb4524b7ef6cc13a304f0c31fc14ba2a1dd414be6b Author: Jan Engelhardt Date: Sat Jan 4 10:16:21 2025 +0000 Unified Memory Framework is a programming abstraction that simplifies memory management in heterogeneous computing systems by providing a unified address space accessible across CPUs and accelerators (e.g., GPUs). It eliminates the need for manual memory transfers between host and device, streamlining development and improving productivity. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/unified-memory-framework?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..4ed2055 --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + + https://github.com/oneapi-src/unified-memory-framework.git + git + v0.10.0 + @PARENT_TAG@ + v(.*) + + + + + + gz + unified-memory-framework-*.tar + + + diff --git a/unified-memory-framework-0.10.0.obscpio b/unified-memory-framework-0.10.0.obscpio new file mode 100644 index 0000000..5cc4ca1 --- /dev/null +++ b/unified-memory-framework-0.10.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b6ed5bc9fc411a4e31d6974e30701d1c9c684819c9adf1062eb9671dc26d141 +size 2285068 diff --git a/unified-memory-framework.changes b/unified-memory-framework.changes new file mode 100644 index 0000000..a86415e --- /dev/null +++ b/unified-memory-framework.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri Jan 3 23:43:49 UTC 2025 - Eyad Issa + +- Initial packaging at v0.10.0 diff --git a/unified-memory-framework.obsinfo b/unified-memory-framework.obsinfo new file mode 100644 index 0000000..2b20a21 --- /dev/null +++ b/unified-memory-framework.obsinfo @@ -0,0 +1,4 @@ +name: unified-memory-framework +version: 0.10.0 +mtime: 1733760097 +commit: ee6a7115618f1660a5c17b8b537bba0ff094c648 diff --git a/unified-memory-framework.spec b/unified-memory-framework.spec new file mode 100644 index 0000000..4a05ea1 --- /dev/null +++ b/unified-memory-framework.spec @@ -0,0 +1,118 @@ +# +# spec file for package unified-memory-framework +# +# Copyright (c) 2025 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/ +# + + +%define libname libumf0 +Name: unified-memory-framework +Version: 0.10.0 +Release: 0 +Summary: oneAPI Unified Memory Framework (UMF) +License: Apache-2.0 +URL: https://github.com/oneapi-src/unified-memory-framework +Source0: %{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: hwloc-devel +BuildRequires: level-zero-devel +BuildRequires: libnuma-devel +BuildRequires: ninja +BuildRequires: tbb-devel + +%description +The Unified Memory Framework (UMF) is a library for constructing allocators +and memory pools. It also contains broadly useful abstractions and utilities +for memory management. UMF allows users to manage multiple memory pools characterized +by different attributes, allowing certain allocation types to be isolated +from others and allocated using different hardware resources as required. + +%package -n %{libname} +Summary: oneAPI Unified Memory Framework (UMF) + +%description -n %{libname} +The Unified Memory Framework (UMF) is a library for constructing allocators +and memory pools. UMF allows users to manage multiple memory pools characterized +by different attributes, allowing certain allocation types to be isolated +from others and allocated using different hardware resources as required. + +%package devel +Summary: Development files for %{name} +Requires: %{libname} = %{version} +Requires: level-zero-devel +Recommends: %{name}-doc + +%description devel +The Unified Memory Framework (UMF) is a library for constructing allocators +and memory pools. + +This package contains the development files for UMF. + +%package doc +Summary: Documentation for %{name} +BuildArch: noarch + +%description doc +The Unified Memory Framework (UMF) is a library for constructing allocators +and memory pools. + +This package contains the documentation for UMF. + +%prep +%autosetup -p1 + +%build +%define __builder ninja +%cmake \ + -DUMF_BUILD_TESTS=OFF \ + -DUMF_BUILD_SHARED_LIBRARY=ON \ + -DUMF_LEVEL_ZERO_INCLUDE_DIR=%{_includedir}/level_zero \ + -DUMF_BUILD_CUDA_PROVIDER=OFF +%cmake_build + +%install +%cmake_install + +rm %{buildroot}%{_datadir}/doc/umf/licensing/third-party-programs.txt +rm %{buildroot}%{_datadir}/doc/umf/LICENSE.TXT + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +# licenses +%license LICENSE.TXT +%doc README.md +%doc licensing/third-party-programs.txt + +%{_libdir}/libumf.so.0.0.0 +%{_libdir}/libumf_proxy.so.0 + +%files devel +%{_libdir}/libumf.so +%{_libdir}/libumf.so.0 +%{_libdir}/libumf_proxy.so +%{_includedir}/umf.h +%{_includedir}/umf/ +%{_libdir}/cmake/umf/ + +%files doc +%if 0%{?sle_version} == 150500 +%{_datadir}/doc/umf/ +%else +%{_docdir}/unified-memory-framework/ +%endif + +%changelog