Skip to content

README: document XCL_UMA_WINDOWS and XCL_HEAP_WINDOWS - #3106

Draft
romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/uma-heap-windows-readme
Draft

romeawayfromhome-rgb wants to merge 1 commit into
xcl-dev:mainfrom
romeawayfromhome-rgb:docs/uma-heap-windows-readme

Conversation

@romeawayfromhome-rgb

Copy link
Copy Markdown

What is in it

  • 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.rs heap_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.

@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Triage (#1607) – head 8d102fc

#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.

@Foniass

Foniass commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

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.
  • Memory: the 16-window layout keeps 4 runtime sparse windows #3517 (merge-checked, safe to merge) changes what 16 windows means (4 sparse windows, coherent window moved). If it lands first, this bullet should mention XCL_SPARSE_WINDOWS alongside.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants