cores: VICTORY_HELPER_PRIORITY is no longer also the helpers' on/off switch #2301
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2301"
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 ACSchafer on 2026-11-29T11:35:19Z.
Fixes the inconsistency listed in
docs/unified-memory-audit.md("VICTORY_HELPER_PRIORITYread both as on/off and as a number from -2 to 2").What it changes
VICTORY_HELPER_PRIORITYwas read two ways incores.rs.helper_priority()reads it as a thread priority from -2 to 2.helpers_raised()reads it astoggled!(on unless0). Any number but0turned the raising on, soPriority::keepput a helper given-1or2back to above normal before every piece of work.VICTORY_HELPERS_RAISED. It is on unless0, andVICTORY_ABcan flip it as before.VICTORY_HELPER_PRIORITYis now the priority raised helpers run at, in place of above normal (raised_priority).VICTORY_HELPER_PRIORITY=1: above normalVICTORY_HELPER_PRIORITY=0: normallist_priority_for)VICTORY_ABlist that namedVICTORY_HELPER_PRIORITYto flip the raising now namesVICTORY_HELPERS_RAISED.How it was tested
VICTORY_HELPER_PRIORITY=-1or2gave helpers above normalcargo testpassed for the crates it touches: yes.cargo test -p victory-gpu --lib cores::, including the newa_helper_priority_number_is_not_put_back_to_above_normal.cargo clippy -p victory-gpu --all-targets, with and without--all-features, reports nothing incores.rs. (-D warningsstops earlier, invictory-shaderandvictory-loader, the same as CI onmain@829188e9.)Checked for overlap
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-29T11:35:31Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.