Skip to content

RTX 5060 Ti: heap writes in pieces, Reflex's sleep off the submitting thread, send spares kept under pressure, launcher folding first - #3411

Open
dragoso wants to merge 9 commits into
trustno1-coder:mainfrom
dragoso:perf/rtx-5060-ti
Open

dragoso wants to merge 9 commits into
trustno1-coder:mainfrom
dragoso:perf/rtx-5060-ti

Conversation

@dragoso

@dragoso dragoso commented Nov 29, 2026 •

Copy link
Copy Markdown

Related: #3050 (the device hung with folding off, RTX 5080), #2323 (the launcher against victory play), #2440 and #2464 (glitter in windows)

What it changes

Five commits from measuring one PC (RTX 5060 Ti 16 GB on PCIe 4.0 x8, Ryzen 7 7700X, 32 GB), each with its A/B in docs/findings.md ("What was learned on an RTX 5060 Ti" and the sections after it). Each stands on its own, in this order, so any of them can be dropped:

  1. Heap writes in pieces, Reflex's sleep off the submitting thread.
    • VICTORY_WIDE_PIECES (new crate::wide, off unless asked for): the skinning passes' writes through the title's whole 174 MB heap are declared as the 64 KiB pieces found written instead of all of it. Heavy city stretches 83.4 -> 76.0 ms a frame (diagnostics A/B). A piece first written after a copy's first 64 frames is not declared until a look finds it, a few frames later, and a title write into it meanwhile sends the title's bytes over the shaders': so the launcher does not set it (see the review below).
    • VICTORY_REFLEX_ASIDE (off unless asked for): slReflexSleep every frame on a thread of its own. Without any call of the app's, the driver made Reflex's sleep inside our present, on the thread every submission is prepared on (3-6 ms a frame). Diagnostics A/B standing: median frame 46.8 -> 42.2 ms; moving through the city, 20.9 ms a frame less (no longer held at 71.4 ms). But nothing paces the frames then, so they come less evenly: the launcher does not set it (see the review below).
    • VICTORY_FAULT_UNLOCKED on in the launcher, and a faster compare of the card's copies (thirty-two loads at once, the parts nine at a time): 38.9 -> 37.5-37.8 ms a frame (release).
    • Off, experimental: VICTORY_GUARD_AHEAD (no gain standing or moving), VICTORY_SUBMIT_CORE, VICTORY_REFLEX_MODE; timeline recording fixes.
  2. send: the sweep keeps the send spares in use. Under host memory pressure (residency::pressured, under 3 GiB of RAM free: always, with the title at 20 GB of a 32 GB PC) the 1 Hz sweep let every spare of the send memory go, and the memory every frame sends from was made and mapped again at once: 9.9 % of the submitting thread in Map of new send memory, 7.2 % releasing it. Now only the spares no submission gave back since the sweep before go (all of them when commit is critical, as before). Release at the save point: 14.8-17.1 -> 19.6-20.7 fps, copies in the card's memory 16.9 -> 9.6 ms a frame. (The commit also carried a fix of the diagnostics build, which main has had since 41adb55: after the merge nothing of it is left in the diff.)
  3. Launcher: VICTORY_SUBMIT_SPLIT=1 (main's port of the split send, off by default): diagnostics A/B at the save point, frame 44.6 -> 42.0 ms, the submitting thread 41.6 -> 38.2 ms, screenshots alike.
  4. Reflections: the miss program's image cleared where it is left out (VICTORY_RAYMISS_CLEAR, default on; =0 leaves the image as it was). Since e2d7854 the miss program is left out for opaque and transparent surfaces, and its image kept whatever the memory held; with the transient targets sharing memory, another target's bytes: red, green and purple glitter on every window on Series S. One diagnostics run alternating it every 8 s: the glitter in every shot without it, clean glass in every shot with it; 71.3 against 71.0 ms a frame.
  5. Launcher: VICTORY_WAVE_FOLDED=1, VICTORY_BVH_MISS=1, VICTORY_NAN_SCRUB=1. With v2026.11.29.02's default (no folding) every release run here lost the device (DXGI_ERROR_DEVICE_HUNG, 43, 73 and 92 s into the world), as v2026.11.29.02: DXGI_ERROR_DEVICE_HUNG after 40-190s on RTX 5080, pipeline library fails to load 72/72 entries #3050 has on an RTX 5080; with folding first, none of ten runs did (three of them 5, 5 and 2 minutes in the world on the hotfix build). v2026.11.29.03 (05d1c56) folds more by default again; that default was not measured here. BVH_MISS and NAN_SCRUB, as victory play sets them, cost no card time (one recorded frame replayed with each shader set: 37.37 against 37.16 ms). victory play's texture switches are left out on purpose: with them the save point took 2.7 GB more of the card's memory and 3.5 GB more of the PC's, and ran slower (14.0 and 9.7 against 18.3 and 18.3 fps).

After review

Two testers ran it (comments below). Without frame generation (RTX 5070) no gain, and one frame in 160 with some vegetation missing; with 3x frame generation (RTX 5070 Ti) VICTORY_REFLEX_ASIDE gave 1.25 fps more on average but twice the frames over 50 ms. The A/B logs here, read again for pacing, agree (standing: p95 51.2 -> 57.3 ms, frames over 50 ms 10.3 -> 13.4 %). So the last commit takes VICTORY_WIDE_PIECES and VICTORY_REFLEX_ASIDE out of the launcher; both stay as switches, off unless asked for, with what each costs in docs/README-foxhound.md, docs/dlss.md and docs/findings.md.

How it was tested

  • GPU and profile: RTX 5060 Ti 16 GB (PCIe 4.0 x8, driver 617.42), Ryzen 7 7700X, 32 GB DDR5-5600, Windows 11 26300. Series X at 1440p with DLSS Quality for the first measurements, Series S (1920x1080) with DLSS frame generation 2x for the later ones (docs/findings.md gives each one's); ray tracing off (the launcher's estimates of light and reflections).
  • Before / After: per commit above. In-run A/B (VICTORY_AB) wherever it could be, since the save point's time of day moves from run to run; release runs in turns otherwise.
  • Main merged in at 41adb55 (v2026.11.29.05): the only conflict was host/send.rs's test module, where the new test sits beside main's parallel_copy_threshold_requires_multiple_tasks; one more commit fixes a doc link (nothing_new is now nothing_new_with).
  • For shader changes, the wave sizes tested: 32 lanes (NVIDIA). No translation changes; commit 5 only selects existing switches.
  • cargo test passed for the crates it touches: not run locally: when the branch was made, this PC had no commit memory left for a build (another job held it), so CI's run is the check. The same code was built (release and diagnostics) and run on the branch it comes from, with v2026.11.29.02 under it.
  • Both clippy gates of ci.yml: not run locally either, for the same reason.

Checked for overlap

🤖 Generated with Claude Code

dragoso and others added 5 commits November 29, 2026 19:38
… submitting thread

Measured on an RTX 5060 Ti + Ryzen 7 7700X (docs/findings.md, from "What was
learned on an RTX 5060 Ti" on).

- VICTORY_WIDE_PIECES (on in the launcher, crate::wide): the skinning passes'
  writes through the title's whole 174 MB heap are declared as the 64 KiB
  pieces found written. Heavy city stretches 83.4 -> 76.0 ms a frame.
- VICTORY_REFLEX_ASIDE (on with DLSS): slReflexSleep every frame on a thread
  of its own. Without any call of the app's the driver made Reflex's sleep
  inside our present, on the thread every submission is prepared on.
  Diagnostics A/B standing: median frame 46.8 -> 42.2 ms; with the player
  moving through the city: -20.9 ms a frame (it sat at 71.4 ms without it).
- VICTORY_FAULT_UNLOCKED (on in the launcher): the title's write faults open
  guarded blocks without the guards' lock.
- A faster compare of the card's copies (thirty-two loads at once, the parts
  nine at a time).
- Off, experimental: VICTORY_GUARD_AHEAD (no gain standing or moving),
  VICTORY_SUBMIT_CORE, VICTORY_REFLEX_MODE; timeline recording fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Under host memory pressure the sweep let every spare of the send memory go
once a second; with the title at 20 GB of a 32 GB PC the pressure never
ends, and the memory every frame sends from was released and made, mapped
again at once: 9.9 % of the submitting thread in Map of new send memory and
7.2 % releasing it (profile, RTX 5060 Ti). Now only the spares no
submission gave back since the sweep before go (all of them when commit is
critical, as before). Release at the save point: 14.8-17.1 -> 19.6-20.7 fps,
copies in the card's memory 16.9 -> 9.6 ms a frame.

The diagnostics build compiles again: copystat's window-trim line had no
`mb`, and the submission's own `timing` hid the GPU-timing switch in
`Host::submit`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…_SUBMIT_SPLIT)

Main's port of Biskwit/VIctory-reloaded's split send, off there until
measured on more machines. Diagnostics A/B at the save point, RTX 5060 Ti +
Ryzen 7 7700X (5 phases of each of four combinations): frame 44.6 -> 42.0
ms, the submitting thread 41.6 -> 38.2 ms, screenshots alike; release
medians 23.7 -> 23.7 and 24.7 fps. VICTORY_GUARD_AHEAD gave nothing again.

findings.md: the gap left after the merge with main was the save point
moving (the branch before the merge, run beside the merged one at the new
save point: 18.7 and 20.4 fps against 23.2 and 23.3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since e2d7854 the reflections' miss program (CS_RayMiss) is left out for
opaque and transparent surfaces. Without the ray-tracing structures it is
what writes the texels of the rays the screen-space passes resolve nothing
for, so those texels kept whatever the memory held: with the transient
render targets sharing memory (VICTORY_ALIAS_TARGETS), another target's
bytes. On Series S every car window and shop glass showed red, green and
purple glitter (RTX 5060 Ti, 2026-11-29; upstream trustno1-coder#2464, trustno1-coder#2139, trustno1-coder#2440).

Where it is left out, the program is now bound and its image cleared in
its place by a pass of ours (ambient::clear_miss): no reflected light
there instead of old bytes. VICTORY_RAYMISS_CLEAR=0 leaves the image as
it was. One diagnostics run alternating it every 8 s at a street corner:
the glitter in every shot without it, clean glass in every shot with it;
frame times 71.3 against 71.0 ms (within the noise).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With folding off (v2026.11.29.02, 5c262d7) an RTX 5060 Ti lost the device
(DXGI_ERROR_DEVICE_HUNG) 43-92 s into the world in every release run, as
upstream trustno1-coder#3050 has on an RTX 5080; with VICTORY_WAVE_FOLDED=1 none of ten
runs did. Rays missing every node while the structure builder is off and the
NaN scrub, as `victory play` sets them, cost no card time on a replayed
frame (37.37 against 37.16 ms). play.rs's texture switches are left out:
with them the save point took 2.7 GB more of the card's memory and 3.5 GB
more of the PC's, and ran slower (docs/findings.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the pr-performance Pull request: makes it faster or use less memory label Nov 29, 2026
@github-actions github-actions Bot changed the title [pr-performance] RTX 5060 Ti: heap writes in pieces, Reflex's sleep off the submitting thread, send spares kept under pressure, launcher folding first RTX 5060 Ti: heap writes in pieces, Reflex's sleep off the submitting thread, send spares kept under pressure, launcher folding first Nov 29, 2026
dragoso and others added 2 commits November 29, 2026 20:02
# Conflicts:
#	crates/victory-gpu/src/host/send.rs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ForthtuN added a commit to ForthtuN/VIctory-NVIDIA that referenced this pull request Nov 29, 2026
…load buffer churn

Selective upstream trustno1-coder#1279, trustno1-coder#3271 and trustno1-coder#3411. Preserve list identity, refusal diagnostics, memory caps, critical commit purge, shader translator and cache keys. Include upstream planner and spare retention tests; run targeted host tests in CI.
Alxspb added a commit to Alxspb/VIctory-NVIDIA that referenced this pull request Nov 29, 2026
Carried ahead of upstream, each behind its own switch or strictly local:
- trustno1-coder#3379 the commit floor scales to the PC's RAM, so a 16 GB PC still admits
  driver compiles (without it every PSO compile is put off, and the scene
  draws nothing);
- trustno1-coder#3398 a draw's wait ends when the memory guard puts the compile off, so a
  drawing thread does not sit 500 ms at the commit limit;
- trustno1-coder#3065 the ambient depth table is bound by the resolve only, and frame
  generation is asked again once DLSS-G allows more frames;
- trustno1-coder#3067 the ray test misses inverted boxes, as the console's does
  (VICTORY_BVH_MISS; the authors measure +57 % with ray tracing);
- trustno1-coder#3063 the BVH rehydration stops at 32 rounds and the builder's memory is
  coherent only where it asks (VICTORY_BVH_REHYDRATE_MAX,
  VICTORY_BVH_COHERENT_GLC; the authors measure +15 %);
- trustno1-coder#3406 VRAM is checked before the first streamed textures are allocated;
- trustno1-coder#3128 sampled texture eviction is on by default through 10 GB of VRAM;
- trustno1-coder#3413 the relay fence context survives a GPU device loss.

Left for a hand rebase, because they sit in the paths our parallel submit
and DLSS work rewrote: trustno1-coder#1978 (keep the DLSS frame generation inputs through
presentation) and trustno1-coder#3411 (the RTX 5060 Ti bundle).
Alxspb added a commit to Alxspb/VIctory-NVIDIA that referenced this pull request Nov 29, 2026
Carried ahead of upstream, each behind its own switch or strictly local:
- trustno1-coder#3379 the commit floor scales to the PC's RAM, so a 16 GB PC still admits
  driver compiles (without it every PSO compile is put off, and the scene
  draws nothing);
- trustno1-coder#3398 a draw's wait ends when the memory guard puts the compile off, so a
  drawing thread does not sit 500 ms at the commit limit;
- trustno1-coder#3065 the ambient depth table is bound by the resolve only, and frame
  generation is asked again once DLSS-G allows more frames;
- trustno1-coder#3067 the ray test misses inverted boxes, as the console's does
  (VICTORY_BVH_MISS; the authors measure +57 % with ray tracing);
- trustno1-coder#3063 the BVH rehydration stops at 32 rounds and the builder's memory is
  coherent only where it asks (VICTORY_BVH_REHYDRATE_MAX,
  VICTORY_BVH_COHERENT_GLC; the authors measure +15 %);
- trustno1-coder#3406 VRAM is checked before the first streamed textures are allocated;
- trustno1-coder#3128 sampled texture eviction is on by default through 10 GB of VRAM;
- trustno1-coder#3413 the relay fence context survives a GPU device loss.

Left for a hand rebase, because they sit in the paths our parallel submit
and DLSS work rewrote: trustno1-coder#1978 (keep the DLSS frame generation inputs through
presentation) and trustno1-coder#3411 (the RTX 5060 Ti bundle).
@DoubleD17

DoubleD17 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

We ran a test of this PR with its two new switches, VICTORY_REFLEX_ASIDE=1 and VICTORY_WIDE_PIECES=1 (VICTORY_RAYMISS_CLEAR at its default, on). VICTORY_FAULT_UNLOCKED and VICTORY_SUBMIT_SPLIT, which the PR's launcher script also sets, are main's own switches and were left at their defaults, so the comparison shows only this PR's code.

CPU prep (ms/frame) controls at that point fps (mean) controls at that point
round 1 70.4 67.5 11.33 12.08
round 2 62.3 63.6 12.79 12.80
mean difference +0.8 ms −3.1 %

No gain we can measure on this release build (the controls alone spread over 9 ms).

Picture: in round 1, one frame out of 160 had the palms and the potted plants by the house missing; they were back in the next frame. We saw none in the 320 control frames of this session, nor in 800 earlier control frames on this base. We have seen the same one-frame vegetation gap with #3502, #3476 and #1561. It may be a timing-sensitive problem in main that these changes make more likely, rather than this PR alone, but we wanted you to know.

Setup:

  • Ryzen 7 5800X (8 cores, 16 threads), RTX 5070 12 GB (DXGI budget 11,175 MB), 64 GB RAM, Windows 11;
  • Series X, 1440p with DLAA (DLSS at native resolution; corrected, this line said DLSS Performance at first), frame generation and ray tracing off;
  • the PR merged locally onto main 41adb55 (only its own commits on top), against 41adb55 itself;
  • a warm-up run per build, then 150 s runs in two rounds (the second in reverse order), with four control runs of 41adb55 spread through the session;
  • every run starts from the same save, restored before each run;
  • figures are medians of the 5 s host lines. The four controls measured 60.4–69.4 ms of CPU preparation per frame and drifted during the session, so each run is compared with the controls interpolated to its own start.

Picture check: a burst of 10 captures a second at the end of each run (80 frames), looked at frame by frame.

AI Assisted

bigboss22869 added a commit to bigboss22869/VIctory-RTX5070Ti that referenced this pull request Nov 30, 2026
…LEX_ASIDE=1 (slReflexSleep on a thread of its own, off)

The driver slept inside our present on the submitting thread: Sleep under
nvwgf2umx under sl.dlss_g, 10 % of the thread's time while the camera
turned (profile rot-prof3). Camera turning, release, frame generation on:
mode 0 21.5 fps, mode 2 21.9, the sleep aside 21.5, against 22.0 as before
(run rot-base3): the defaults stay. The idea of upstream trustno1-coder#3411.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ColorC

ColorC commented Nov 30, 2026

Copy link
Copy Markdown

AI Disclosure: This hardware benchmark, log analysis, and report were automated and posted by an AI assistant on behalf of the hardware owner (Ryzen 7 9800X3D, 32 GB DDR5, RTX 5070 Ti 16 GB, Windows 11 26200). No game screenshots or title assets are included.

Sharing controlled A/B data on RTX 5070 Ti + Ryzen 7 9800X3D with DLSS Quality + 3x MFG ON (so NVIDIA Reflex is actively engaged, complementing @DoubleD17's FG-off test):

Same-Binary Toggle Variant (~10.0k–10.3k draws) Avg Native FPS Avg / Med ms Present Call (avg / max) slReflexSleep Off-Thread Errors
Base (VICTORY_REFLEX_ASIDE=0) 24.95 40.1 / 39.8 ms 1.41 ms / 3.9 ms 0.00 ms 0
Base + VICTORY_REFLEX_ASIDE=1 ONLY 26.20 (+1.25) 38.2 / 38.1 ms 0.55 ms / 1.9 ms 20.73 ms (2 left out) 0
#3809 switches (REFLEX_ASIDE=0) 27.80 36.0 / 35.8 ms 3.99 ms / 14.4 ms 0.00 ms 0
#3809 + REFLEX_ASIDE=1 + WIDE_PIECES=1 28.34 (+0.54) 35.3 / 35.6 ms 0.45 ms / 0.7 ms 17.15 ms (5 left out) 0

Telemetry Notes

  • VICTORY_REFLEX_ASIDE=1 is a clear win when MFG/Reflex is enabled: Standalone gain was +1.25 FPS (-1.9 ms), and once CPU prep got faster (with VICTORY_SUBMIT_SPLIT=1), moving slReflexSleep off-thread slashed Present stalls from 3.99 ms (max 14.4 ms) down to 0.45 ms (max 0.7 ms).
  • VICTORY_WIDE_PIECES=1 narrowing telemetry:
    big declared ranges per frame (VICTORY_WIDE_PIECES=1): 2784 MB asked of 1 copies, 389.0 MB declared, 28.9 MB looked at in turn; 389 pieces of 64 KiB found written in all, 0 new since the last line (-86% declared range).
  • Clean across a subsequent 4-minute open-world walking tour (30.1 FPS avg, 0/48 > 50 ms, 0 errors).

Test Setup

  • Hardware: AMD Ryzen 7 9800X3D (Zen 5, 8C/16T), 32 GB DDR5, NVIDIA RTX 5070 Ti 16 GB (ReBAR ON), Windows 11 26200
  • Profile: Series X, 2560x1440, DLSS Quality, 3x MFG (--res 1440 --dlss quality --framegen 3 --fps 1000)
  • Build: Release ThinLTO (-C target-cpu=znver5) rebased on main (41adb551) with a curated local PR stack; all A/B numbers below are same-binary toggle ablations from the exact same restored save (~10.0k–10.4k draws/frame standing scene) after official 1-time warmup.

@ColorC

ColorC commented Nov 30, 2026

Copy link
Copy Markdown

AI Disclosure (Follow-up Correction): Automated per-frame pacing audit posted by an AI assistant on behalf of the hardware owner (Ryzen 7 9800X3D + RTX 5070 Ti 16 GB).

Important follow-up on per-frame pacing (�ictory_gpu::frame_times P95 / P99 / >50 ms frames) under 3x MFG:

While the 5-second average FPS nudged up with VICTORY_REFLEX_ASIDE=1 in the table above, inspecting the exact per-frame �ictory_gpu::frame_times lines from the exact same logs revealed a major frame-pacing / 1% Low regression when slReflexSleep is moved onto an unwaited thread with 3x MFG active:

Same-Binary Toggle Variant (~10k draws, 3x MFG) In-World Frames Per-Frame Median Per-Frame P95 Per-Frame P99 (1% Low) Frames > 50 ms
Base (REFLEX_ASIDE=0) 1,877 38.4 ms (26.0 fps) 51.4 ms 72.4 ms (13.8 fps) 6.3%
Base + VICTORY_REFLEX_ASIDE=1 ONLY 1,826 39.1 ms (25.6 fps) 57.5 ms 66.4 ms (15.1 fps) 14.0%
#3809 switches (REFLEX_ASIDE=0) 1,965 32.2 ms (31.1 fps) 41.0 ms (24.4 fps) 54.6 ms (18.3 fps) 1.4%
#3809 + VICTORY_REFLEX_ASIDE=1 + WIDE_PIECES=1 2,577 34.7 ms (28.8 fps) 56.2 ms 59.1 ms (16.9 fps) 18.4% (13x worse!)

Calling slReflexSleep off-thread without synchronizing back appears to break Reflex pacing under 3x MFG, turning steady ~32–41 ms frames into alternating sawtooth bursts (1.4% -> 18.4% of frames exceeding 50 ms). Sharing this correction so the pacing trade-off is completely transparent.

…(review of trustno1-coder#3411)

Two testers of trustno1-coder#3411. On an RTX 5070 without frame generation no gain, and
once in 160 frames some vegetation missing for a frame. On an RTX 5070 Ti
with 3x frame generation Reflex's sleep aside gave 1.25 fps more on average
but twice the frames over 50 ms. The A/B runs here, read again, agree:
standing, the median frame 46.4 -> 42.3 ms but the p95 51.2 -> 57.3 ms and
the frames over 50 ms 10.3 -> 13.4 %; moving, the frame no longer held at
71.4 ms. With the sleep aside nothing paces the frames.

VICTORY_WIDE_PIECES leaves a piece first written after a copy's first 64
frames undeclared for a few frames, in which a title write sends the title's
bytes over the shaders'. Both switches stay, off unless asked for
(docs/findings.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dragoso

dragoso commented Nov 30, 2026

Copy link
Copy Markdown
Author

Thank you both, @DoubleD17 and @ColorC: this changed the pull request (904bc40).

  • VICTORY_REFLEX_ASIDE: our own A/B logs, read again for pacing, give the same picture as yours. RTX 5060 Ti with 2x frame generation, standing: the median frame 46.4 -> 42.3 ms, but p95 51.2 -> 57.3 ms and frames over 50 ms 10.3 -> 13.4 %. Moving through the city it does take the frame out of the 71.4 ms hold (median 71.4 -> 54.6 ms). With the sleep on a thread nothing waits for, nothing paces the frames. The launcher no longer sets it; it stays as a switch, off unless asked for, with that trade-off written down.
  • VICTORY_WIDE_PIECES: it has a window that could make the one-frame vegetation gap. A piece the shaders write for the first time after a copy's first 64 frames is not declared until a look finds it, a few frames later, and a title write into that 64 KiB meanwhile sends the title's bytes over the shaders'. Not shown to be the cause, but the launcher no longer sets it either.
  • With frame generation off Reflex is off, so VICTORY_REFLEX_ASIDE had nothing to do in the RTX 5070 run: that one measured VICTORY_WIDE_PIECES alone.

🤖 Generated with Claude Code

Conflicts resolved by keeping both sides:
- host.rs, CARD_COMPARE: main's capture of the pieces found differing
  (`taken`, compare bits 2 and 4, every thread past the hash) with our 32
  loads at a time and the 64 hashes read nine at a time, now inside main's
  `if (thread == 0u)`. Compiles with d3dcompiler_47 (cs_5_1).
- host/send.rs, trim: our sweep that keeps the spares in use (`staying`),
  and main's recycled send plans cleared when commit is critical.
- shadow.rs, gpu_writes and shader_writes: main's `unified_stats` count,
  then our big-range narrowing (`crate::wide`).
- watch.rs, guard_ahead: main replaced `publish(&blocks)` with
  `publish_range(first, last)` (8bd49cd); the guarding ahead publishes
  its range after the asking as main's `writes()` does.

cargo check --workspace --all-targets passes (with main's two test calls of
card_pass given their new argument, which main itself lacks); its only
warnings are main's own (`Shadow::ranged`, `loop_caps`).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-performance Pull request: makes it faster or use less memory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants