Feature/genesis extension - #866
Open
Ahmedhasssan-aig wants to merge 2 commits into
Open
Conversation
Add TraceLens extension for Genesis/Taichi physics simulation workloads: - Steady-state GPU timeline (post-JIT simulation burst detection) - Genesis physics kernel categorization (rigid body, collision, etc.) - Capture directory loading for run_combined_trace.sh output - CSV-to-JSON fallback for rocprof traces with invalid UTF-8 - Combined Excel + Markdown summary report generation Co-authored-by: Cursor <cursoragent@cursor.com>
Brief trace capture instructions, expected directory layout, CLI usage, and key options for the genesis perf report extension. Co-authored-by: Cursor <cursoragent@cursor.com>
gabeweisz
requested changes
Jul 31, 2026
gabeweisz
left a comment
Collaborator
There was a problem hiding this comment.
Looks pretty good and will not break anything, but we need to add some tests and fix the failing doc creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Genesis/Taichi physics-simulation profiling extension to TraceLens. It combines rocprof kernel analysis with pftrace HIP-activity and memory-copy reports, categorizes physics kernels, and isolates the steady-state simulation window (excluding JIT/build overhead) for accurate performance numbers.
What's new
Inputs
Captured via rocprofv3 --hip-trace --kernel-trace --memory-copy-trace --output-format pftrace. Expects profile_output//kernel_trace/ (requires kernel_kernel_trace.csv; uses kernel_results.pftrace/kernel_results.json as available), with optional run.log (auto-detects benchmark wall-time) and combined_manifest.json (capture metadata).
Outputs
Key options