Files
metal2vulkan/scripts/matrix/gpu-floors.tsv
T
Anees Iqbal b2e33dba6d matrix: a harness row with a GPU time is judged on it against the old runtime's GPU-time floor
The planner's ruling on the old-against-old GPU-p50 floors. On the XTX, whose host-time floors
reach 1.2-1.3 on the shader rows (8 runs, m3-max-45546), the same runs' GPU p50 spreads 1.004 on
simd_reduce (36.96-37.12 us, host time 44.9-55.8 us), 1.008 on narrow_ints, 1.012 on image_filter
and 1.024 on constexpr_sampling: the host time's spread is the host's, not the card's. So:

- A row with a GPU time on both runtimes is judged on its GPU p50, new over old, against the old
  runtime's GPU-time floor on that leg (the new scripts/matrix/gpu-floors.tsv), with its host
  times shown beside it. A ceiling applies to the time its row is judged on.
- The frame and burst rows (WALL_ROWS) stay on their host time and its floor, with the
  instructions gate: their GPU time spans the gaps between their command buffers and spreads as
  widely on several GPUs (1.68 on the Iris Xe's frame_5cb, 1.43 on the UHD 630's
  burst_160_shared). gpu-floors.tsv lists no such row.
- CARD_VARIANCE names rows whose GPU time varies on the card itself: the XTX's sampling (GPU p50
  16.3-20.3 us over the 8 runs; 1.264 in the earlier 4-run set, m3-max-45424) and
  constant_managed (66.8-69.2 or 74.4 us). They are judged like any other row, never fail a leg,
  and are named on its line as the card's variance.
- A re-timed run keeps the row's GPU time too (RETIME_KEEP, harness-retime-gpu/), and the re-time
  selection chooses by the same measure (RETIME_SELECT with GPULIMITS and WALLRE), so a row judged
  on its GPU time is re-timed and judged on its re-timed GPU pairs.

gpu-floors.tsv comes from the runs behind floors.tsv, no new job: the harness of 4cc7963005, 4
runs of `harness --runtime old` per leg (8 on the XTX), jobs m3-max-45422 (1002:15bf), 45430
(1002:1900), 45423 (1002:699f), 45546 (1002:744c), 45425 (10de:1e87), 45426 (10de:2204), 45437
(8086:3e9b) and 45427 (8086:a7a0). Its header notes that the UHD 630's texture_read (1.075) and
the Iris Xe's wide_bindings (1.097) are those GPUs' floors, not reds.

Verified: the matrix's Python tests (42, 4 new: a row with a GPU time judged on it and a frame or
burst row on its time, the GPU floor and the re-timed GPU pairs, a card's variance named and
failing nothing, the re-time keeping both times), run locally; the harness runs' shell renders
and passes `bash -n` for a leg with limits.
2026-11-18 03:24:47 -08:00

29 lines
3.0 KiB
Plaintext

# The old runtime's own spread of each harness row's GPU time per GPU leg: the widest ratio
# between two of its runs' GPU p50 (`harness-gpu-old/<row>`) in one leg, the largest of its times
# over the smallest. results.HARNESS_GPU_FLOORS reads it, for the rows judged on their GPU time
# (results.gpu_judged): the frame and burst rows, judged on their host time, have none here, and
# any other row or leg missing here has a GPU floor of 1. From the same runs as
# floors.tsv: the harness of 4cc7963005, 4 runs of `harness --runtime old` per leg in the order
# A B B A (8 on 1002:744c, A B B A twice), each its own process with a fresh driver shader cache
# and store. Floors here, not reds: 8086:3e9b texture_read 1.075 and 8086:a7a0 wide_bindings 1.097
# are those GPUs' own spread. 1002:744c sampling 1.246 and constant_managed 1.115 are that card's
# own variance in GPU time (results.CARD_VARIANCE).
row 1002:15bf 1002:1900 1002:699f 1002:744c 10de:1e87 10de:2204 8086:3e9b 8086:a7a0
alu 1.015 1.017 1.000 1.007 1.011 1.034 1.012 1.000
bandwidth 1.011 1.008 1.000 1.003 1.001 1.002 1.021 1.010
constant_managed 1.004 1.002 1.006 1.115 1.011 1.004 1.000 1.001
constant_private 1.015 1.002 1.002 1.026 1.009 1.013 1.000 1.000
constexpr_sampling 1.003 1.013 1.000 1.024 1.006 1.002 1.004 1.018
dispatch_chain 1.048 1.024 1.006 1.007 1.007 1.001 1.016 1.005
image_filter 1.000 1.009 1.000 1.012 1.003 1.003 1.008 1.003
long_4cb 1.011 1.017 1.000 1.003 1.018 1.006 1.000 1.000
narrow_ints 1.003 1.002 1.000 1.008 1.006 1.018 1.000 1.000
sampling 1.020 1.006 1.001 1.246 1.001 1.003 1.069 1.003
simd_reduce 1.005 1.004 1.001 1.004 1.002 1.003 1.030 1.006
texture_read 1.002 1.012 1.002 1.009 1.002 1.038 1.075 1.014
threadgroup_scan 1.001 1.009 1.001 1.050 1.008 1.004 1.006 1.001
vote_loop 1.002 1.002 1.000 1.025 1.008 1.028 1.000 1.000
waves 1.001 1.004 1.000 1.003 1.001 1.009 1.000 1.008
wide_bindings 1.029 1.025 1.001 1.002 1.021 1.000 1.001 1.097
zero_products 1.005 1.002 1.000 1.025 1.000 1.015 1.001 1.000