Skip to content

D3D12.X: model command queue retirement generations - #70

Draft
bmjask wants to merge 1 commit into
stack/066-simplify-frexp-alignbitfrom
stack/067-queue-retirement-generations
Draft

bmjask wants to merge 1 commit into
stack/066-simplify-frexp-alignbitfrom
stack/067-queue-retirement-generations

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #69.

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

What and why

This unit isolates d3d12.x: model command queue retirement generations as one reviewable step in the redesign.

What is in it

  • 3cfe1a1d is the cleaned-stack form of integrated commit 9b4f350f.

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/066-simplify-frexp-alignbit branch from d68fb6b to d4cfca0 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/067-queue-retirement-generations branch from 3cfe1a1 to 4daea70 Compare November 27, 2026 00:46
Introduce an inactive retirement state machine while preserving current production behavior. Retiring queues remain visible to every strong snapshot until an exact-generation completion mark is swept, and failed or unmarked retirement remains pinned.

Return owners and completion markers from the registry before dropping either, so COM releases cannot occur under the registry lock. This is the behavior-neutral Stage B prerequisite for bounded queue retirement.

Locally cross-checked with the GNU Windows target; Windows execution remains untested here.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/067-queue-retirement-generations branch from 4daea70 to c48ab47 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