Skip to content

D3D12.X: fail closed on unreadable wait cells - #315

Draft
bmjask wants to merge 1 commit into
stack/305-benchmark-jsonfrom
stack/306-unreadable-waits
Draft

bmjask wants to merge 1 commit into
stack/305-benchmark-jsonfrom
stack/306-unreadable-waits

Conversation

@bmjask

@bmjask bmjask commented Nov 27, 2026

Copy link
Copy Markdown
Owner

What and why

An unreadable or invalid wait cell is not evidence that its dependency completed. The fast path previously treated unreadable memory as satisfied, which could submit dependent work out of order.

What is in it

  • Explicit satisfied, pending, unreadable, and invalid wait observations.
  • Only a satisfied observation permits the memory fast path.
  • Unreadable waits reach the bounded fail-closed path.
  • Regression coverage for an unmapped wait cell.

Tested

  • Windows-GNU cargo check for all xcl targets passed.

Not tested

  • Windows runtime execution, GPU tests, and title smoke runs.

AI use

Codex, GPT-5.6-sol with a parallel specialist agent: implemented and reviewed unreadable-wait handling.

An unmapped Wait32BitValueX or Wait64BitValueX cell was treated as already satisfied, allowing later GPU work to run without evidence that its dependency completed. Preserve unreadable and invalid observations as explicit non-completion states so the bounded fallback reaches the existing fail-closed path.

Assisted-by: Codex (GPT-5.6-sol)
@bmjask
bmjask force-pushed the stack/305-benchmark-json branch from df57709 to ed2b77c Compare November 27, 2026 05:14
@bmjask
bmjask force-pushed the stack/306-unreadable-waits branch from 70a2b98 to a1b4778 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