Skip to content

D3D12.X: avoid deferred segments for bounded pipeline waits - #59

Draft
bmjask wants to merge 1 commit into
stack/055-execute-indirect-pipelinefrom
stack/056-bounded-pipeline-waits
Draft

bmjask wants to merge 1 commit into
stack/055-execute-indirect-pipelinefrom
stack/056-bounded-pipeline-waits

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #58.

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

What and why

This unit isolates d3d12.x: avoid deferred segments for bounded pipeline waits as one reviewable step in the redesign.

What is in it

  • 0e0cf706 is the cleaned-stack form of integrated commit 6e239a7e.

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/055-execute-indirect-pipeline branch from d961eca to ac4571f Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/056-bounded-pipeline-waits branch from 0e0cf70 to 6b0226e Compare November 27, 2026 00:46
When XCL_PSO_WAIT_MS is positive, record a dispatch immediately and use the same bounded bind wait instead of splitting one deferred command-list segment per call. This prevents bounded mode from exhausting command-list memory during large cold-pipeline bursts.

Unset, zero, and malformed values preserve the default deferred-submit path. The change is stacked on atomic ExecuteIndirect stand-in classification.

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

Adapted from PR xcl-dev#2581.
Assisted-by: Codex (GPT-5.6-sol)

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/056-bounded-pipeline-waits branch from 6b0226e to ee55634 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