GPU: VICTORY_GPU_TIMING_ALSO lists named programs past the top 40 #3075

Open
github-bot wants to merge 1 commit from github-bot/gh-3075 into main AGit
Owner

@⁠HQasper on GitHub · 2026-11-29 19:53 UTC · original
HQasper:pr/gpu-timing-also → main · +9 −1 · 1 files · 1 commits · open

What it changes

A VICTORY_GPU_TIMING run lists only the 40 heaviest commands. When a change makes a program cheaper, the program drops out of that list, so its time can't be compared with the run before the change. VICTORY_GPU_TIMING_ALSO=<hash>,… lists those programs' commands too, however light. This is diagnostics only.

What is in it: crates/victory-gpu/src/copystat.rs (9 lines).

How it was tested

  • GPU: RTX 5090. Used to compare one program's card time across runs, with the hash given.
  • cargo test (cargo test --workspace --locked --no-fail-fast -- --test-threads=4, 2026-11-29): 2,164 passed, 6 failed, 78 ignored. Four failures are upstream's (below). The other two are victory-gpu's timing test shared_scratch_eliminates_flight_settle_end_to_end, failing in both of its test binaries (this PR only touches copystat.rs). It passed 5 of 5 alone on this branch and 5 of 5 on upstream. Upstream main 55d06914 itself gives 2,165 passed, 4 failed, 78 ignored. Its 4 failures are three bcpack::tests::oracle_parity_* tests and xtask's repository_passes_policy, which flags upstream's own victory-loader/src/heap_sites/frame_users.rs.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related: none.

Written with Claude Code (Claude Opus 5.5); reviewed by me.

🤖 Generated with Claude Code

**@⁠HQasper** on GitHub · 2026-11-29 19:53 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3075) `HQasper:pr/gpu-timing-also` → `main` · +9 −1 · 1 files · 1 commits · open ## What it changes A `VICTORY_GPU_TIMING` run lists only the 40 heaviest commands. When a change makes a program cheaper, the program drops out of that list, so its time can't be compared with the run before the change. `VICTORY_GPU_TIMING_ALSO=<hash>,…` lists those programs' commands too, however light. This is diagnostics only. **What is in it:** `crates/victory-gpu/src/copystat.rs` (9 lines). ## How it was tested - **GPU:** RTX 5090. Used to compare one program's card time across runs, with the hash given. - **`cargo test`** (`cargo test --workspace --locked --no-fail-fast -- --test-threads=4`, 2026-11-29): 2,164 passed, 6 failed, 78 ignored. Four failures are upstream's (below). The other two are `victory-gpu`'s timing test `shared_scratch_eliminates_flight_settle_end_to_end`, failing in both of its test binaries (this PR only touches `copystat.rs`). It passed 5 of 5 alone on this branch and 5 of 5 on upstream. Upstream main 55d06914 itself gives 2,165 passed, 4 failed, 78 ignored. Its 4 failures are three `bcpack::tests::oracle_parity_*` tests and `xtask`'s `repository_passes_policy`, which flags upstream's own `victory-loader/src/heap_sites/frame_users.rs`. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: none. --- Written with Claude Code (Claude Opus 5.5); reviewed by me. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The timing run lists only the 40 heaviest commands. A program made cheaper (the host
ray-tracing prototype's f607780a takes about 0.002 ms a frame with the host's
structure) drops out of that list, and its time could not be compared with the run
without. VICTORY_GPU_TIMING_ALSO=<hash>,... lists those programs' commands too,
however light. Diagnostics only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 19:59:52 +00:00
.claude/skills/steward/SKILL.md is where PR Steward and the built-in /steward
read repo-wide instructions; a read-only checklist there would tell them not to
push fixes. Moved out of the way.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GQWmXYW8g2STfTB4Bxaa4J
unwind_copy is called only from stacks.rs, which is built with
all(windows, feature = "diagnostics"); in the default build it was dead
code and failed the CI clippy gate under -D warnings.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GQWmXYW8g2STfTB4Bxaa4J
Unrelated to the GPU timing change; keeps the pull request to its own diff.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GQWmXYW8g2STfTB4Bxaa4J
Drop the unused PAIR_MEETINGS import and the unused lane_regions re-export,
turn the LDS write fixpoint's never-mutated 'while loads' into a loop on
the flag it actually updates, and allow too_many_arguments on the metadata
record test helper (as emit/lds.rs does).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01GQWmXYW8g2STfTB4Bxaa4J
github-bot force-pushed github-bot/gh-3075 from c8484827d3 to 3e65f8607a 2026-11-29 22:24:16 +00:00 Compare
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/3075/head:github-bot/gh-3075'
git switch 'github-bot/gh-3075'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-3075'
git switch 'github-bot/gh-3075'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-3075'
git switch 'github-bot/gh-3075'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-3075'
git switch 'main'
git merge --squash 'github-bot/gh-3075'
git switch 'main'
git merge --ff-only 'github-bot/gh-3075'
git switch 'main'
git merge 'github-bot/gh-3075'
git push origin 'main'
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/trustno1-coder--VIctory-NVIDIA!3075
No description provided.