The title's tile lists are dispatches of a group per tile: in the captured frame 2dc364df5d3278b8 asks for 67,440 groups (the one before it 67,272) and 940c2635dc1312f4 for 47,760, the 115,200 tiles of 2560x1440. The clamp cut the first to 65,535: 1,905 tiles at the list's end, the lowest of the picture, did not run. Up to 2^20 groups run as asked on AMD cards (a test on the card: every group once, under its number); more still runs 65,535.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit b856c46dd10bbb550157b255d113a3cca2f3f38a)
One pass clamps the arguments of all indirect executions between two
points where they may change; its jobs are in upload memory that is filled
while the list is recorded. The replayed frame: 2,355 clamps become 980
passes, 86.1 -> 77.7 ms; with VICTORY_INDIRECT_BATCH=2 133 passes,
84.6 -> 75.3 ms.
Replay: --batch-clamps, --only-buffers, --listing; --compare runs turn by
turn.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Two more cases, one record at a time and windows of 32, with this
tree's clamp and the budget words in a device-local buffer instead of
CPU-mapped memory: whether the clamp's atomics crossing the bus are
what a draw clamped alone still costs on a card.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- The clamp's charge per group walks the group's own records (one, for a
record clamped alone) instead of all 64 slots.
- The host-list tests read the debug layer's messages after closing the
list and before the submission, which moves them to the log (review).
- The benchmark lives in its own file and records five cases: what main
records, one record at a time and in windows of 32; what this tree
records, both ways; and windows with the new barriers but main's clamp,
to tell the two changes apart. main's clamp is kept in the benchmark to
measure against.
Co-Authored-By: Claude Opus 5.5 <[email protected]>