Skip to content

D3D12.X: reserve allocator state before native submission - #55

Draft
bmjask wants to merge 1 commit into
stack/051-sparse-pool-heapsfrom
stack/052-reserve-native-submission
Draft

bmjask wants to merge 1 commit into
stack/051-sparse-pool-heapsfrom
stack/052-reserve-native-submission

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #54.

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

What and why

This unit isolates d3d12.x: reserve allocator state before native submission as one reviewable step in the redesign.

What is in it

  • d1bd0e17 is the cleaned-stack form of integrated commit 35478e4d.

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/051-sparse-pool-heaps branch from 9811aa5 to f0cc12a Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/052-reserve-native-submission branch from d1bd0e1 to 14b0f42 Compare November 27, 2026 00:46
Capture and pin each list recording before ExecuteCommandLists can reach the driver. Associate the reservation with exactly one queue fence after native execution, and fail closed before later chunks if bookkeeping cannot be reserved.

This closes the reset/release race between native execution and allocator retirement while preserving exact effects for the chunks that actually ran.

Checked with the GNU Windows-target cargo check; Windows/MSVC, GPU, and title smoke execution were not available on this host.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/052-reserve-native-submission branch from 14b0f42 to 9a5c605 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