Skip to content

Encode benchmark MXR comment metadata as JSON#4982

Open
ahsan-ca wants to merge 3 commits into
developfrom
benchmark-mxr-format-change
Open

Encode benchmark MXR comment metadata as JSON#4982
ahsan-ca wants to merge 3 commits into
developfrom
benchmark-mxr-format-change

Conversation

@ahsan-ca

@ahsan-ca ahsan-ca commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Motivation

Using json encoding for comment metadata simplifies parsing
of dumped mxr files for benchmarking later.

Technical Details

Changelog Category

Add a CHANGELOG.md entry for any option other than Not Applicable

    • Added: New functionality.
    • Changed: Changes to existing functionality.
    • Removed: Functionality or support that has been removed. (Compared to a previous release)
    • Optimized: Component performance that has been optimized or improved.
    • Resolved Issues: Known issues from a previous version that have been resolved.
    • Not Applicable: This PR is not to be included in the changelog.

@ahsan-ca ahsan-ca requested review from kahmed10 and pfultz2 June 17, 2026 18:28
@ahsan-ca ahsan-ca self-assigned this Jun 17, 2026
@ahsan-ca ahsan-ca requested a review from causten as a code owner June 17, 2026 18:28
Copilot AI review requested due to automatic review settings June 17, 2026 18:28

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.

Pull request overview

This PR updates the GPU benchmarking MXR dump path to emit a structured (JSON) builtin::comment payload, with the goal of making downstream parsing for benchmarking easier and more robust.

Changes:

  • Add migraphx/json.hpp usage in compile_ops.cpp.
  • Replace the benchmark MXR comment string from ad-hoc text formatting to JSON serialization of {op, problem, solution} metadata.

Comment thread src/targets/gpu/compile_ops.cpp
@ahsan-ca ahsan-ca changed the title Use json encoding for comment used for benchmarking mxr files Encode benchmark MXR comment metadata as JSON Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants