Skip to content

docs(hipdnn): remove no_cpu_reference/no_gpu_reference once reference supports the bundle - #15176

Open
adickin-amd wants to merge 1 commit into
developfrom
users/addickin/almiopen_3138_reference_flag_docs
Open

adickin-amd wants to merge 1 commit into
developfrom
users/addickin/almiopen_3138_reference_flag_docs

Conversation

@adickin-amd

Copy link
Copy Markdown
Contributor

Summary

Documents how to get out of a bundle-level reference disable. no_cpu_reference / no_gpu_reference have no way back: once a bundle sets one, that lane never runs the bundle, so nothing notices when the reference later gains the op or shape. This adds guidance to adding-tests.md for both the author who sets the flag and the author who adds reference support. Docs only.

JIRA ID : ALMIOPEN-3138

Follow-up to a non-blocking review comment on #14346: #14346 (comment)

Risk Assessment

Risk 1. One markdown file, no code, build or test changes.

ASIC Coverage

Not applicable: documentation only.

Testing Summary

Docs only; no build or test run. The edited sections were re-read after the change to check list formatting and the in-page anchor. The notes metadata field the new text refers to is documented in file-formats.md (provenance-only string).

Testing Checklist

  • Build + test lanes - Not applicable (docs only)
  • clang-tidy - Not applicable (no C++ changes)
  • Re-read edited sections for formatting and anchors - Status: Done
  • PR CI - Status: Pending

Technical Changes

dnn-providers/integration-tests/docs/adding-tests.md:

  • "Disable a reference for a bundle": two new bullets. Record why the reference is disabled in the metadata notes field. Remove the flag once the reference supports the bundle.
  • "When no reference executor supports the op": the "add the op to a reference executor" bullet now says to search bundle metadata (*.meta.json, cases[].metadata) for the matching flag and try removing it, and links to the section above.

…MIOPEN-3138)

Ask authors to record the reason for no_cpu_reference/no_gpu_reference in the metadata notes field and to remove the flag once the reference supports the bundle. Add a matching hint to the 'add the op to a reference executor' option.
@therock-pr-bot

therock-pr-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR 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.

🙋 Wish to Override Policy?

@therock-pr-bot

therock-pr-bot Bot commented Nov 5, 2026

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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.

1 participant