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 XCL_UMA_WINDOWS and XCL_HEAP_WINDOWS - #3106
Adds a Switches bullet for the memory-window switches, which the README mentions only as "memory-window configuration" without naming them. Verified against main e429936: crates/xcl/src/gpu/uma.rs splits title graphics memory into 4 GiB windows (4 by default); XCL_UMA_WINDOWS=8|16 widens the layout only with XCL_HEAP_WINDOWS=1 (crates/xcl/src/gpu/recomp/pso.rsheap_windows() accepts only the exact value 1), and any other value logs a warning and keeps 4. The xcl pso-precompile help in crates/xcl/src/main.rs notes the settings change the pipeline keys, so preparation and play must use the same ones. A search for XCL_HEAP_WINDOWS and XCL_UMA_WINDOWS found no open PR documenting them.
Tested
Source verification only, on Linux: read crates/xcl/src/gpu/uma.rs, crates/xcl/src/gpu/recomp/pso.rs and the pso-precompile help in crates/xcl/src/main.rs at e429936 and confirmed the bullet matches configured_runtime_windows and heap_windows.
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.
#2680 also documents XCL_UMA_WINDOWS=8|16 with XCL_HEAP_WINDOWS=1, in the Memory row of the feature table. This PR adds a switch entry with the fallback rules instead, and the two could be combined. The text matches gpu/uma.rs::configured_runtime_windows and pso::heap_windows (trimmed value 1).
Nit: the second line of the new bullet is indented 4 spaces and the rest 2. The entry also sits after the "Switches for how a title runs" sub-list rather than inside it.
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 8d102fc, diff read, not a merge-check; draft, README only, conflicts with main):
Indentation. The first continuation line is indented 4 spaces and the next ones 2, so the bullet renders unevenly; 2 throughout matches the list.
Precision: 4 is also accepted without a warning (uma.rs ~96-104 accepts 4, 8 or 16); "any other value" reads as if 4 would warn. The warning text for 8 / 16 without heap windows is "requires XCL_HEAP_WINDOWS=1 – using 4", which the bullet describes right.
Fine: the values, the dependency on XCL_HEAP_WINDOWS=1 and "same settings for preparation and play" (they're in the pipeline keys) match main. The README doesn't name the variables yet.
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.rssplits title graphics memory into 4 GiB windows (4 by default);XCL_UMA_WINDOWS=8|16widens the layout only withXCL_HEAP_WINDOWS=1(crates/xcl/src/gpu/recomp/pso.rsheap_windows()accepts only the exact value1), and any other value logs a warning and keeps 4. Thexcl pso-precompilehelp incrates/xcl/src/main.rsnotes the settings change the pipeline keys, so preparation and play must use the same ones. A search for XCL_HEAP_WINDOWS and XCL_UMA_WINDOWS found no open PR documenting them.Tested
crates/xcl/src/gpu/uma.rs,crates/xcl/src/gpu/recomp/pso.rsand thepso-precompilehelp incrates/xcl/src/main.rsat e429936 and confirmed the bullet matchesconfigured_runtime_windowsandheap_windows.Regression run
Not tested
AI use