Docs: ARCHITECTURE.md - module map, generated files, XCL_* variables #601
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!601
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-601"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Kaairim on GitHub · 2026-11-24 02:19 UTC · original
Kaairim:architecture-doc→main· +194 −0 · 1 files · 1 commits · draftHANDOFF.md is 1854 lines and the
XCL_*variables are spread over doc comments. This adds a short map for new contributors; it rewrites nothing in HANDOFF.md or docs/specs/.What is in it
docs/ARCHITECTURE.md(~190 lines): howxcl runworks (launcher → host → loader → resolver → HLE → recompiler), a module map (console DLL → module → what it does → where its tests are), the generators inscripts/, theXCL_*variables for running and testing (each with the file that reads it), and where to startTested
XCL_SPLIT_WAVE64,XCL_UMA_MB,XCL_DXIL_CACHE,XCL_LAZY_PSO,XCL_FRAME_DUMP,XCL_DUMP_SHADERS)Not tested
AI use
Improvements by William "kaairim" Deivid (wdcore).
🤖 Generated with Claude Code
@DavidM1911 on GitHub · 2026-11-25 12:55 UTC · original
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~26 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling — tracked in #1978; clean on single-threaded rerun.)Thanks!
@RavenCurseBurg on GitHub · 2026-11-26 02:06 UTC · original · edited 2026-11-26 02:17 UTC
Checked the map at
d7c88b566f41d56b893aa077f82b8305caab6645against both its own source tree and mainb49be1836844. Usinggit ls-tree -r --name-only <rev>andgit show <rev>:<path>, I resolved all 31 reader references for 28 environment variables, the four generator/output pairs and five relative Markdown link occurrences.Six reader references point to
tests/*.rsunder the document's stated path convention. All four distinct files are actually incrates/xcl/tests/on both revisions. The generator/output pairs and Markdown links resolved on both. I also checked the defaults inconfig.rs,host.rsandgpu/recomp/dxc.rs: automatic UMA is 4095 MiB for advanced title memory and 2048 otherwise, and the compile-thread setting is clamped to 1–64.Documentation-only correction. After the edit all 31 referenced paths resolve and contain the quoted variable on both revisions.
git diff --checkpassed. This was a source-reference check on Windows build 26100, i7-13700, Python 3.14.3. OpenAI Codex (GPT-6) wrote and ran the check and prepared the edit. Runtime behavior and the full test suite were not exercised.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.