Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Fix AMD CoMGR loading #32

Open
wants to merge 1 commit into
base: rocm-5.0.x
Choose a base branch
from
Open

Conversation

wsmoses
Copy link

@wsmoses wsmoses commented Mar 18, 2022

Ideally should also be forward/backported to other relevant ROCM versions.

HIPRtc currently does not correctly support LLVM plugins. Specifically, symbols defined within LLVM and/or clang are not available by any plugins when they are loaded. This is partially due to the fact that the one location with these symbols (libamd_comgr) does not mark these symbols as being available globally when it is loaded.

This patch is the first of two pieces required to support LLVM plugins on ROCm, the second of which is a change to ensure libamd_comgr marks LLVM/Clang symbols as exported for when it loads the plugin (ROCm/ROCm-CompilerSupport#43).

cc @jedbrown @LeilaGhaffari

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant