Skip to content

D3D12.X: make repeated submit demand lock free - #276

Draft
bmjask wants to merge 1 commit into
stack/272-shard-build-coalescingfrom
stack/273-submit-demand-lock-free
Draft

bmjask wants to merge 1 commit into
stack/272-shard-build-coalescingfrom
stack/273-submit-demand-lock-free

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #275.

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

What and why

This unit isolates d3d12.x: make repeated submit demand lock free as one reviewable step in the redesign.

What is in it

  • 35914003 is the rebased logical commit.

Tested

The complete rewritten stack was verified tree-identical to integrated commit 963dcdca. Tests were not rerun during stack packaging.

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, rebased the existing logical commit onto the cleaned stack, verified final tree identity, created the stack branch, and drafted this description.

@bmjask
bmjask force-pushed the stack/272-shard-build-coalescing branch from bd6f94f to 6e99323 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/273-submit-demand-lock-free branch from 3591400 to 6c876f8 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/272-shard-build-coalescing branch from 6e99323 to c4bd6a9 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/273-submit-demand-lock-free branch from 6c876f8 to 11afa54 Compare November 27, 2026 01:01
@bmjask
bmjask force-pushed the stack/272-shard-build-coalescing branch from c4bd6a9 to 5ec4bf8 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/273-submit-demand-lock-free branch 2 times, most recently from 354731e to c7583d1 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/272-shard-build-coalescing branch from 5ec4bf8 to c098b8b Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/273-submit-demand-lock-free branch from c7583d1 to f8d5333 Compare November 27, 2026 12:44
Repeated deferred dispatches re-ran wanted promotion and took the queued and demand locks after record-time demand was already established. Publish completed submit demand on the shared build after want and scheduling finish, so later calls use one acquire load while concurrent first callers remain idempotent.

Cross-checked debug tests and release all-target builds for x86_64-pc-windows-gnu; Windows runtime tests were not run here.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/273-submit-demand-lock-free branch from f8d5333 to 7624bb8 Compare November 27, 2026 12:52
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