Skip to content

Users/jamessiddeley amd/roofline add lds ai plot point#6483

Draft
jamessiddeley-amd wants to merge 3 commits into
rocprofiler-compute-developfrom
users/jamessiddeley-amd/roofline-add-lds-ai-plot-point
Draft

Users/jamessiddeley amd/roofline add lds ai plot point#6483
jamessiddeley-amd wants to merge 3 commits into
rocprofiler-compute-developfrom
users/jamessiddeley-amd/roofline-add-lds-ai-plot-point

Conversation

@jamessiddeley-amd
Copy link
Copy Markdown
Contributor

@jamessiddeley-amd jamessiddeley-amd commented May 27, 2026

Motivation

Add LDS arithmetic intensity roofline plot points and make roofline plot colors easier to view by aligning cache level marker colors with their corresponding ceiling lines

Technical Details

  • Adds LDS AI data to roofline plot-point generation.
  • Uses the existing LDS bandwidth interpretation based on summed SQ_LDS_IDX_ACTIVE / SQ_LDS_BANK_CONFLICT values.
  • Introduces a single roofline color palette so HBM/L2/L1/LDS marker colors match their bandwidth ceiling lines.
  • Assigns explicit colors to bandwidth, Peak VALU, and Peak MFMA line traces instead of relying on Plotly’s default trace colors.

JIRA ID

ROCM-24893

Test Plan

  • Ran focused roofline AI tests
  • Rebuilt and profiled vcopy and occupancy workloads on MI350
  • Inspected generated roofline HTML output

Test Result

  • pytest tests/test_roofline_calc_ai_analyze.py -q passed
  • Generated roofline plots successfully for FP8/FP16/FP32 workloads
  • Verified direct ROCPROF=rocprofv3 CSV output has one row per dispatch/counter for tested workloads

rocprof-compute analyze -VVV -p workloads/occupancy_lds_bw/MI350/ -b 4
empirRoof_gpu-0_FP32_lds_bw_FP32.html

Submission Checklist

Resolve gfx115x config-management rename conflicts and keep the shared RDNA 3.5 config path validating against the gfx11 template.

Co-authored-by: Cursor <cursoragent@cursor.com>
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 github actions Pull requests that update GitHub Actions code organization: ROCm project: rocprofiler-compute

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant