Skip to content

D3D12.X: measure pipeline queue residence - #274

Draft
bmjask wants to merge 1 commit into
stack/270-prepare-abi-statefrom
stack/271-pipeline-queue-residence
Draft

bmjask wants to merge 1 commit into
stack/270-prepare-abi-statefrom
stack/271-pipeline-queue-residence

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #273.

This is an internal draft stack in bmjask/xcl; it is not an upstream merge request.

What and why

This unit isolates d3d12.x: measure pipeline queue residence as one reviewable step in the redesign.

What is in it

  • d24c1afb is the rebased logical commit.

Tested

The complete rewritten stack was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

Regression run

Not run during stack packaging.

Not tested

  • Windows MSVC build and test suite
  • D3D12 GPU execution
  • scripts/smoke.ps1 main/head comparison

AI use

Codex, GPT-5.6-sol, rebased the existing logical commit onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/270-prepare-abi-state branch from 52c188e to ae6f69f Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/271-pipeline-queue-residence branch from d24c1af to 73dca37 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/270-prepare-abi-state branch from ae6f69f to 954a5a3 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/271-pipeline-queue-residence branch from 73dca37 to 0613307 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/270-prepare-abi-state branch from 954a5a3 to f3d43c6 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/271-pipeline-queue-residence branch from 0613307 to 24189e8 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/270-prepare-abi-state branch from f3d43c6 to bfcfb93 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/271-pipeline-queue-residence branch 2 times, most recently from 53b90d8 to e9c7208 Compare November 27, 2026 12:44
Existing timing covered translation, DXC, driver compilation, and title-thread waits but not time accepted jobs spent waiting for a worker. Record speculative/preload and demand-band residence separately, split promoted jobs at the accepted priority transition, and abandon timings for cancelled work.

Timing aggregation stays outside the build-queue state lock so tracing does not add a nested serialization point to the measured path.

Compile-only checked for x86_64-pc-windows-gnu in debug and release; Windows execution was not available.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/271-pipeline-queue-residence branch from e9c7208 to 9ec3c17 Compare November 27, 2026 12:52
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.

1 participant