Repository navigation
Docs: measured compile-time effects of memory windows and DXC version - #346
Open
heretic1321 wants to merge 1 commit into
Open
heretic1321 wants to merge 1 commit into
heretic1321 wants to merge 1 commit into
Conversation
heretic1321
force-pushed
the
docs/compile-time-notes
branch
from
November 24, 2026 00:08
57aae02 to
420bcf7
Compare
Collects the shader compile-time numbers published in issue ivall#156 and PRs ivall#187 and ivall#214 into one note, so they need not be derived again: driver time grows faster than DXIL size, the DXC version changes DXIL size (so a byte threshold is version-relative), the four-window switch form costs 12.5-15.5x DXC against one window with DXC 1.8/1.9 while the heap form (ivall#187) stays near one window, and only the cold driver run of a cell is a real compile. Every number is attributed to its author and thread; nothing was measured for this note. Assisted-by: Antigravity CLI (Claude Opus 5.5)
heretic1321
force-pushed
the
docs/compile-time-notes
branch
from
November 24, 2026 09:39
420bcf7 to
19ea007
Compare
Contributor
|
Full-suite run on this PR's head Tested
Not tested: AMD / wave64; no retail title (this PR changes only AI-assisted (Claude Code). |
Author
|
Thanks @upipibi for running the full Windows GPU suite on |
|
Test report for Tested
Not tested
AI use: Claude Code with Claude Opus 5.5 ran the build and the suite and wrote this report at my request. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds
docs/compile-time-notes.md, a short developer note that collects the compile-time measurements already published in issue #156 (including its 23 sXMemMapPhysicalPagesScattercall that tripped the title's watchdog), #187 (closed) and #214, so they need not be derived again. Docs only: no Rust and no runtime change.What is in it
switchform is much slower (Kalmarv, Memory windows from the descriptor heap (no per-access switch); NVIDIA OOM fallback; physical-page fixes #187).BIG_DRIVER_COMPILE/XCL_BIG_PSO_KBonly holds for one DXC version.c3fb89e, yous0serious and Kalmarv in D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214, MiguelMachado-dev in Memory windows from the descriptor heap (no per-access switch); NVIDIA OOM fallback; physical-page fixes #187).XCL_TRACE_PSO_TIMEandXCL_BIG_PSO_KB(D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214). None of these is onmainyet, and the page says so.Tested
docs/wave64-on-wave32.mdfor the house style. Checked againstupstream/main(6bac4b4):BIG_DRIVER_COMPILEis still unchanged incrates/xcl/src/hle/d3d12x/real.rs, Memory windows from the descriptor heap (no per-access switch); NVIDIA OOM fallback; physical-page fixes #187 is closed, and D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214 remains open.python3 scripts/pr_check.py --localon head19ea007.19ea007by @upipibi (Docs: measured compile-time effects of memory windows and DXC version #346 (comment)):cargo build --workspacethencargo test --workspace --no-fail-fast -- --test-threads=4: 719 passed, 0 failed, 41 ignored (17 test binaries, e2e title included)SKIPPED:gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware(no wave64)XCL_BIG_PSO_KB/XCL_TRACE_PSO_TIME.c3fb89e(the switch-inlining premise and RTX 3090 E2 numbers), comments by Kalmarv (dense driver bench) and MiguelMachado-dev (E2 at 250 blocks), ande2_window_compile_time.Not tested
XCL_BIG_PSO_KB=128suggested for DXC 1.9 in D3D12.X: bound driver PSO compile concurrency and surface stage progress (#156) #214 is not measured, and the page says so.AI use
upstream/main(6bac4b4), updated#187status references to closed, and ranscripts/pr_check.py --local.gemini-4-neon): added @upipibi's attributed full-suite run to Tested in the description.