Skip to content

D3D12.X: shard in-flight compute build coalescing - #275

Draft
bmjask wants to merge 1 commit into
stack/271-pipeline-queue-residencefrom
stack/272-shard-build-coalescing
Draft

bmjask wants to merge 1 commit into
stack/271-pipeline-queue-residencefrom
stack/272-shard-build-coalescing

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #274.

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

What and why

This unit isolates d3d12.x: shard in-flight compute build coalescing as one reviewable step in the redesign.

What is in it

  • bd6f94fc 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/271-pipeline-queue-residence branch from d24c1af to 73dca37 Compare November 27, 2026 00:46
@bmjask
bmjask force-pushed the stack/272-shard-build-coalescing branch 4 times, most recently from 5ec4bf8 to c098b8b Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/271-pipeline-queue-residence branch from 53b90d8 to e9c7208 Compare November 27, 2026 12:44
@bmjask
bmjask force-pushed the stack/272-shard-build-coalescing branch from c098b8b to 40a12bb Compare November 27, 2026 12:44
Keyed compute submissions shared one process-wide registry lock and swept every in-flight key on each request. Route canonical keys across 64 shards, clean stale values only on exact-key contact, and remove terminal builds by exact weak identity.

Counter retirement is serialized before terminal removal, while displaced keys and builds are dropped after unlocking.

Compile-only checked for x86_64-pc-windows-gnu in debug and release; Windows execution was not available.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/271-pipeline-queue-residence branch from e9c7208 to 9ec3c17 Compare November 27, 2026 12:52
@bmjask
bmjask force-pushed the stack/272-shard-build-coalescing branch from 40a12bb to 46476ab 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