d3d12: count compute pipelines created, stood in and replaced #582
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/582"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from brcly/TuxBox. Originally posted by csj0oe on 2026-11-30T07:48:50Z.
What
Compute pipelines that miss the compile deadline are replaced by empty stand-ins, but nothing reports how many were created, stood in, or later replaced by a finished compile, so a change to the 512 KiB threshold or the 20 s deadline cannot be judged.
Adds one exit line from the library's detach callback:
TUXBOX_LOGis unset.Tests
runtime/d3d12/src/tests/progress.rs::the_compute_summary_names_each_outcome_oncepins that each outcome is named once. It is typechecked for Windows; native execution of thewindowscrate is not possible here.Not run
The line itself has not been observed in a real run; no GPU suite exercises the counter. NVIDIA not applicable.
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-30T09:50:08Z.
Thanks. Knowing how many compute pipelines were stood in and later replaced would be useful for judging the 512 KiB threshold and the 20 s deadline. I'm holding this version, though, because of where it reports:
atexitcallbacks don't run then, so the line won't appear in the runs we'd judge a threshold by. The PR says it hasn't been observed in a real run yet, and I'd expect that to stay true for most runs.Report the counts while the run is live instead: either alongside the progress panel's existing stand-in count, or as a log line each time a stand-in is replaced (
compute_replacedalready returns the running total). Then show the line from a real boot with a few stand-ins in it. With that, I'm happy to merge it.Imported from brcly/TuxBox. Originally posted by csj0oe on 2026-11-30T10:10:30Z.
Closing, agreed on the exit-time problem: killed runs skip
atexit, and detaching a logger under the loader lock is worse than the counts are worth. Live reporting needs the fault reproduced first, so it goes in with that run rather than as its own PR. Branch kept.Pull request closed