Skip to content

D3D12.X: stop stalled sparse ring reclaim cleanly - #139

Draft
bmjask wants to merge 1 commit into
stack/135-shard-pending-pipelinesfrom
stack/136-stop-stalled-ring-reclaim
Draft

bmjask wants to merge 1 commit into
stack/135-shard-pending-pipelinesfrom
stack/136-stop-stalled-ring-reclaim

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #138.

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

What and why

This unit isolates d3d12.x: stop stalled sparse ring reclaim cleanly as one reviewable step in the redesign.

Upstream overlap

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

What is in it

  • 47b08096 is the cleaned-stack form of integrated commit e05ca9fe.

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/135-shard-pending-pipelines branch from c99d852 to bb61f07 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/136-stop-stalled-ring-reclaim branch 3 times, most recently from 246850a to 67d6344 Compare November 27, 2026 05:14
The sparse upload ring retried a five-second fence wait forever while holding global sparse state. A stalled upload queue therefore blocked activity reporting and every later title submission permanently.

Adapt xcl-dev#1277's bounded exit, but preserve correctness beyond the source patch: mark exactly the unsubmitted 64-byte chunk suffix for retry instead of leaving its sent hashes stale or invalidating already-submitted chunks in the same page. A synchronous readback aborts when its prerequisite upload did not complete, so it cannot overwrite CPU memory with stale GPU data.

The Windows GNU library/test cross-check passed with the existing warnings. Windows MSVC runtime, GPU execution, and smoke tests were not available here.

Source diagnosis and timeout test: xcl-dev#1277 by ExoCalibra, assisted by Antigravity (Gemini 4 Neon).

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/135-shard-pending-pipelines branch from 2b22440 to b52d3df Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/136-stop-stalled-ring-reclaim branch from 67d6344 to 20a9275 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