Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package OpenImageDenoise for 
openSUSE:Factory checked in at 2026-06-03 20:27:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/OpenImageDenoise (Old)
 and      /work/SRC/openSUSE:Factory/.OpenImageDenoise.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "OpenImageDenoise"

Wed Jun  3 20:27:06 2026 rev:11 rq:1356920 version:2.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/OpenImageDenoise/OpenImageDenoise.changes        
2026-01-14 16:24:42.208980019 +0100
+++ 
/work/SRC/openSUSE:Factory/.OpenImageDenoise.new.1937/OpenImageDenoise.changes  
    2026-06-03 20:29:44.139406304 +0200
@@ -1,0 +2,28 @@
+Tue Jun  2 21:26:33 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Update to 2.5.0 
+  - Significantly improved performance and reduced memory usage on
+    Intel GPUs with XMX support and CPUs with AMX-FP16 support
+  - Added API for importing external semaphores from graphics APIs
+    (e.g. Vulkan, Direct3D 12). Currently this is supported only by
+    CUDA (Windows and Linux) and HIP (Windows only) devices. SYCL
+    device support will be added in a future version
+  - Added the OIDN_EXTERNAL_MEMORY_TYPE_FLAG_DEDICATED flag which
+    must be combined with the handle type flag when importing
+    external memory with dedicated allocation
+  - Fixed corrupted output on Apple M5 Pro/Max GPUs using Metal
+  - Fixed a crash caused by over-releasing the MTLDevice, which
+    could occur after creating and destroying multiple devices
+  - Fixed device detection failure or crash on Windows if some old
+    Intel integrated GPU drivers are installed (fix requires
+    building with oneAPI DPC++ Compiler 6.1.0)
+
+-------------------------------------------------------------------
+Tue Jun  2 21:25:06 UTC 2026 - Marcus Rueckert <[email protected]>
+
+- Prepare HIP support - Dont enable until we can parallelize the
+  GPU kernel compilation
+  - adds add-parallel-jobs.patch
+  - track series file for easier patching with quilt
+
+-------------------------------------------------------------------

Old:
----
  oidn-2.4.1.src.tar.gz

New:
----
  add-parallel-jobs.patch
  oidn-2.5.0.src.tar.gz
  series

----------(New B)----------
  New:  GPU kernel compilation
  - adds add-parallel-jobs.patch
  - track series file for easier patching with quilt
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ OpenImageDenoise.spec ++++++
--- /var/tmp/diff_new_pack.VBDwHU/_old  2026-06-03 20:29:47.319538005 +0200
+++ /var/tmp/diff_new_pack.VBDwHU/_new  2026-06-03 20:29:47.323538171 +0200
@@ -17,24 +17,39 @@
 #
 
 
+%bcond_with hip
+
 %define sover 2
 %define sub_library_sover %(echo %{version} | tr '.' '_')
 %define main_library lib%{name}%{sover}
 %define core_library lib%{name}_core%{sub_library_sover}
 %define device_cpu_library lib%{name}_device_cpu%{sub_library_sover}
+%define device_hip_library libOpenImageDenoise_device_hip%{sub_library_sover}
+
+%define __builder ninja
 
 %define pkgname oidn
 Name:           OpenImageDenoise
-Version:        2.4.1
+Version:        2.5.0
 Release:        0
 Summary:        Open Image Denoise library
 License:        Apache-2.0
 Group:          Development/Libraries/C and C++
 URL:            https://openimagedenoise.github.io/
 Source:         
https://github.com/%{name}/%{pkgname}/releases/download/v%{version}/%{pkgname}-%{version}.src.tar.gz
+Source99:       series
+Patch1:         add-parallel-jobs.patch
 BuildRequires:  cmake >= 3.1
+BuildRequires:  ninja
+%if %{with hip}
+BuildRequires:  clang
+BuildRequires:  hipcc
+BuildRequires:  rocm-hip-devel
+BuildRequires:  rocm-runtime
+%else
 BuildRequires:  gcc-c++
-BuildRequires:  ispc >= 1.29.1
+%endif
+BuildRequires:  ispc >= 1.30.0
 BuildRequires:  tbb-devel
 ExclusiveArch:  x86_64 aarch64
 
@@ -64,6 +79,16 @@
 
 This package holds the core sub shared library.
 
+%package -n %{device_hip_library}
+Summary:        Shared library for Open Image Denoise library
+Group:          System/Libraries
+
+%description -n %{device_hip_library}
+Intel Open Image Denoise is an open source library of high-performance,
+high-quality denoising filters for images rendered with ray tracing.
+
+This package holds the device hip sub shared library.
+
 %package -n %{device_cpu_library}
 Summary:        Shared library for Open Image Denoise library
 Group:          System/Libraries
@@ -88,7 +113,14 @@
 %autosetup -p1 -n %{pkgname}-%{version}
 
 %build
-%cmake
+%cmake \
+  %if %{with hip}
+  -DOIDN_DEVICE_HIP=ON \
+  -DOIDN_DEVICE_HIP_COMPILER=%{_bindir}/hipcc \
+  -DROCM_PATH=%{_libdir}/libhsa-runtime64.so.1 \
+  -DROCM_PATH=%{_libdir} \
+  %endif
+  %{nil}
 %cmake_build
 
 %install
@@ -115,6 +147,12 @@
 %license LICENSE.txt
 %{_libdir}/lib%{name}_device_cpu.so.*
 
+%if %{with hip}
+%files -n %{device_hip_library}
+%license LICENSE.txt
+%{_libdir}/libOpenImageDenoise_device_hip.so.%{version}
+%endif
+
 %files devel
 %license LICENSE.txt
 %doc CHANGELOG.md README.md readme.pdf

++++++ add-parallel-jobs.patch ++++++
Index: oidn-2.4.1/devices/hip/CMakeLists.txt
===================================================================
--- oidn-2.4.1.orig/devices/hip/CMakeLists.txt
+++ oidn-2.4.1/devices/hip/CMakeLists.txt
@@ -81,6 +81,7 @@ set_source_files_properties(
 )
 
 # Fix error with ROCm 7: constexpr function never produces a constant 
expression
+target_compile_options(OpenImageDenoise_device_hip PRIVATE -parallel-jobs=12)
 target_compile_options(OpenImageDenoise_device_hip PRIVATE 
-Wno-invalid-constexpr)
 # Fix warning: ignoring return value of function declared with 'nodiscard' 
attribute (HIP API)
 target_compile_options(OpenImageDenoise_device_hip PRIVATE -Wno-unused-result)
@@ -90,5 +91,5 @@ if(WIN32)
 endif()
 
 target_link_libraries(OpenImageDenoise_device_hip PRIVATE 
OpenImageDenoise_core hip::device)
-oidn_strip_symbols(OpenImageDenoise_device_hip)
+# oidn_strip_symbols(OpenImageDenoise_device_hip)
 oidn_install_module(OpenImageDenoise_device_hip)
\ No newline at end of file
Index: oidn-2.4.1/devices/CMakeLists.txt
===================================================================
--- oidn-2.4.1.orig/devices/CMakeLists.txt
+++ oidn-2.4.1/devices/CMakeLists.txt
@@ -159,7 +159,7 @@ if(OIDN_DEVICE_HIP)
       -DCMAKE_CXX_COMPILER:FILEPATH=${OIDN_DEVICE_HIP_COMPILER}
       -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${CMAKE_TOOLCHAIN_FILE}
       -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
-      -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/hip/preinstall
+      -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
       -DCMAKE_INSTALL_BINDIR:PATH=${CMAKE_INSTALL_BINDIR}
       -DCMAKE_INSTALL_LIBDIR:PATH=${CMAKE_INSTALL_LIBDIR}
       -DOIDN_ROOT_BINARY_DIR:PATH=${OIDN_ROOT_BINARY_DIR}
@@ -174,14 +174,6 @@ if(OIDN_DEVICE_HIP)
     DEPENDS
       OpenImageDenoise_core
   )
-
-  # Due to limitations of CMake, the module is pre-installed at build time to 
a temporary location,
-  # and then copied to the real install location at install time.
-  install(DIRECTORY
-    ${CMAKE_CURRENT_BINARY_DIR}/hip/preinstall/
-    DESTINATION "."
-    USE_SOURCE_PERMISSIONS
-  )
 endif()
 
 if(OIDN_DEVICE_METAL)

++++++ oidn-2.4.1.src.tar.gz -> oidn-2.5.0.src.tar.gz ++++++
/work/SRC/openSUSE:Factory/OpenImageDenoise/oidn-2.4.1.src.tar.gz 
/work/SRC/openSUSE:Factory/.OpenImageDenoise.new.1937/oidn-2.5.0.src.tar.gz 
differ: char 5, line 1

++++++ series ++++++
add-parallel-jobs.patch

Reply via email to