gpu: the <= 12 GiB line says half a MiB, as the code does #2056

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

@⁠superboynick on GitHub · 2026-11-29 08:44 UTC · original
superboynick:fix/doc-card-min → main · +8 −2 · 1 files · 1 commits · open

A one-line correction to what 65dc0af3 left behind: default_card_limits_mb returns 0 for the <= 12 GiB tier (the floor in resolve_card_limits is what makes it half a MiB), but the doc line above it still said 16 MiB, so the summary and the code disagreed. The reasoning and the numbers move up from the comment inside the function, so the line is right on its own.

No behaviour change; cargo build --release -p victory is unchanged and the only edited bytes are that comment block.

Two notes while I am here, in case they are useful:

  • 65dc0af3 also moved the 16–20 GiB tier to (1, 2048) with a note about the RTX 5080 — I had only measured the 12 GiB tier and could not test that one, so thank you for taking it further rather than stopping where my numbers did.
  • If you would rather this were part of 65dc0af3 than a separate commit, close this and I will not mind: the code is already right, and this is only the sentence above it.
**@⁠superboynick** on GitHub · 2026-11-29 08:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2056) `superboynick:fix/doc-card-min` → `main` · +8 −2 · 1 files · 1 commits · open A one-line correction to what 65dc0af3 left behind: `default_card_limits_mb` returns `0` for the `<= 12 GiB` tier (the floor in `resolve_card_limits` is what makes it half a MiB), but the doc line above it still said 16 MiB, so the summary and the code disagreed. The reasoning and the numbers move up from the comment inside the function, so the line is right on its own. No behaviour change; `cargo build --release -p victory` is unchanged and the only edited bytes are that comment block. Two notes while I am here, in case they are useful: - 65dc0af3 also moved the 16–20 GiB tier to `(1, 2048)` with a note about the RTX 5080 — I had only measured the 12 GiB tier and could not test that one, so thank you for taking it further rather than stopping where my numbers did. - If you would rather this were part of 65dc0af3 than a separate commit, close this and I will not mind: the code is already right, and this is only the sentence above it.
`default_card_limits_mb` returns 0 for that tier since 65dc0af3 (the floor in `resolve_card_limits`
is what makes it half a MiB), but the doc line above it still said 16 MiB. The reasoning and the
numbers move up from the comment inside the function, so the summary is right on its own.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 08:50:05 +00:00
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/2056/head:github-bot/gh-2056'
git switch 'github-bot/gh-2056'

Merge

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