Skip to content

SWDEV-546303 - Add declarations for Library Management API#465

Open
systems-assistant[bot] wants to merge 2 commits intodevelopfrom
import/develop/ROCm_hip/pr-3838
Open

SWDEV-546303 - Add declarations for Library Management API#465
systems-assistant[bot] wants to merge 2 commits intodevelopfrom
import/develop/ROCm_hip/pr-3838

Conversation

@systems-assistant
Copy link
Copy Markdown
Contributor

This commit lays some groundwork to implement Library Management API calls. This change introduces function declarations and documentation.

Included APIs:

  • hipKernelGetAttribute
  • hipKernelGetFunction
  • hipKernelGetLibrary
  • hipKernelGetName
  • hipKernelGetParamInfo
  • hipKernelSetAttribute
  • hipKernelSetCacheConfig
  • hipLibraryEnumerateKernels
  • hipLibraryGetGlobal
  • hipLibraryGetKernel
  • hipLibraryGetKernelCount
  • hipLibraryGetManaged
  • hipLibraryGetModule
  • hipLibraryGetUnifiedFunction
  • hipLibraryUnload

Associated JIRA ticket number/Github issue number

SWDEV-546303

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Continuous Integration

What were the changes?

Added declarations and basic documentation for new Library Managemet API.

Why are these changes needed?

Part of a Library Management API feature

Updated CHANGELOG?

  • Yes
  • No, Does not apply to this PR.

Added/Updated documentation?

  • Yes
  • No, Does not apply to this PR.

Additional Checks

  • I have added tests relevant to the introduced functionality, and the unit tests are passing locally.
  • Any dependent changes have been merged.

🔁 Imported from ROCm/hip#3838
🧑‍💻 Originally authored by @rocm-devops

sluzynsk-amd and others added 2 commits August 14, 2025 12:44
This commit lays some groundwork to implement Library Management API
calls. This change introduces function declarations and documentation.

Included APIs:
* hipKernelGetAttribute
* hipKernelGetFunction
* hipKernelGetLibrary
* hipKernelGetName
* hipKernelGetParamInfo
* hipKernelSetAttribute
* hipKernelSetCacheConfig
* hipLibraryEnumerateKernels
* hipLibraryGetGlobal
* hipLibraryGetKernel
* hipLibraryGetKernelCount
* hipLibraryGetManaged
* hipLibraryGetModule
* hipLibraryGetUnifiedFunction
* hipLibraryUnload

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
SwRaw pushed a commit that referenced this pull request Aug 19, 2025
* Added null check for stream_stack before get_stream_id is called

* Rename function and add check for stream strack before pop

* Removed empty check for stream stack and adding error log for get_stream_id in stream.cpp

[ROCm/rocprofiler-sdk commit: 0904b6e]
ammallya pushed a commit that referenced this pull request Jan 30, 2026
Mesa will be enabling tiling for all VA surfaces by default,
but HIP doesn't support modifiers for dmabuf import.
ammallya pushed a commit that referenced this pull request Jan 30, 2026
Mesa will be enabling tiling for all VA surfaces by default,
but HIP doesn't support modifiers for dmabuf import.

[ROCm/rocdecode commit: 80e08f4]
@jayhawk-commits jayhawk-commits requested review from a team as code owners February 26, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants