gpu(watch,host): add opt-in VICTORY_ASK_FIRST parallel write-watch asking #244

Closed
github-bot wants to merge 1 commit from gh-pr/244/head into gh-pr/244/base
Owner

@⁠Androtim on GitHub · 2026-11-30 11:09 UTC · original
Androtim:feat/iter238-watch-ask-first → main · +155 −2 · 2 files · 1 commits · closed without merging

Summary

  • Add watch::first(), watch::AskedFirst, watch::ask_first(ranges), and watch::ask_more(ranges) in crates/victory-gpu/src/watch.rs (VICTORY_ASK_FIRST=1, off by default, requires VICTORY_ASK_ONCE).
  • Wire VICTORY_ASK_FIRST=1 in crates/victory-gpu/src/host.rs to overlap the submission's initial write-watch kernel query on the dedicated "victory-ask" worker thread alongside card_steps planning and flight-hazard checks, re-asking whole if flights settled afterward or querying only uncovered ranges afterward.
  • Add ASKED_FIRST per-frame telemetry counters in submit_split_line(frames) and unit test an_asking_begun_first_is_made_and_more_is_asked_for in watch::tests.

Testing

  • cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy -> asset policy: 312 files ok
  • cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --lib watch::tests::an_asking_begun_first_is_made_and_more_is_asked_for -- --test-threads=1 -> 1 passed; 0 failed
  • cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings -> exit 0
  • cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features diagnostics -- -D warnings -> exit 0
**@⁠Androtim** on GitHub · 2026-11-30 11:09 UTC · [original](https://github.com/Androtim/MiniVI/pull/244) `Androtim:feat/iter238-watch-ask-first` → `main` · +155 −2 · 2 files · 1 commits · closed without merging ## Summary - Add `watch::first()`, `watch::AskedFirst`, `watch::ask_first(ranges)`, and `watch::ask_more(ranges)` in `crates/victory-gpu/src/watch.rs` (`VICTORY_ASK_FIRST=1`, off by default, requires `VICTORY_ASK_ONCE`). - Wire `VICTORY_ASK_FIRST=1` in `crates/victory-gpu/src/host.rs` to overlap the submission's initial write-watch kernel query on the dedicated `"victory-ask"` worker thread alongside `card_steps` planning and flight-hazard checks, re-asking whole if flights settled afterward or querying only uncovered ranges afterward. - Add `ASKED_FIRST` per-frame telemetry counters in `submit_split_line(frames)` and unit test `an_asking_begun_first_is_made_and_more_is_asked_for` in `watch::tests`. ## Testing - `cargo +1.98.1-x86_64-pc-windows-gnu run -p xtask -- policy` -> `asset policy: 312 files ok` - `cargo +1.98.1-x86_64-pc-windows-gnu test -p victory-gpu --lib watch::tests::an_asking_begun_first_is_made_and_more_is_asked_for -- --test-threads=1` -> `1 passed; 0 failed` - `cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets -- -D warnings` -> exit 0 - `cargo +1.98.1-x86_64-pc-windows-gnu clippy --workspace --all-targets --features diagnostics -- -D warnings` -> exit 0
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 20:21:59 +00:00
github-bot closed this pull request 2026-12-01 20:21:59 +00:00
Author
Owner

@⁠Androtim on GitHub · 2026-11-30 12:03 UTC · original · edited 2026-11-30 16:02 UTC

Automated triage for the maintainers (not an approval).

Verdict: needs-rebase · CI (check): passing

This PR no longer merges cleanly into main.

To change the verdict: Rebase onto current main and resolve conflicts; CI and triage will run again automatically.


Generated with Antigravity CLI (agy).

**@⁠Androtim** on GitHub · 2026-11-30 12:03 UTC · [original](https://github.com/Androtim/MiniVI/pull/244#issuecomment-7277894287) · edited 2026-11-30 16:02 UTC <!-- minivi-triage v1 head=3f07db3be0e0fc30d3a585d017810f070e44ee67 verdict=needs-rebase ci=passing at=2026-11-30T16:03:04Z --> Automated triage for the maintainers (not an approval). **Verdict:** `needs-rebase` · **CI (`check`):** `passing` This PR no longer merges cleanly into `main`. **To change the verdict:** Rebase onto current `main` and resolve conflicts; CI and triage will run again automatically. --- _Generated with Antigravity CLI (`agy`)._
Author
Owner

@⁠Androtim on GitHub · 2026-11-30 15:04 UTC · original

GitHub reports merge conflicts against current main. Please rebase onto main.

**@⁠Androtim** on GitHub · 2026-11-30 15:04 UTC · [original](https://github.com/Androtim/MiniVI/pull/244#issuecomment-7282384489) GitHub reports merge conflicts against current `main`. Please rebase onto `main`.
Author
Owner

@⁠Androtim on GitHub · 2026-12-01 01:38 UTC · original

Closing conflicting opt-in VICTORY_* toggle PR per #276 policy (replace flawed base paths with default-on replacements rather than stacking opt-in toggles).

**@⁠Androtim** on GitHub · 2026-12-01 01:38 UTC · [original](https://github.com/Androtim/MiniVI/pull/244#issuecomment-7297729454) Closing conflicting opt-in VICTORY_* toggle PR per #276 policy (replace flawed base paths with default-on replacements rather than stacking opt-in toggles).

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Androtim--MiniVI!244
No description provided.