Skip to content

feat(miopen): Declare MIOPEN_ENABLE_HIPDNN_WRAPPER superbuild flag#6795

Open
NolanHannaAMD wants to merge 1 commit into
mainfrom
users/nhanna/miopen-hipdnn-wrapper-flag
Open

feat(miopen): Declare MIOPEN_ENABLE_HIPDNN_WRAPPER superbuild flag#6795
NolanHannaAMD wants to merge 1 commit into
mainfrom
users/nhanna/miopen-hipdnn-wrapper-flag

Conversation

@NolanHannaAMD

Copy link
Copy Markdown

ISSUE ID : ALMIOPEN-2341

Add a MIOPEN_ENABLE_HIPDNN_WRAPPER build flag (default OFF) that propagates -DMIOPEN_ENABLE_HIPDNN_WRAPPER=ON to the MIOpen subproject via therock_declare_flag(). When enabled through the superbuild knob -DTHEROCK_FLAG_MIOPEN_ENABLE_HIPDNN_WRAPPER=ON, MIOpen is built as a public wrapper (libMIOpen.so) over a private implementation library (libMIOpen_private.so), with optional runtime forwarding to hipDNN (see rocm-libraries MIOpen RFC 0001).

The flag defaults OFF, so normal builds are unchanged and byte-equivalent; nothing is forwarded into MIOpen unless a build explicitly opts in. The libMIOpen_private.so emitted when the flag is ON is already captured by the existing MIOpen artifact globs, so no artifact-descriptor change is needed.

Add a therock_declare_flag() entry so the MIOpen HIPDNN wrapper build can be controlled through the superbuild via -DTHEROCK_FLAG_MIOPEN_ENABLE_HIPDNN_WRAPPER=ON, which forwards MIOPEN_ENABLE_HIPDNN_WRAPPER=ON into the MIOpen subproject.

Defaults OFF, so normal builds stay flag-off and byte-equivalent. The libMIOpen_private.so emitted when enabled is already captured by the existing MIOpen artifact globs, so no descriptor change is needed.
@therock-pr-bot

therock-pr-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
🌿 Branch Name ✅ Pass
📝 PR Title/Description ✅ Pass
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🔎 pre-commit ✅ Pass
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled
🤖 therock-pr-bot ✅ Pass

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

@therock-pr-bot

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

1 participant