You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
README: document the automatic coherent-window cap (XCL_COHERENT_AUTO_CAP) - #3095
Adds a Switches bullet for the automatic coherent-window cap added in UMA: cap the coherent window at RAM/8 below 24 GB of RAM #3068, which the README does not mention. Verified against main e429936: crates/xcl/src/gpu/uma.rs caps the coherent window on machines with less than 24 GiB of RAM at an eighth of the RAM (at least 1 GiB); XCL_COHERENT_MB still sets the size, and XCL_COHERENT_AUTO_CAP=0 turns the automatic cap off. A search for XCL_COHERENT_AUTO_CAP found no open PR or issue documenting it.
Tested
Source verification only, on Linux: read crates/xcl/src/gpu/uma.rs at e429936 and confirmed the bullet matches auto_coherent_cap and coherent_hint_for.
No build or test run: this environment is Linux and the crate targets Windows/MSVC, so nothing was compiled locally.
Regression run
Not applicable: README.md only, no runtime change.
Not tested
No Windows build, no cargo test, no GPU run, no smoke run.
AI use
AI-assisted: Muse Spark via Muse, directed by romeawayfromhome-rgb; scouted and source-verified the change, did not compile or run it.
No open or merged PR documents XCL_COHERENT_AUTO_CAP. main's README does not mention it. The text matches gpu/uma.rs::auto_coherent_cap on main: below 24 GiB of RAM, an eighth of it with a 1 GiB minimum, XCL_COHERENT_MB taking precedence, and =0 turning it off. The PR conflicts with main's README and needs a rebase.
No problems found in the diff.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
Review (head c939d6b, diff read, not a merge-check; draft, README only, conflicts with main):
Fine: the text matches auto_coherent_cap (uma.rs ~1052-1058). Below 24 GiB of RAM (AUTO_CAP_BELOW_RAM) the window is capped at an eighth of the RAM, at least 1 GiB. An explicit XCL_COHERENT_MB bypasses the cap (coherent_hint_for returns before it), and a trimmed XCL_COHERENT_AUTO_CAP=0 turns it off. The README doesn't mention the cap yet. It only needs a rebase. #3285 (yours) documents XCL_COHERENT_MB in the same area; one PR for both would avoid a conflict between them.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is in it
crates/xcl/src/gpu/uma.rscaps the coherent window on machines with less than 24 GiB of RAM at an eighth of the RAM (at least 1 GiB);XCL_COHERENT_MBstill sets the size, andXCL_COHERENT_AUTO_CAP=0turns the automatic cap off. A search for XCL_COHERENT_AUTO_CAP found no open PR or issue documenting it.Tested
crates/xcl/src/gpu/uma.rsat e429936 and confirmed the bullet matchesauto_coherent_capandcoherent_hint_for.Regression run
Not tested
AI use