Repository navigation
Recompiler: oversized structured code falls back to pc blocks (#1307) - #1321
Conversation
|
Windows run, since Tested says the suite was not run on Windows and Not tested lists any GPU. Tested
Not tested
AI use
|
|
Windows A/B on the retail compute shader from #1307. Both release builds used Rust 1.100.0 on Windows 11 build 26300 with a Ryzen 9 9900X3D. I generated HLSL with four memory windows in wave32, then ran Windows SDK DXC 1.8.2502.11 in a fresh process for each input with
Both builds completed HLSL translation. This run covered one shader through DXC. Driver PSO creation and title execution were outside its scope. Codex (GPT-6 family) ran the experiment and drafted this report. |
|
Thank you both, @fromthemoonx and @dervoxx: that covers the suite on the exact head, the test failing without the bound, and DXC on the retail program itself. I added both to Tested, with links, and marked the PR ready for review. Written with Claude Code (Claude Opus 5.5). |
|
Regression runs on Windows for Tested
main: this PR:
The driver times depend on which blobs earlier runs left, not on this PR: run 1 had nearly everything cached. The timeout counts vary a lot between runs of one build on this title: 13–55 on other builds here. I can't tell from these runs whether this PR's one changed program ( Not tested
AI use
|
|
Thank you, @IvyNotFound! I put both Written with Claude Code (Claude Opus 5.5). |
|
Regression run on RDNA3, since the PR has none: Tested
Regression run Frames 95 % of Not tested
|
|
Thank you, @Rednaxeh: a second GPU vendor for the suite and the smoke pair. Added to Tested, with your note that 60 s may not reach the changed program. Written with Claude Code (Claude Opus 5.5). |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
|
Thanks, @DavidM1911, a third data point for the lib tests on this branch. Written with Claude Code (Claude Opus 5.5). |
pvfreis
left a comment
There was a problem hiding this comment.
Review of 156b0de (merge base 930e8b4, current main), by reading the code; nothing was built or run here. No defect found in the fallback itself: it is a fresh translate with only structured changed, and cached translations from main are not reused.
- CONFIRMED: the test shows the switch to the
pcform, not that thepcform is smaller. Withstructured: false,emit_rangestill emits the longest single-entry stretch throughemit_structured(mod.rs:1084-1107,1124-1126). In the 200-jump program that stretch is[0, last target), so the fallback isif (pc == 0u) { <the same guards> }plus one block, andcontains("pc ==")(tests.rs:7482) holds because of the wrapper. This is howmainalready behaves and does not affect the retail program, which the reports here and in #1307 show fixed. Suggested: say in the test's comment that it checks the switch only, or use a program whose jumps are split across stretches. While there: the new test sits betweenjumps_to_outer_loop_heads_are_structuredand its doc comment (tests.rs:7456-7463).
Question: #1345 makes these guards constant-size (if (xcl_skip == 0u)). On a tree with both, does the 200-jump program still cross the bound? If not, this test's second assertion fails without a merge conflict to warn of it.
Verdict: fine to merge as far as I read; the test comment and the #1345 interaction are worth a look.
Review by Claude Code (written by Claude Opus 5.5, two adversarial checks by Claude Fable 5.2, checked by Claude Opus 5.5); each point checked by a person before posting.
ivall#1379 Integrate 22 open upstream PRs targeting world rendering, shader correctness, DirectStorage terrain loads, and crash/memory stability: - ivall#1321 (ivall#1307): fall back to pc blocks when structured CFG HLSL grows oversized (eliminates the 148 MB HLSL / 1 GB/s commit explosion from b8b1f49 so XCL_PSO_PRELOAD=1 stays flat at ~5.4 GiB) - ivall#549, ivall#1312: DirectStorage late page-array queue hold (fixes 0x89240009 terrain read failures) and 0-byte memory-source requests - ivall#1365 (ivall#1361): GFX10.30 scratch SADDR 0x7F addresses the immediate offset alone instead of adding v0 - ivall#1368: translated compute PSOs use NodeMask 0 - ivall#1371 (ivall#105): deduplicate packed ISG1 vertex input struct fields - ivall#1375 (ivall#1360): ES s_setpc_b64 ends block before gs_start - ivall#1350, ivall#1351, ivall#1352, ivall#1353, ivall#1349: VS layer/viewport outputs, PS sample index/fixed-point position & SV_Coverage, depth+UAV initial states, console SetPredication - ivall#1305, ivall#1306, ivall#1314, ivall#1319, ivall#1322, ivall#1334, ivall#1339, ivall#1355, ivall#1357, ivall#1379: console_list UMA hold on Release, v_cmp_class_f32 bitwise abs/neg, late_release vram queue wait, root arg clamping, empty BVH / NaN rays, NULL IASetIndexBuffer clearing, MSAA MipLevels=1, VFS lazy-page commits, coherent VirtualFree validation, cpu_writes PAGE_GUARD & stale fence wakeups - README.md: document the integrated PRs, XCL_PSO_PRELOAD=1, and 16 GiB cap Verified on RX 9060 XT / GE-Proton11-14: release build clean, targeted unit tests pass (75 passed, 0 failed), and 80 s run with XCL_PSO_PRELOAD=1 and XCL_MEM_LIMIT=12G stays flat at 5340-5413 MB with 512+ pipelines preloaded (1385 frames, exit 0x0). Assisted-by: Antigravity (Google DeepMind)
ivall#1379 Integrate 22 open upstream PRs targeting world rendering, shader correctness, DirectStorage terrain loads, and crash/memory stability: - ivall#1321 (ivall#1307): fall back to pc blocks when structured CFG HLSL grows oversized (eliminates the 148 MB HLSL / 1 GB/s commit explosion from b8b1f49 so XCL_PSO_PRELOAD=1 stays flat at ~5.4 GiB) - ivall#549, ivall#1312: DirectStorage late page-array queue hold (fixes 0x89240009 terrain read failures) and 0-byte memory-source requests - ivall#1365 (ivall#1361): GFX10.30 scratch SADDR 0x7F addresses the immediate offset alone instead of adding v0 - ivall#1368: translated compute PSOs use NodeMask 0 - ivall#1371 (ivall#105): deduplicate packed ISG1 vertex input struct fields - ivall#1375 (ivall#1360): ES s_setpc_b64 ends block before gs_start - ivall#1350, ivall#1351, ivall#1352, ivall#1353, ivall#1349: VS layer/viewport outputs, PS sample index/fixed-point position & SV_Coverage, depth+UAV initial states, console SetPredication - ivall#1305, ivall#1306, ivall#1314, ivall#1319, ivall#1322, ivall#1334, ivall#1339, ivall#1355, ivall#1357, ivall#1379: console_list UMA hold on Release, v_cmp_class_f32 bitwise abs/neg, late_release vram queue wait, root arg clamping, empty BVH / NaN rays, NULL IASetIndexBuffer clearing, MSAA MipLevels=1, VFS lazy-page commits, coherent VirtualFree validation, cpu_writes PAGE_GUARD & stale fence wakeups - README.md: document the integrated PRs, XCL_PSO_PRELOAD=1, and 16 GiB cap Verified on RX 9060 XT / GE-Proton11-14: release build clean, targeted unit tests pass (75 passed, 0 failed), and 80 s run with XCL_PSO_PRELOAD=1 and XCL_MEM_LIMIT=12G stays flat at 5340-5413 MB with 512+ pipelines preloaded (1385 frames, exit 0x0). Assisted-by: Antigravity (Google DeepMind)
156b0de to
0936337
Compare
|
Thanks for the careful read, @pvfreis. Both points were right.
@IvyNotFound, @Rednaxeh: the force-push moved the head to Written with Claude Code (Claude Opus 5.5). |
|
The run this asks for: with Tested Setup: Fedora 44 (kernel 7.2.9), 62 GB RAM, Ryzen 9 9950X3D, RTX 4060 Ti 16 GB (driver 615.71.09), Wine 11.21 Staging, vkd3d-proton v3.1-90-g30b0eb9b, DXC 1.9.2609.5, release,
After the first minute, on the tree with this pull request: 2 runs reached the world's pipelines at 92–94 s and were ended at the 34 GB limit at 110.3 and 113.8 s; a third with The two trees differ by more than this pull request ( The offline pass on Read
Not tested: the AI use: Claude Code (Claude Fable 5.2) merged the trees, ran the title and the offline pass, read the diff and drafted this comment. |
|
Thanks. Checked at Reply by Claude Code (Claude Opus 5.5); checked by a person before posting. |
|
Thank you, @Royalflamejlh: the title's first minute and the offline pass are exactly the check #1307 / #1332 needed. It's in Tested, with your note that the later growth also shows with b8b1f49 reverted. And thanks, @pvfreis, for checking the fixes. Written with Claude Code (Claude Opus 5.5). |
|
Test report: Setup: NVIDIA GeForce RTX 4090 (driver 621.01, 32-lane waves), AMD Ryzen 7 9800X3D, 32 GB RAM, Windows 11 Pro 26300, Rust 1.98.1 MSVC, release, DXC 1.9.2602.17. Retail 1.0.2.1. Tree:
Not tested: the full suite on this head, a world-load run with this PR, AMD. AI use: Claude Code (Claude Opus 5.5) ran the builds and runs on my PC and wrote this report; I checked it. Update, today's Update 2, the pipeline preload:
With a cold cache (run above, |
|
Thank you, @WillyboPeep: native Windows on the current head, with Written with Claude Code (Claude Opus 5.5). |
|
The full suite on Tested
On Regression run
main: this PR: Frames 102 % of Not tested
AI use
|
|
Follow-up to my report above: the same title on the same machine,
An earlier 600 s run of the second tree (no
Machine: NVIDIA GeForce RTX 5080, driver 32.0.16.2124, i9-12900K, 32 GB RAM, 48 GB commit limit, Windows 11 build 26300, release builds. AI use
|
Conflicts: - build.rs: upstream's per-lane source hash kept; integ's second copy of the /HIGHENTROPYVA:NO link argument dropped (upstream's xcl-dev#631 copy at the top of main() stays). - gpu/recomp/mod.rs: integ's loop budget kept next to upstream's xcl-dev#1321 fallback, then xcl-dev#1321 left out: integ's one skip variable (c70c9f0) removes the quadratic guards it bounds. With it, no retail program comes near 128 B per byte (95cc13288a27a96e: 18.9 MB structured), and the bound would only move memory-dense programs (S_BUFFER_LOAD / BUFFER_LOAD runs at 4 windows: 250-300 B per byte, structured no larger than the pc form) to the pc form. Its test is left out with it; c70c9f0's crossing_forward_jumps_keep_the_guards_short covers that layout. - hle/d3d12x/bind.rs: xcl-dev#1791 is upstream's copy of d2d8c93 / 923c3f8: integ's call sites (gpu_profile, breadcrumbs, XCL_SKIP_SHADERS) kept around upstream's identical fresh_indirect_arguments; the test that both sides added is kept once, at upstream's place. - hle/d3d12x/vram.rs: xcl-dev#1747 as ported on try-1747 (11a9069): the PR's side of place_on_pages, with integ's pages() at its two PAGES.lock() sites so releases deferred while PAGES was held still run. Assisted-by: omp (Claude Opus 5.5)
Brings xcl-dev#1747, xcl-dev#1791, xcl-dev#605, xcl-dev#1679, xcl-dev#1806, xcl-dev#1745, xcl-dev#1307, xcl-dev#1321 among others. Resolutions: - dxil/kernel.rs: upstream's Lw::new / Lw::finish; the safe s_barrier state and policy and xcl-dev#1741's single-wave bounded exchange move into Lw::new, with a safe_barrier flag (false for the per-lane lowering). - dxil/lower.rs: VAR_BAR_DEAD moves to VAR_BUDGET + 6 (+5 is VAR_F32_MODE). - TRANSLATOR_VERSION 9. - d3d12x/bind.rs: the bounded ExecuteIndirect call runs inside fresh_indirect_arguments. - d3d12x/list_x.rs: tracked_list_type, and transition (pub(super)) over the batched transitions. - recomp/mod.rs: compact backend and per-lane modules both kept; the oversized-structured-code fallback applies to translate after prepare. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Post-merge follow-up covering two items from @ivall's merge note ( Summary
Measured (
Full 58-run Pre/Post dataset across 118–477 KiB compute programs: #1269 (comment). Not tested: a title run on the merged tree; GPU dispatch correctness of the compiled pipeline; AMD / Intel / Linux. AI use: Antigravity (Gemini 4 Neon) ran the isolated benchmark harness, summarized the logs, and drafted this comment. |
… verdict The driver's refusal of a translated compute pipeline reached only note_translation_error: the report's translation_errors, or the notes of a cached-only attempt, which are dropped when a shader was missing. On an RX 7800 XT a retail title's 13.8 MB compute program (xcl-dev#1332 in the form of xcl-dev#1321) took the driver 15 - 23 s and ~15 GB of commit in every run and was refused with E_OUTOFMEMORY; xcl.log showed its `driver compile finish` and, a millisecond later, the title's dispatch with that pipeline skipped - and nothing in between. The same with the 3.9 MB form of the direct DXIL backend (xcl-dev#1748). The verdict had to be taken from `xcl shaders --measure-pso`. A huge program (`huge_pso_bytes` and up) the driver refuses is now logged with its record hash, DXIL size, HRESULT and the time the driver took, next to the compile lines it already has. Logging only; no behaviour changes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The huge-pipeline gate (xcl-dev#1524) let a compile on an xcl-pso worker start with 3 GB of commit free, whatever the program's size. The driver's compiler takes memory in proportion to the program: ~1.5 GB for a 1 MB one (NVIDIA), and an AMD driver took a process from 34 to 42 GB of commit on a retail title's 13.8 MB compute program (xcl-dev#1332 in the form of xcl-dev#1321). With the giant lane next to the ordinary ones that compile started at 4 s, in the background, while the title's world loading took its own 25 GB: on 32 GB of RAM the process ran into the machine's commit limit at 28 - 34 s, twice with XCL_HUGE_PSO_CONCURRENCY=4 and once with the defaults (a title thread's page could not be committed). big_compile_commit_needed(bytes) is 3 GB plus 1 GB for every 2 MB of DXIL, and big_compile_may_start also refuses a background compile that would take more than a share of the machine's RAM (a quarter; XCL_HUGE_PSO_RAM_SHARE sets the n of 1/n, 0 leaves the commit free alone to decide, as before): such a program waits for a bind that wants it (the gate's existing way out) and is built then, as a title thread would, and the log says so once per program and worker. Compiles the title waits for, and small ones, are unchanged. A graphics bind resolves without waiting and did not mark the pipeline wanted, so a graphics program the share holds back would have stayed a stand-in, its worker in the gate: `resolve` now calls `want()` too (found, with the test a_graphics_bind_releases_the_background_ram_share_gate, by WebIdentity1 in review). Measured on an RX 7800 XT, 32 GB: with the rule the same runs end at 600 s, the 13.8 MB program built at 97 s when the title bound it, and a 60 s smoke's peak commit goes from 84 GB (main) to 27 GB. Co-Authored-By: WebIdentity1 <WebIdentity1@users.noreply.github.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The huge-pipeline gate (xcl-dev#1524, headroom by size since xcl-dev#1774) lets a compile on an xcl-pso worker start when its commit headroom is free. That reading at the start of a compile says nothing about what the title takes next: a retail title's 13.8 MB compute program (xcl-dev#1332 in the form of xcl-dev#1321) started at 4 s in the background with 36 GB of commit free - its headroom is 7 GB - and, with the title's own 25 GB of world loading after it, the AMD driver's ~15 GB for that compile ran the process into the machine's commit limit at 28 - 34 s on 32 GB of RAM, three times (twice with XCL_HUGE_PSO_CONCURRENCY=4, once with the defaults: a title thread's page could not be committed). A background compile now also needs what it takes (the headroom, or 1 GB per MB of DXIL when that is more) to be within a share of the machine's RAM (a quarter; XCL_HUGE_PSO_RAM_SHARE sets the n of 1/n, 0 leaves the commit free alone to decide, as before) and within the RAM available now (under Wine the commit reading is the memory available plus the free swap and never falls, as Royalflamejlh measured in review). Such a program waits for a bind that wants it (the gate's existing way out) and is built then, as a title thread would, and the log says so once per program and worker. Compiles the title waits for, and small ones, are unchanged. A graphics bind resolves without waiting and did not mark its pipeline wanted, so a graphics program the share holds back would have stayed a stand-in with its worker in the gate: `resolve` now calls `want()` too (found, with the test a_graphics_bind_releases_the_background_ram_share_gate, by WebIdentity1 in review). Measured on an RX 7800 XT, 32 GB: with the share the same runs end at 600 s, the 13.8 MB program built at 97 s when the title bound it, and a 60 s smoke's peak commit goes from 84 GB (main) to 27 GB. Co-Authored-By: WebIdentity1 <WebIdentity1@users.noreply.github.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The huge-pipeline gate (xcl-dev#1524, headroom by size since xcl-dev#1774) lets a compile on an xcl-pso worker start when its commit headroom is free. That reading at the start of a compile says nothing about what the title takes next: a retail title's 13.8 MB compute program (xcl-dev#1332 in the form of xcl-dev#1321) started at 4 s in the background with 36 GB of commit free - its headroom is 7 GB - and, with the title's own 25 GB of world loading after it, the AMD driver's ~15 GB for that compile ran the process into the machine's commit limit at 28 - 34 s on 32 GB of RAM, three times (twice with XCL_HUGE_PSO_CONCURRENCY=4, once with the defaults: a title thread's page could not be committed). A background compile now also needs what it takes (the headroom, or 1 GB per MB of DXIL when that is more) to be within a share of the machine's RAM (a quarter; XCL_HUGE_PSO_RAM_SHARE sets the n of 1/n, 0 leaves the commit free alone to decide, as before) and within the RAM available now (under Wine the commit reading is the memory available plus the free swap and never falls, as Royalflamejlh measured in review). Such a program waits for a bind that wants it (the gate's existing way out) and is built then, as a title thread would, and the log says so once per program and worker. Compiles the title waits for, and small ones, are unchanged. A graphics bind resolves without waiting and did not mark its pipeline wanted, so a graphics program the share holds back would have stayed a stand-in with its worker in the gate: `resolve` now calls `want()` too (found, with the test a_graphics_bind_releases_the_background_ram_share_gate, by WebIdentity1 in review). Every start read the same commit free, which the gated compiles already running had not taken yet, so with XCL_HUGE_PSO_CONCURRENCY=8 on an RTX 4090 with 47 GB of RAM (52.4 GB commit limit) 0.76 - 1.06 MB compiles started four at a time, each "gated (waited 0 ms)", while the system's free commit went 3.8 -> 1.8 -> 0.9 GB and the process 32.8 -> 42.4 GB (found by @S1m0ne1997 on the PR). What the background compiles in flight take is now kept in a running total: it is taken off the commit free and added to what the next one takes for the RAM share and the RAM available. Wanted builds skip that check and are not counted. Measured on an RX 7800 XT, 32 GB: with the share the same runs end at 600 s, the 13.8 MB program built at 97 s when the title bound it, and a 60 s smoke's peak commit goes from 84 GB (main) to 27 GB. Co-Authored-By: WebIdentity1 <WebIdentity1@users.noreply.github.com> Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since b8b1f49, one compute program of the retail pack comes out as 148 MB of HLSL (334 KB of code), against 14 MB as
pcblocks before. The structured form's guards each list every pending skip flag and reopen whenever the set changes, so they grow with the square of the flags: this program has 3 861 flags, guards of up to 597 terms, and 99 MB in guard lines. DXC on that fits #1307's commit growing about 1 GB/s with b8b1f49 and not without it. Fixes #1307 and #1332 (record 22619 of the pack, the same program), pending a run that confirms the title's memory.Structured code longer than 128 bytes per byte of program is now translated as
pcblocks.What is in it
crates/xcl/src/gpu/recomp/mod.rs:STRUCTURED_BYTES_PER_CODE_BYTE. Intranslate, structured code past it goes throughtranslateagain withstructured: false.crates/xcl/src/gpu/recomp/tests.rs:oversized_structured_code_falls_back_to_pc_blocks(CPU only). 200 conditional forward jumps whose targets all follow them, in order, cross the bound; 50 do not.Tested
69a892cis0936337rebased ontomainc160d86. The conflict with Recompiler: memory windows from the descriptor heap (no per-access switch) #680'sHEAP_WINDOWSnormalization at the top oftranslateis resolved by keeping both, as @emirduran707 also did.0936337itself changed onlytests.rsagainst156b0de(review). The runs below were made on156b0de/0936337.shaders.rpf, translated on the CPU withgpu::recompbuilt on its own (macOS) frommain, frommainwith b8b1f49 reverted, and from this branch:pcblocksmainOnly one program changes against
main:CS_ScreenProbes_ActivateRaysinindirect_diffuse_lighting, 148.5 MB → 13.8 MB. The next largest structured program is at 61 bytes per byte.cargo check -p xcl --lib --tests --target x86_64-pc-windows-msvcpasses (C code stubbed, nothing linked). The new test's two cases give the expected result in the standalone build:mainkeeps 200 structured, so the test fails there.156b0de:cargo test --workspace --no-fail-fast -- --test-threads=4752 passed, 0 failed, 41 ignored. The new test fails with the bound disabled. On the GPU, both forms of the test's programs agree with a CPU model in all 64 lanes. (report)930e8b4, 154.6 MB of HLSL runs out of memory at the cap and makes no DXIL. On this head, 15.4 MB of HLSL compiles in 68 s, with a 2.8 GB peak commit. (report)XCL_REQUIRE_GPU=wave64,mesh cargo test --workspace -- --test-threads=4752 passed, 0 failed, 41 ignored, noSKIPPED. A secondxcl-smokepair on the retail title had no removal or crash: 95 % ofmain's frames, peak commit +0.9 %. Those 60 s may not reach the changed program. (report)156b0de): no out-of-memory in the first minute in 3 of 3 runs. Onb8b1f49it was killed for memory at 24–71 s in 4 of 4.xcl shaders --precompile --only cs --limit 23000finished with 843 compiled and a 2.6 GB peak, where930e8b4was killed at the 30 GB limit after 34 s. Later growth at world load is the same with b8b1f49 reverted. (report)0936337, title left at its start screen, no input: with this change the host's commit levels off at about 18 GB (18.6 GB at 50 s). On930e8b4and onb8b1f49it grew about 2 GB/s and the run was killed at 72 GB at 47–50 s.cargo test --release -p xcl --lib recomp: 190 passed, 0 failed, 18 ignored. (report)0936337:cargo test --workspace --no-fail-fast -- --test-threads=4withXCL_SAMPLE_RPF/_DLLS/_BVH4set gives 752 passed, 0 failed, 41 ignored. Peak commit at the start screen was 16.3 GB with this change, against 87.5 GB on930e8b4. (report)main9e3831e: alone, the process ends at 68 s at 43 GB. With this change (plus kernelx: Sleep does not count the time a bind waits for a pipeline build #1288, D3D12.X: title texture reads outside the coherent window use the safe copy #751 and XG: fix CopyFromSubresource 7-argument ABI and guard destination span #684), commit peaks at 30.7–33.7 GB until the title's watchdog. (report)69a892cand onmainc160d86, release builds:xcl shaders <pack> --precompile --only cswithXCL_DXC_THREADS=8and an empty DXIL cache. Onmain, private bytes jumped to 39.1 GB at 270 s and the run was stopped at its 20 GB cap; the program this PR changes was a 151 MB source, and DXC on it alone passed 24 GB in 8 s. With this change, at most 8.7 GB, still compiling normally after 10 min. (report)mainc160d86+0936337:xcl shaders --precompile --only cson the retail pack with an empty DXIL cache finishes: 2 689 compiled, 0 errors, peak 7.1 GB private, in 1 317 s. Without this change (9e3831e) it runs away at about record 22 600 every time, with 15 DXC threads, with one, and with DXC 1.8, ending inLLVM ERROR: out of memoryat 35 GB. With--pipelinesit now passes the point where the unfixed build crashed in the driver; the later driver-side growth there is Compute pipeline build takes >120 GB of memory on NVIDIA #1598 / xcl shaders --precompile --pipelines: memory grows without bound (84 GB committed after ~17 min) #1657, not this. (report)XCL_HEAP_WINDOWS=1, this change as of0936337onc160d86with kernelx: Sleep does not count the time a bind waits for a pipeline build #1288 / Recompiler: compact form that emits every distinct block text once #1315 / Recompiler: route compute programs through a compact backend (XCL_COMPACT_CS) #1316: the program compiles in DXC in about 80 s with no jump in commit, to 13 297 372 B of DXIL; the NVIDIA compiler had not finished it after 244–327 s, and the title ran to its 420 s limit in 3 of 3 runs. Without this change (another base) two of three runs had a 4–6 GB jump in seconds during an 80–94 s DXC compile and were ended by their memory guard.oversized_structured_code_falls_back_to_pc_blockspasses. (report)main6c89285merged with69a892cno longer grows without bound. (#1704)Regression run
The PR block on this head
69a892cis by @CuteBooty (RTX 3070, 32 GB,scripts/smoke.ps1 -Seconds 60, no input, the title left at its start screen), unedited, from the report. Themainblock is @IvyNotFound's (RTX 5080,XCL_PRESS_A_AT=15), from their report. They are from two machines, so this pair shows only that the PR's run ended by itself with no device removal or crash; its frames and commit are not a comparison withmain. A pair from one machine is still welcome.main:
PR, this head (@CuteBooty):
PR, earlier head
156b0de(@IvyNotFound, same machine as themainblock above):@CuteBooty's process commit levelled off at 17.7–17.9 GB by 36 s in both runs on
69a892c, wheremainb7aa9f3with a local change passed 30 GB by 34–36 s; base and input differ between those sides.In @IvyNotFound's report, two 140 s world-load runs of this head had no device removal and exited normally, like
main. TheirGPU queue.Waittimeouts were 63 and 133, against 19 formain. On that machine the count varies from 13 to 55 between runs of other builds, so the report does not attribute it to this change, and neither do I.Not tested
pc-block form's DXIL: @einfachama's 8 GB card had not finished it after more than 4 minutes.xcl-smokepair on this head.AI use
🤖 Generated with Claude Code