tests: cover a GPU-written slot 67 indirect Dispatch fixture (#2492) #2560
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!2560
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2560/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@lambirou on GitHub · 2026-11-25 21:02 UTC · original
lambirou:gpu/slot67-indirect-fixture→main· +211 −0 · 2 files · 1 commits · closed without mergingProblem
Issue #2492 asks for a source-built fixture proving a GPU-written indirect Dispatch through a translated slot 67 pipeline. On
mainthe positive GPU path does not exist yet: device slot 67 only publishes a placeholder compute request, and command-list slot 61 refuses it with "requires a desktop compute pipeline and root".Change
tests/startup_slot67_indirect_dispatch_check.py: a 320-word, sentinel-prefilled oracle with a 3-DWORD Dispatch record written at byte 4 of a placed argument buffer (head/tail guards), two GPU-written group counts (2 and 5), a consumer word per group, and one fenced queue.startup_slot67_indirect_dispatch_{warp,hardware}as capability-skipped checks (exit 77) that also assert the current wiring refusals, so the test becomes positive the day #2470 and the slot 61 binding land.d3d12_compute_dispatch.inl/dispatch_translated, thelist_dispatchhook, and the slot 61 translated-compute branch.Verification
The WARP/hardware CTests cannot build here (no cmake/ninja on this host's PATH); the skip reason is explicit.
Limits
Refs #2492, #2470.
@R0Y00 on GitHub · 2026-11-25 21:05 UTC · original · requested changes
The 2/5-count oracle and untouched-tail controls are useful. #2492 already has an assigned contributor and a source-built draft with actual GPU execution on the current #2470 line, including the common direct/indirect oracle, both argument guards and WARP/Intel/RTX results. Please coordinate any extra oracle controls with @RavenCurseBurg in the existing #2492 thread before proceeding here. Keep the runtime-dependent CTests with the implementation that executes them. A test that only reports the implementation missing would never exercise the GPU path on main. Existing fixture, direct reference and controls
@RavenCurseBurg on GitHub · 2026-11-25 21:09 UTC · original
I'm working on the runtime and executable fixture for #2492 with the #2470 author. Both branches register the same CTest names and add the same Python path. At this head, the two
e2ebranches both return 77, including whenwiring_presentis true. Merging #2470 alone would still leave those tests skipped.The current fixture and slot 61 implementation run a real GPU producer, direct and indirect 2/5-group references, both argument guards and all 320 output words on #2470 head
1f5fb5e4. Five Release WARP tests and the Intel, RTX and WARP readbacks passed. The maintainer asked me to submit that branch after its parent settles. Coordination and physical results.The executable zero case also omits the producer, copies back the guarded zero record and checks that all 320 output words keep their sentinels after the fence. The pure-Python single-word mutation in this PR could be kept as a small independent oracle check if you want to carry that part forward.
@lambirou on GitHub · 2026-11-25 21:27 UTC · original
Thanks — withdrawing this in favour of @RavenCurseBurg's fixture on #2492.
You are right that the
e2ebranches here can only report the missing runtime wiring and never exercise the GPU path; the runtime-dependent CTests belong with the implementation that runs them (#2470 line). The one piece that may still be worth carrying is the pure-Python single-word mutation oracle over the sentinel-prefilled 320-word readback; I have offered it in the #2492 thread.Closing to avoid a duplicate of the assigned work.
Pull request closed