Honor both host wave override names in translate and translate --warm #139
No reviewers
Labels
No labels
accessibility
already-solved
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
merged
needs-decision
needs-game-run
needs-rebase
not-merged
nvidia
obsolete
question
security
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/avatarmanz--VIctory-7900XTX!139
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-139"
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?
@feanorsun on GitHub · 2026-11-26 06:57 UTC · original
feanorsun:fix/translate-host-wave-alias→main· +134 −24 · 6 files · 1 commits · merged 2026-11-26 08:17 UTCCloses #27
Resolve the host wave width once before dispatching
translateortranslate --warm. Previously only ordinary translation readVICTORY_HOST_MAX_WAVE, and that second read could replaceVICTORY_HOST_WAVE. Opening the Windows host during warm-up could then replace an explicit width with the adapter'sWaveLaneCountMax.Both modes now prefer a valid
VICTORY_HOST_WAVEand fall back to the compatibility aliasVICTORY_HOST_MAX_WAVE. The command reports a conflict once, naming both values and the selected one. Parsing still accepts au32, including zero for an unknown width. With neither value valid, ordinary translation keeps its default and warm-up follows the adapter.Each translate worker installs its explicit width before its first shader. Lowering and the wave field in the existing cache fingerprint read that worker's effective width. The adapter probe still publishes the hardware capability to other threads.
Verification
Tested on Windows with CPU-only tests and a simulated adapter. The same regression assertion read 64 instead of 32 with unified parsing alone. With the worker override it read 32 after the simulated first probe returned 64. The control without an override read 64. The test also covers invalid values, matching and conflicting values, an explicit zero, and a width of 48.
Each exact filter was first listed with
-- --exact --listand returned one test. The three commands below each ran one test and passed (3 passed, 0 failed). No GPU or game tests were run.@avatarmanz on GitHub · 2026-11-26 07:55 UTC · original
Merged into main in the next push (tests pass); thanks.