Skip to content

D3D12.X: measure write-watch range costs - #277

Draft
bmjask wants to merge 1 commit into
stack/273-submit-demand-lock-freefrom
stack/274-write-watch-costs
Draft

bmjask wants to merge 1 commit into
stack/273-submit-demand-lock-freefrom
stack/274-write-watch-costs

Conversation

@bmjask

@bmjask bmjask commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Stacked on #276.

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

What and why

This unit isolates d3d12.x: measure write-watch range costs as one reviewable step in the redesign.

What is in it

  • 4a634651 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/274-write-watch-costs branch 3 times, most recently from 61b8bba to 9037a11 Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/273-submit-demand-lock-free branch from 354731e to c7583d1 Compare November 27, 2026 12:35
@bmjask
bmjask force-pushed the stack/274-write-watch-costs branch from 9037a11 to 4816102 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
@bmjask
bmjask force-pushed the stack/274-write-watch-costs branch from 4816102 to c93b4da Compare November 27, 2026 12:44
Choosing between more GetWriteWatch calls and scanning gap bytes needs Windows measurements. Keep the existing 8 MiB production policy, add opt-in exact coverage and call timing, and provide a deterministic allocation-safe planner plus a manual threshold benchmark for a later measured activation.

Cross-checked debug tests and release all-target builds for x86_64-pc-windows-gnu; the Windows benchmark, runtime tests, GPU tests, and smoke run 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
@bmjask
bmjask force-pushed the stack/274-write-watch-costs branch from c93b4da to 1ef4b7c 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