Skip to content

D3D12.X: launch DispatchX thread dimensions safely - #98

Draft
bmjask wants to merge 1 commit into
stack/094-memory-by-ownerfrom
stack/095-dispatchx-thread-dimensions
Draft

bmjask wants to merge 1 commit into
stack/094-memory-by-ownerfrom
stack/095-dispatchx-thread-dimensions

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #97.

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

What and why

This unit isolates d3d12.x: launch dispatchx thread dimensions safely as one reviewable step in the redesign.

Upstream overlap

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

What is in it

  • 7bc5ae96 is the cleaned-stack form of integrated commit 2e8f73b5.

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/095-dispatchx-thread-dimensions branch 2 times, most recently from eb2dde4 to 086549a Compare November 27, 2026 01:01
DispatchX USE_THREAD_DIMENSIONS now reaches deferred replay, converts thread counts to whole group counts, and masks the partial last groups in both compute emitters. Oversized D3D grids and unknown group shapes are skipped before binding or recording.

Multidimensional kernels use HLSL for console-linear wave ordering; ordinary direct-DXIL dispatches avoid the partial-group ballot. Transient limits are consumed once and cleared on Reset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/095-dispatchx-thread-dimensions branch from 086549a to 62c400c 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