commit:     6dd20b51d6620cc37484afa1564fd0b44bc60c7d
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Jan  7 19:14:46 2025 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu Jan  9 15:12:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd20b51

dev-libs/rocr-runtime: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../files/rocr-runtime-6.2.0-ld-lld.patch          | 17 --------------
 .../files/rocr-runtime-6.2.0-no-aqlprofiler.patch  | 27 ----------------------
 2 files changed, 44 deletions(-)

diff --git a/dev-libs/rocr-runtime/files/rocr-runtime-6.2.0-ld-lld.patch 
b/dev-libs/rocr-runtime/files/rocr-runtime-6.2.0-ld-lld.patch
deleted file mode 100644
index e35ee8c0e46b..000000000000
--- a/dev-libs/rocr-runtime/files/rocr-runtime-6.2.0-ld-lld.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fix "symbol not defined" when linking with ld.lld >= 17
-https://github.com/ROCm/ROCR-Runtime/issues/204
---- a/hsacore.so.def
-+++ b/hsacore.so.def
-@@ -247,12 +247,6 @@ global:
-       hsa_amd_vmem_retain_alloc_handle;
-       hsa_amd_vmem_get_alloc_properties_from_handle;
-       hsa_amd_agent_set_async_scratch_limit;
--      hsa_tools_scratch_event_alloc_start;
--      hsa_tools_scratch_event_alloc_end;
--      hsa_tools_scratch_event_free_start;
--      hsa_tools_scratch_event_free_end;
--      hsa_tools_scratch_event_async_reclaim_start;
--      hsa_tools_scratch_event_async_reclaim_end;
-       hsa_ven_amd_pcs_iterate_configuration;
-       hsa_ven_amd_pcs_create;
-       hsa_ven_amd_pcs_create_from_id;

diff --git 
a/dev-libs/rocr-runtime/files/rocr-runtime-6.2.0-no-aqlprofiler.patch 
b/dev-libs/rocr-runtime/files/rocr-runtime-6.2.0-no-aqlprofiler.patch
deleted file mode 100644
index 018c3298ed8d..000000000000
--- a/dev-libs/rocr-runtime/files/rocr-runtime-6.2.0-no-aqlprofiler.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-libhsa-amd-aqlprofile64 library is not packaged
-Bug: https://github.com/ROCm/ROCm/issues/1781
---- a/core/runtime/amd_gpu_agent.cpp
-+++ b/core/runtime/amd_gpu_agent.cpp
-@@ -1333,11 +1333,6 @@ hsa_status_t GpuAgent::GetInfo(hsa_agent_info_t 
attribute, void* value) const {
-         setFlag(HSA_EXTENSION_AMD_PC_SAMPLING);
-       }
- 
--      if (os::LibHandle lib = os::LoadLib(kAqlProfileLib)) {
--        os::CloseLib(lib);
--        setFlag(HSA_EXTENSION_AMD_AQLPROFILE);
--      }
--
-       setFlag(HSA_EXTENSION_AMD_PROFILER);
- 
-       break;
---- a/core/runtime/hsa.cpp
-+++ b/core/runtime/hsa.cpp
-@@ -490,7 +490,7 @@ hsa_status_t hsa_system_get_major_extension_table(uint16_t 
extension, uint16_t v
-     return HSA_STATUS_SUCCESS;
-   }
- 
--  if (extension == HSA_EXTENSION_AMD_AQLPROFILE) {
-+  if (0) {
-     if (version_major != hsa_ven_amd_aqlprofile_VERSION_MAJOR) {
-       debug_print("aqlprofile API incompatible ver %d, current ver %d\n",
-         version_major, hsa_ven_amd_aqlprofile_VERSION_MAJOR);

Reply via email to