diff options
| author | Claude <noreply@anthropic.com> | 2026-11-21 22:19:36 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-21 22:19:36 +0000 |
| commit | 46d3093d61e354c46aa5307698b6281d7f3d17b9 (patch) | |
| tree | d6a6121a6b3b62a2400e63fb15fd3e672b387e55 /runtime/src/tls_host.cpp | |
| parent | 909fd0ec5daf33cb822b9520d0821cb0b6b2cad4 (diff) | |
shader_profile: report per-stage register pressure; add --per-shader
profile_shader() and register_footprint() were only called from the tests.
main() now runs profile_shader() on every shader and adds a "registers"
section to profile.json: per stage, the max and mean VGPR/SGPR count and a
VGPR histogram (<=32/64/128/256). --per-shader also lists each shader's
instruction count and VGPR/SGPR footprint. Existing output is unchanged.
Tested with hand-written disassembly only (tests/test_shader_profile.py).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011jW1LkcxdgoMR14Ng7tzCo
Diffstat (limited to 'runtime/src/tls_host.cpp')
0 files changed, 0 insertions, 0 deletions