Skip to content

Shaders: prewarm the first indirect split dispatch - #178

Draft
bmjask wants to merge 1 commit into
stack/174-tile-ownership-mip-groupfrom
stack/175-prewarm-first-indirect
Draft

bmjask wants to merge 1 commit into
stack/174-tile-ownership-mip-groupfrom
stack/175-prewarm-first-indirect

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #177.

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

What and why

This unit isolates shaders: prewarm the first indirect split dispatch as one reviewable step in the redesign.

What is in it

  • e79cc022 is the cleaned-stack form of integrated commit bb0f816a.

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/175-prewarm-first-indirect branch from e79cc02 to c7a04d5 Compare November 27, 2026 00:45
@bmjask
bmjask force-pushed the stack/174-tile-ownership-mip-group branch from 63e3c81 to b2f579c Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/175-prewarm-first-indirect branch 2 times, most recently from 9b76792 to d9f426d Compare November 27, 2026 05:14
Selected prewarming built the indirect variants but left the direct whole fallback cold, while ExecuteIndirect refused to use those variants until the direct whole had already been built. This preserved the first-use stall despite a successful prewarm pass.

Persist both whole roots for selected programs, start cached indirect loading during chain preparation, and let a ready indirect set run independently. Initialize and gate the use journal off the recording hot path.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/175-prewarm-first-indirect branch from d9f426d to 48ab10c 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