Skip to content

D3D12.X: release sparse state during upload waits - #198

Draft
bmjask wants to merge 1 commit into
stack/194-record-native-pso-generationsfrom
stack/195-release-sparse-waits
Draft

bmjask wants to merge 1 commit into
stack/194-record-native-pso-generationsfrom
stack/195-release-sparse-waits

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #197.

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

What and why

This unit isolates d3d12.x: release sparse state during upload waits as one reviewable step in the redesign.

What is in it

  • 4847184c is the cleaned-stack form of integrated commit d2271e65.

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/195-release-sparse-waits branch from 4847184 to bec7c2c Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/194-record-native-pso-generations branch from 3e50160 to 9f85ae8 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/195-release-sparse-waits branch from bec7c2c to 9d43903 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/194-record-native-pso-generations branch from 9f85ae8 to e4875d1 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/195-release-sparse-waits branch from 9d43903 to 914ce60 Compare November 27, 2026 05:14
Sparse upload slot and staging-ring retirement waited for the GPU while holding the global sparse state, blocking commits, mappings and other state users behind a stalled queue. Return exact generation-bound wait tickets only at closed-list boundaries, wait under a lifetime gate with STATE released, then validate and rescan journaled CPU writes before recording more work. Signal failure remains terminal poison.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/194-record-native-pso-generations branch from e4875d1 to cd7964d Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/195-release-sparse-waits branch from 914ce60 to 8461d9f 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