This is a small VS Code extension that shows AMDGPU SGPR/VGPR values when hovering registers in .s/.S files while stopped in rocgdb.
- Hover
s55,s[54:55],v17 - Hover symbolic registers like
s[sgprStreamKIter]by resolving.set/.equdefinitions in the current assembly file - Works with active
cppdbgrocgdb sessions (recommended), or with a spawnedrocgdbMI process
- VS Code Extensions: search "rocgdb Register Hover" → Install
- CLI:
code --install-extension jfactory07.rocgdb-register-hover
- Open this folder in VS Code
- Press
F5to launch an Extension Development Host
For VS Code Remote (SSH/containers), you can copy/symlink this folder into the remote extensions directory and reload the window:
- Typical remote dir:
~/.vscode-server/extensions/
See package.json for all rocgdbHover.* settings.
- VGPR values are read via
info registers vXXand may return a 64-lane vector depending on your rocgdb build.