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
One README bullet documenting XCL_COHERENT_MB, which crates/xcl/src/gpu/uma.rs (coherent_hint_for) already parses: a MiB value clamped between GRAIN (64 KiB) and max_coherent_bytes(windows); unset or unparsable, the window is sized from the title's stored need. The README had no mention of it. Docs only; no code change.
Tested
Docs-only change, verified by reading coherent_hint_for and the GRAIN constant in crates/xcl/src/gpu/uma.rs at fa20459 and confirming the README had no XCL_COHERENT_MB mention; code search found it only in uma.rs and two test files, and no open issue or PR documents it.
cargo test --workspace -- --test-threads=4: not run (docs-only change; this environment has no Windows/GPU test setup). No GPU suite counts to report.
Regression run
Not needed: docs-only change, no crates/xcl/src change.
Not tested
No build, GPU suite, or title run: README text only, nothing executable changed.
AI use
Muse Spark (Muse agent): scouted the undocumented switch, verified its parsing and clamp against the source at fa20459, and drafted this bullet and PR text.
Review (head 347b94a, diff read, not a merge-check; draft, README only):
Precision: the value isn't trimmed (uma.rs ~1070 parses it as is), so " 512" counts as unparsable. With no value, the stored need is also capped by XCL_COHERENT_AUTO_CAP's automatic cap (~1076), which an explicit value bypasses. That is worth a clause, since bypassing the cap is the main reason to set it.
Fine: an explicit value in MiB is clamped between GRAIN (64 KiB) and the window cap (coherent_hint_for), and without one XCL sizes the window from the title's stored need. It's wrapped like its neighbours, and the README doesn't mention it yet.
AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Adds a README entry for XCL_COHERENT_MB under the run switches. It matches uma::coherent_hint_for on main: the value in MiB is clamped to GRAIN (64 KiB) and the window cap, and when it is unset or unparsable the size comes from the stored need (it also bypasses the automatic RAM cap). #3095, by the same author, documents the automatic coherent-window cap and mentions XCL_COHERENT_MB in the same list. The two are complementary, not duplicates, and could be merged into one entry.
Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
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
XCL_COHERENT_MB, whichcrates/xcl/src/gpu/uma.rs(coherent_hint_for) already parses: a MiB value clamped betweenGRAIN(64 KiB) andmax_coherent_bytes(windows); unset or unparsable, the window is sized from the title's stored need. The README had no mention of it. Docs only; no code change.Tested
coherent_hint_forand theGRAINconstant incrates/xcl/src/gpu/uma.rsat fa20459 and confirming the README had noXCL_COHERENT_MBmention; code search found it only inuma.rsand two test files, and no open issue or PR documents it.cargo test --workspace -- --test-threads=4: not run (docs-only change; this environment has no Windows/GPU test setup). No GPU suite counts to report.Regression run
Not needed: docs-only change, no
crates/xcl/srcchange.Not tested
AI use