Skip to content

[rocjitsu] Remove throws from vector move builders - #14192

Merged
IanWood1 merged 5 commits into
developfrom
users/IanWood1/rocjitsu-vector-builder-errors
Oct 27, 2026
Merged

IanWood1 merged 5 commits into
developfrom
users/IanWood1/rocjitsu-vector-builder-errors

Conversation

@IanWood1

@IanWood1 IanWood1 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Motivation

Remove C++ exceptions from vector move instruction builders.

Technical Details

Return FailureOr with optional diagnostics for unsupported architectures and literal sources. Propagate failures through trampoline construction.

Update builder, trampoline, and DBI tests for result-based failures, diagnostics, and supported encodings. Cover CDNA5 literal64 rejection with one diagnostic and preserve silent CDNA1 LDS-direct encoding.

Issue Tracking

Part of #10239.

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
@therock-pr-bot

therock-pr-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🔎 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

Copy link
Copy Markdown

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

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
@IanWood1
IanWood1 marked this pull request as ready for review October 26, 2026 18:22
@IanWood1
IanWood1 requested review from a team and atgutier as code owners October 26, 2026 18:22
Copilot AI balanced review requested due to automatic review settings October 26, 2026 18:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@kuhar kuhar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some comments

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>

@kuhar kuhar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>

@kuhar kuhar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: It would help to refresh emulation/rocjitsu/docs/dbi-design.md:197 and the test inventory at :522 to mention FailureOr with optional diagnostics and CDNA5 selector-254 rejection. Both passages still describe only the 32-bit literal case; a short update would let readers find the new error contract and diagnostic coverage without tracing the header and tests.

LGTM

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 27, 2026
@IanWood1
IanWood1 merged commit a7e7156 into develop Oct 27, 2026
64 checks passed
@IanWood1
IanWood1 deleted the users/IanWood1/rocjitsu-vector-builder-errors branch October 27, 2026 20:18
@github-actions

Copy link
Copy Markdown
Contributor

rocjitsu post-commit fuzz passed

The 32-worker multiplexer campaigns for commit a7e715635322 completed without recording a crash or hang.

  • ASan+UBSan (6-minute): 595,343 input executions (1,686.04 inputs/s)
  • TSan (6-minute): 599,345 input executions (1,708.27 inputs/s)

View the workflow run.

ywang103-amd pushed a commit that referenced this pull request Oct 28, 2026
## Motivation

Remove C++ exceptions from vector move instruction builders.

## Technical Details

Return `FailureOr` with optional diagnostics for unsupported
architectures and literal sources. Propagate failures through trampoline
construction.

Update builder, trampoline, and DBI tests for result-based failures,
diagnostics, and supported encodings. Cover CDNA5 literal64 rejection
with one diagnostic and preserve silent CDNA1 LDS-direct encoding.

## Issue Tracking

Part of #10239.

---------

Signed-off-by: Ian Wood <ianwood@u.northwestern.edu>
@systems-assistant

Copy link
Copy Markdown
Contributor

TheRock Submodule Bump Activity

Newest first

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

Labels

documentation Improvements or additions to documentation organization: ROCm project: rocjitsu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants