Skip to content

D3D12.X: retire sparse queue fences without owning queues - #86

Draft
bmjask wants to merge 1 commit into
stack/082-forget-list-before-releasefrom
stack/083-sparse-fences-without-queues
Draft

bmjask wants to merge 1 commit into
stack/082-forget-list-before-releasefrom
stack/083-sparse-fences-without-queues

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #85.

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 sparse queue fences without owning queues as one reviewable step in the redesign.

Upstream overlap

This adapts upstream PR xcl-dev#2638 and is retained only as an internal reconciliation draft.

What is in it

  • 18ce488c is the cleaned-stack form of integrated commit 11b90e8e.

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/082-forget-list-before-release branch from 5a4326b to f12e7e2 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/083-sparse-fences-without-queues branch from 18ce488 to 19e2f98 Compare November 27, 2026 00:46
Replace sparse tile quarantine's process-lifetime command-queue references with temporary active-queue snapshots and independently owned completion fences. Include installed central retirement markers, wait through the short Preparing state, and fail closed when retirement cannot provide a trustworthy completion source.

Prune raw queue keys only through the exact Stage C retirement callback before address reuse; in-flight batches retain their own fence clones.

Adapted from xcl-dev#2638 after central queue retirement was active.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/082-forget-list-before-release branch from f12e7e2 to deb43d9 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/083-sparse-fences-without-queues branch from 19e2f98 to 6ece71c 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