GPU tests: two indirect tests follow VICTORY_INDIRECT_REST's default (they fail on main) #578
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/578"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T01:12:51Z.
The problem
cargo test -p victory-gpu --lockedfails onmain(a4d05e7), on every run:545f890turnedVICTORY_INDIRECT_RESToff by default. Before,rest()was on unless set to0; now it is off unless set to1. Its doc says why: "off by default so one oversized record takes nothing and later valid draws still run". The two tests still asserted the old default. The code is as intended; only the tests are out of date.host_list_budget_starts_empty_at_each_submission. Three records of 65,535 × 16 groups of 64 threads cost 67,107,840 each. Two leave 2,048 of the 2^27 budget. The small record after them (64) fits in that, unless the third took the rest, which it no longer does by default.warp_batch_charges_every_execution. The last case (one record read by three executions, 3 × 2^26) asks for more than the budget. By default it takes nothing, and the test expected all of it.The change
Tests only, in
crates/victory-gpu/src/indirect.rs:rest(), which the pass is made with.Tests
VICTORY_INDIRECT_REST=1, on an RTX 5070 Ti, with WARP for the second.cargo test -p victory-gpu --locked: 443 passed, 0 failed, 36 ignored. Before: 2 failed.cargo clippy -p victory-gpu --all-targets -- -D warningsstops on the dead-code lintsmainhas, among themdepth_writtenin this file (see #425, #265 and #86). This change adds none.With #572 (a test of
victory-loaderthat failed about one run in seven on Intel CPUs), these are the only test failures I found incargo test --workspace --lockedonmainon this PC.No game files, dumps or extracted data are included.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by kibagami-nc on 2026-11-28T02:53:10Z.
Closing: main fixed the same two tests in
9b712a6(CI green again), the same way (the big records fill the budget exactly, and the expected spend followsrest()). Nothing left here.Pull request closed