Skip to content

D3D12.X: retire released command queues after their final marker - #82

Draft
bmjask wants to merge 1 commit into
stack/078-persist-slow-driver-blobsfrom
stack/079-retire-released-queues
Draft

bmjask wants to merge 1 commit into
stack/078-persist-slow-driver-blobsfrom
stack/079-retire-released-queues

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #81.

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

What and why

This unit isolates d3d12.x: retire released command queues after their final marker as one reviewable step in the redesign.

What is in it

  • 9b4c1ed5 is the cleaned-stack form of integrated commit cbc0c149.

The patch content is preserved; only ancestry changed to omit a canceled add/revert sequence.

Tested

Tests were not rerun while packaging this already-integrated change into the draft stack.

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, removed canceled ancestry, created the stack branch, and drafted this description. It did not author new code during stack packaging.

@bmjask
bmjask force-pushed the stack/078-persist-slow-driver-blobs branch from dec1bbe to e7c6ce8 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/079-retire-released-queues branch from 9b4c1ed to 5313396 Compare November 27, 2026 00:46
Own title queues from creation, atomically transition a registry-only queue to Retiring, exclude it from every internal signal and submission producer, and enqueue a final fence marker. Marker/API/worker failure pins the owner permanently.

A worker sweeps exact completed generations, invalidates every audited raw-address cache, and only then drops the final registry owner. Pre-transition active snapshots delay retirement; retiring queues remain visible only to all-state ownership and diagnostics.

No overlapping queue-retirement PR was found. Locally cross-checked with the GNU Windows target; Windows runtime and GPU execution remain untested here.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/079-retire-released-queues branch from 5313396 to 8e59a57 Compare November 27, 2026 05:14
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