Skip to content

D3D12.X: probe generation retirement fences outside locks - #264

Draft
bmjask wants to merge 1 commit into
stack/260-exact-generation-dispatchesfrom
stack/261-probe-retirement-fences
Draft

bmjask wants to merge 1 commit into
stack/260-exact-generation-dispatchesfrom
stack/261-probe-retirement-fences

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #263.

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

What and why

This unit isolates d3d12.x: probe generation retirement fences outside locks as one reviewable step in the redesign.

What is in it

  • 718590cb 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/260-exact-generation-dispatches branch from 4d62ac6 to ecff258 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/261-probe-retirement-fences branch from 718590c to de22a42 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/260-exact-generation-dispatches branch from ecff258 to c2fa3b5 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/261-probe-retirement-fences branch from de22a42 to 504150f Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/260-exact-generation-dispatches branch from c2fa3b5 to fda5a5f Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/261-probe-retirement-fences branch from 504150f to 24fa6a2 Compare November 27, 2026 05:14
Generation retirement scanned every outstanding receipt by calling the driver while holding one global mutex, producing quadratic fence probes while the GPU lagged. Snapshot one exact queue-marker owner per fence, observe progress outside the mutex, and retire all batches below each captured monotonic cutoff. Receipt clones are now Arc-only, and completed or duplicate generations are destroyed after unlocking.

The focused tests cover exact-owner deduplication, cutoff retirement, concurrent appends between phases, lock exclusion for probes and drops, poisoned duplicates, and COM-free receipt cloning.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/260-exact-generation-dispatches branch from fda5a5f to d5c20e3 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/261-probe-retirement-fences branch from 24fa6a2 to 313e0c8 Compare November 27, 2026 12:35
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