Files
6gbvram---16gb-ram/crates
readmet3xt-labandClaude Opus 5.5 4f4970974f Wave64 groups of several console waves on 32-lane hosts: host waves meet per console wave
CS_DefragHeap_ComputeRelocations (vfx_triangleClip, 128 threads: two
console waves, which walk the decal triangle heap each its own way, with
LDS shared inside one wave and no barrier) did not translate on NVIDIA:
"an LDS read and write in one lane-branch region", and the wave-wide
branches (`widen`) were refused for groups of more than one console wave,
because a group barrier inside a branch one console wave takes and the
other skips would wait for threads that never come. Its dispatch was
dropped every frame.

- `lower::with_pair_meetings`: the two host waves of each console wave
  meet on their own (`Lower::meet`): an LDS counter per console wave that
  its 64 lanes count up and wait on, polling at most 4096 times (a partner
  that never comes costs wrong values, not a hung card). Used for the
  LDS meetings, the exchanges of masks, lane reads and wave-wide decisions.
  A meeting starts a new block: exchanges happen where the code is being
  lowered, the masks and SCC an instruction reads as numbers are exchanged
  before its own code (`exchange_first`), and an IR block's last DXIL block
  is taken after its exit's code (phi predecessors were wrong otherwise).
- With it, a branch closing a loop is in its own lane region (a lane that
  left the loop does not run it again), and the title's barriers count
  wave-wide branches as per-lane ones (`fence_only`).
- `widen` takes groups of whole console waves when allowed (the digest
  list or VICTORY_WAVE_WIDE=1); the LANE_MASK and driver-loop paths stay
  as they were. A program whose LDS with the meetings' dwords passes the
  host's 32 KiB is refused.
- Digest list: CS_DefragHeap_ComputeRelocations (128) and
  CS_TransmissionVolumetricsSubmerged (water_shading, 64 threads, the
  underwater volumetric light: widened like its tiled siblings).

CS_CollectTriangles_Meshlets (1024 threads) still does not translate: its
own LDS is the host group's whole 32 KiB, no room for exchange dwords or
meeting counters.

Checked: both translate and validate (dxil.dll); 1,800 other compute
programs translate to the same DXIL as before (VICTORY_HOST_MAX_WAVE=32).
New test: two console waves of one group in loops of 4 and 8 rounds with
LDS shared across their halves, bit-exact on an RTX 4070 SUPER.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 17:38:46 +05:30
..