commit:     01d403fd02559e43a33d367b6846a9362eefafb6
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Fri Oct 17 09:28:29 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 14:31:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d403fd

dev-libs/rocm-opencl-runtime: drop unused patches

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44218
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../rocm-opencl-runtime-6.1.2-fix-segfault.patch   | 31 ----------------------
 1 file changed, 31 deletions(-)

diff --git 
a/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-6.1.2-fix-segfault.patch
 
b/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-6.1.2-fix-segfault.patch
deleted file mode 100644
index 78f76303468f..000000000000
--- 
a/dev-libs/rocm-opencl-runtime/files/rocm-opencl-runtime-6.1.2-fix-segfault.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From d1fff7cea2231e7980d85790486edb70d093a1dc Mon Sep 17 00:00:00 2001
-From: Rakesh Roy <[email protected]>
-Date: Wed, 20 Mar 2024 22:50:22 +0530
-Subject: [PATCH] SWDEV-445096 - Fix -O0 crash in OpenCL tests
-
-- With https://gerrit-git.amd.com/c/lightning/ec/llvm-project/+/1002628 
applied, at -O0 Kernel::dynamicParallelism() returns true but virtual queue 
isn't created
-- This causes segfault inside VirtualGPU::submitKernelInternal() when 
getVQVirtualAddress() is called
-
-Change-Id: Ia7af042adad2329e870c142caaac3e8fa886f8b8
----
- rocclr/device/rocm/rocvirtual.cpp | 7 +++++--
- 1 file changed, 5 insertions(+), 2 deletions(-)
-
-diff --git a/rocclr/device/rocm/rocvirtual.cpp 
b/rocclr/device/rocm/rocvirtual.cpp
-index 51080013b..1610aecfe 100644
---- a/rocclr/device/rocm/rocvirtual.cpp
-+++ b/rocclr/device/rocm/rocvirtual.cpp
-@@ -3326,8 +3326,11 @@ bool VirtualGPU::submitKernelInternal(const 
amd::NDRangeContainer& sizes,
- 
-   if (gpuKernel.dynamicParallelism()) {
-     dispatchBarrierPacket(kBarrierPacketHeader, true);
--    static_cast<KernelBlitManager&>(blitMgr()).runScheduler(
--        getVQVirtualAddress(), schedulerParam_, schedulerQueue_, 
schedulerSignal_, schedulerThreads_);
-+    if (virtualQueue_ != nullptr) {
-+      static_cast<KernelBlitManager&>(blitMgr()).runScheduler(
-+          getVQVirtualAddress(), schedulerParam_, schedulerQueue_,
-+          schedulerSignal_, schedulerThreads_);
-+    }
-   }
- 
-   // Check if image buffer write back is required

Reply via email to