Skip to content

D3D12.X: reserve split continuations without allocators - #134

Draft
bmjask wants to merge 1 commit into
stack/130-reuse-pending-pipelinesfrom
stack/131-split-continuations-no-allocators
Draft

bmjask wants to merge 1 commit into
stack/130-reuse-pending-pipelinesfrom
stack/131-split-continuations-no-allocators

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #133.

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 split continuations without allocators as one reviewable step in the redesign.

Upstream overlap

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

What is in it

  • 81faa186 is the cleaned-stack form of integrated commit 94a80744.

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/131-split-continuations-no-allocators branch 3 times, most recently from dc8a054 to bc03d43 Compare November 27, 2026 05:14
The transactional split already reserves a closed continuation before closing the producer, but a cache miss made a private allocator, opened a list on it, and closed the list only to Reset it later onto the title allocator. CreateCommandList1 directly makes the required closed allocator-free object.

Use that path when ID3D12Device4 is available and retain the existing allocator-backed path for older devices and Close-failure injection tests. This preserves the integrated preflight/commit/rollback model and allocator generation tracking.

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

Adapted from the CreateCommandList1 reservation concept in xcl-dev#2717 by Kalmarv with Claude Code (Claude Opus 5.5); its core close-before-create fix was already superseded by the integrated transactional split.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/130-reuse-pending-pipelines branch from 27787db to d0d2a2b Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/131-split-continuations-no-allocators branch from bc03d43 to 9e61f40 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