Document optional UMA window layouts #2670

Open
luckyteagirl wants to merge 1 commit from upstream-pr/2680 into main
luckyteagirl commented 2026-11-26 05:56:04 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T05:56:04Z.


The README described the memory layout as capped at 16 GB. XCL defaults to four 4 GiB virtual address windows and can request eight or sixteen when heap windows are enabled. The table now describes the default and names the optional settings without implying that virtual address space is committed RAM or VRAM.

What is in it

  • Correct the Memory row in the feature table.

Tested

  • Ran a standalone harness using the current UMA window selector and heap-window gate. It verified four windows by default, eight and sixteen with both settings, and fallback to four without the gate, with invalid input, or after simulated window-view failure.
  • git diff --check passed.

Regression run

  • Not applicable. This is a README-only correction.

Not tested

  • The Rust workspace suite, GPU hardware, or a retail title run.

AI use

  • Codex (GPT-6.2 Sol) compared the README with the current source, checked the selector in a standalone harness, and drafted the correction.
<!-- greyfinch-sync:ivall/xcl:issue:5504837689 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2680). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T05:56:04Z. --- The README described the memory layout as capped at 16 GB. XCL defaults to four 4 GiB virtual address windows and can request eight or sixteen when heap windows are enabled. The table now describes the default and names the optional settings without implying that virtual address space is committed RAM or VRAM. **What is in it** - Correct the Memory row in the feature table. **Tested** - Ran a standalone harness using the current UMA window selector and heap-window gate. It verified four windows by default, eight and sixteen with both settings, and fallback to four without the gate, with invalid input, or after simulated window-view failure. - `git diff --check` passed. **Regression run** - Not applicable. This is a README-only correction. **Not tested** - The Rust workspace suite, GPU hardware, or a retail title run. **AI use** - Codex (GPT-6.2 Sol) compared the README with the current source, checked the selector in a standalone harness, and drafted the correction.
github-actions[bot] commented 2026-11-30 08:42:58 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:42:58Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7273253215 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2680#issuecomment-7273253215). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:42:58Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 08:41:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:41:52Z.


Triage (#1607) – head 4ed94c9

#3106 documents XCL_UMA_WINDOWS / XCL_HEAP_WINDOWS too, but as a new entry in the switches list; this PR corrects the Memory row of the feature table. They overlap in content, not in the lines changed, and could both be merged. The new row matches gpu/uma.rs::configured_runtime_windows (4 by default, 8 or 16 only with XCL_HEAP_WINDOWS=1). 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.

<!-- greyfinch-sync:ivall/xcl:comment:7305658965 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2680#issuecomment-7305658965). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:41:52Z. --- **Triage (#1607)** – head 4ed94c9 #3106 documents `XCL_UMA_WINDOWS` / `XCL_HEAP_WINDOWS` too, but as a new entry in the switches list; this PR corrects the Memory row of the feature table. They overlap in content, not in the lines changed, and could both be merged. The new row matches `gpu/uma.rs::configured_runtime_windows` (4 by default, 8 or 16 only with `XCL_HEAP_WINDOWS=1`). 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.
Decodere commented 2026-12-02 08:58:30 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Decodere on 2026-12-02T08:58:30Z.


merge-check
base: 1c8b551475
head: 4ed94c966a
merge: clean (git merge --no-edit onto 1c8b5514, git diff --check clean; README.md +1/-1)
build: not run (Tier 0 docs-only diff touching only README.md; no Rust or script code changed)
tests: not run (Tier 0 docs-only diff; verified directly against crates/xcl/src/gpu/uma.rs:7-8,93-107)
review: Read the full diff (README.md, +1/-1) and verified against gpu::uma::configured_runtime_windows (crates/xcl/src/gpu/uma.rs:93-107): the default layout is four 4 GiB virtual address windows, and XCL_UMA_WINDOWS=8 or 16 requires XCL_HEAP_WINDOWS=1. Matches live code verbatim; does not conflict with #3106 (which edits the environment-switches list rather than the feature table).
performance: none (documentation only; zero runtime, frame-time, or memory impact)
verdict: safe to merge
hardware / tool and model: NVIDIA GeForce RTX 4060 8 GB (driver 621.40), Intel Core i5-11400F, 32 GB RAM, Windows 11 Build 26200, Python 3.15.2, Rust 1.100.1 MSVC, DXC 1.9.2602.17 / Antigravity (Gemini 4 Neon)

<!-- greyfinch-sync:ivall/xcl:comment:7340185366 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2680#issuecomment-7340185366). Originally posted by [Decodere](https://github.com/Decodere) on 2026-12-02T08:58:30Z. --- merge-check base: 1c8b551475e1e7bfe48f94448492a4c3544a2e0f head: 4ed94c966a21a3ac0c5bb932a4f9e49362006338 merge: clean (`git merge --no-edit` onto `1c8b5514`, `git diff --check` clean; `README.md` +1/-1) build: not run (Tier 0 docs-only diff touching only `README.md`; no Rust or script code changed) tests: not run (Tier 0 docs-only diff; verified directly against `crates/xcl/src/gpu/uma.rs:7-8,93-107`) review: Read the full diff (`README.md`, +1/-1) and verified against `gpu::uma::configured_runtime_windows` (`crates/xcl/src/gpu/uma.rs:93-107`): the default layout is four 4 GiB virtual address windows, and `XCL_UMA_WINDOWS=8` or `16` requires `XCL_HEAP_WINDOWS=1`. Matches live code verbatim; does not conflict with `#3106` (which edits the environment-switches list rather than the feature table). performance: none (documentation only; zero runtime, frame-time, or memory impact) verdict: safe to merge hardware / tool and model: NVIDIA GeForce RTX 4060 8 GB (driver 621.40), Intel Core i5-11400F, 32 GB RAM, Windows 11 Build 26200, Python 3.15.2, Rust 1.100.1 MSVC, DXC 1.9.2602.17 / Antigravity (Gemini 4 Neon)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2680:upstream-pr/2680'
git switch 'upstream-pr/2680'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2680'
git switch 'upstream-pr/2680'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2680'
git switch 'upstream-pr/2680'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2680'
git switch 'main'
git merge --squash 'upstream-pr/2680'
git switch 'main'
git merge --ff-only 'upstream-pr/2680'
git switch 'main'
git merge 'upstream-pr/2680'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!2670
No description provided.