Repository navigation
Conversation
…ines (xcl-dev#2088) Part of xcl-dev#2088, workstream 1 (the recording only): which pipelines a title needs before each point of its start, in the order it needs them, and which it had to wait for. With XCL_PSO_MANIFEST=1, pso-manifest.txt beside used-pipelines.txt (a new file each run) gets one tab-separated event a line, numbered in file order with the milliseconds since the first: - use: a pipeline's first use (pso_async's note_use), its shader-set key, compute or graphics, and whether it was built by then (ready / cold); - build: each driver compile (driver_compile_identified): kind, DXIL bytes, the console record's hash and whether a driver blob was supplied, time in the driver and time waiting for a compile slot; - present: the title's presents at milestones (1, 2, 4 ... 1024, then every 1024th), so a manifest shows where presents stop and whether they return. A first use's line is written, under the manifest's lock, before the pipeline is marked used: a second bind of it (and a present after that) comes after the line in the file (found in review by ettehn). Recording only, off by default: nothing is built, ordered or skipped differently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Track eager ready handles and first binds that skip a pending entry, so an ordered manifest can select the complete prefix through a Present event.
Contributor
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #2096. The only commit added by this PR is
cd9fb4d6, on top ofbb4dea40.A compute pipeline created synchronously could skip the pending-entry path and never record its first bind. This leaves milestone precompilation with an incomplete prefix. This follow-up covers eager ready handles and already-translated synchronous pipelines.
What is in it
useevent across repeated binds. Keep the existing used-pipeline log behavior.useevent afterbuild, and verifies dispatch output.Tested
cargo build --workspace --offline --locked -j 2passed.cargo test --workspace --offline --locked -j 2 --no-fail-fast -- --test-threads=1 --nocapture: 1,154 passed, 4 failed, 46 ignored. The new regression and all three manifest unit tests passed.CreateComputePipelineStatereturning0x8007000E. The same four seeds failed with the same error on the unchanged D3D12.X: XCL_PSO_MANIFEST=1 writes the order a run asks for its pipelines (#2088) #2096 parentbb4dea40. The workspace run printed 24 explicit skips for native wave64, unsupported per-lane operations, and unavailable heap windows.Regression run
xcl-smokeruns are pending.Not tested
AI use