Skip to content

feat(gpu): name the pipelines of a submission the host GPU has not finished after 8 s - #283

Merged
pragyaangaur merged 1 commit into
pragyaangaur:mainfrom
derz92:feat/gpu-hang-names
Nov 26, 2026
Merged

pragyaangaur merged 1 commit into
pragyaangaur:mainfrom
derz92:feat/gpu-hang-names

Conversation

@derz92

@derz92 derz92 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

When the host GPU never finishes a submission, the log says only still waiting for the host GPU seconds=N value=… completed=…. That shows that it hung, not what hung.

This records, for every submission, the set of pipelines its lists bound (HostList::pipelines, already kept). If the wait reaches 8 s, it logs that set once:

ERROR victory_gpu::host: host GPU hang: the submission waited on what=30 lists, pipelines {"[compute …]", "[mesh …, pixel …]", …}

Comparing the sets of two independent hangs is how the over-limit mesh pipelines behind #172's world-entry hang were found (#282). The cost is one string per submission, made under the submission lock, which is held anyway. Nothing changes when no submission hangs.

Tested on an M5 Max with D3DMetal 4.0 beta 3: a hung run logged the line once, 8 s into the wait; runs without a hang log nothing new.

🤖 Generated with Claude Code

@pragyaangaur
pragyaangaur merged commit cb08972 into pragyaangaur:main Nov 26, 2026
1 check passed
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.

2 participants