Harness and replay player: count dispatches by the form their kernel reaches its buffers in

The harness's matrix counts gain bound_dispatches and address_dispatches, and the replay player's
executed counters gain those two with buffer_sets_written and buffer_sets_held, so a run shows
which form its dispatches took. Built only; the harness run is the Iris read that follows.
This commit is contained in:
Anees Iqbal committed 2026-11-26 05:04:54 -08:00
1 parent 7cb5beafe5
commit cf270fa34e
3 files changed
+14 -2

No files matched your search

+4 -1
View File
@@ -739,7 +739,10 @@ records as text, and
`dispatch_write_after_read_barriers`, `dispatch_encoder_end_barriers`,
`dispatch_pass_end_barriers`, `dispatch_indirect_barriers`, `dispatch_unbound_barriers`,
`dispatch_arena_piece_barriers`, `dispatch_heap_barriers` and `dispatch_other_barriers`
(`Metrics::dispatch_after_write_barriers` and the rest). They differ between commits, and
(`Metrics::dispatch_after_write_barriers` and the rest), and the dispatches by the form their
kernel reaches its buffers in: through storage buffers of set 0 (`bound_dispatches`, with the
sets written for them, `buffer_sets_written`, and those that kept the set written last,
`buffer_sets_held`) or at their device addresses (`address_dispatches`). They differ between commits, and
between plays of one commit where what the runtime records depends on timing. Only the
stream's counts are compared between plays.