fix(hotswap): gate entry trampoline rewrites for gfx12.5#7593
Conversation
2730218 to
8176f14
Compare
8176f14 to
ad38f93
Compare
✅ All Policy Checks Passed
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
|
🚫 Please fix the failed policies before requesting reviews. The following policy checks failed:
The |
b5f054a to
4b8391b
Compare
6d68f08 to
65b116f
Compare
65b116f to
bbfeb60
Compare
cfreeamd
left a comment
There was a problem hiding this comment.
Added a few comments for consideration--not blocking.
I noticed this is tagged not ready for review. Will approve when it's ready assuming no significant changes requiring re-review.
I am not sure why this is tagged not ready for review. It is ready for review. Do you know how I can get rid of the tag? |
I think we need to fix the PR title/description to keep the bot happy. |
The PR description is as per the bot's requirements. I know its asking for a JIRA ticket, but if you look here #7921 adding a JIRA ticket didn't remove the label here as well. |
|
I see. In that case I think its tripping over the "Unit test" check ? Maybe a latent bug. EDIT: Updated description with JIRA ID, FTFY |
Thanks! |
JIRA ID
JIRA ID - ROCM-27304
Stack
Layer 2 of the rocm-systems HotSwap stack, paired with ROCm/llvm-project#3008.
Summary
amd_comgr_hotswap_rewrite_with_optionswithAMD_COMGR_HOTSWAP_REWRITE_FLAG_ENTRY_TRAMPOLINESwhen it requests entry trampolines, and keepsamd_comgr_hotswap_rewritefor legacy/default rewrites.AMD_COMGR_HOTSWAP_ENTRY_TRAMPOLINESas the ROCr policy knob: default enabled in ROCr, literal0disables, unset/empty/any other value enables the entry-trampoline request.gfx125*targets andgfx12-5-genericwhile keeping non-gfx12.5 agents and source code objects unchanged.Testing
git diff --checkcmake --build build-rocrtst-hotswap-review --target hotswap_rewrite -j 8ctest --test-dir build-rocrtst-hotswap-review -R hotswap --output-on-failurecmake --build build-rocr-hotswap --target hsa-runtime64 -j 8