The planner's timing rule for the matrix's harness legs: - The harness takes `--skip NAME,...`, and a name ending in `*` in `--only` or `--skip` names every workload it starts. A name that names no workload is an error. - Each runtime's harness run skips the creation rows (`--skip 'create_*'`); they then run alone (`--only 'create_*'`) in five processes per runtime, each with a fresh driver cache and store, so no row before them moves their times. The first process's records are kept whole, its device's gauges at drop renamed to harness-<runtime>/creates/device/... so every key is recorded once; the later processes keep only the creation rows' first samples, as harness-first/<row>/<n>/<runtime> (parked records). - A creation row's first sample (/first, /first_take, /next_take, /first_allocation_total) is judged by the ratio of the medians of its five processes; a single first sample is never red. - A row's limit is 1.03 times the greater of its ceiling and its floor: the widest ratio between two of the old runtime's own runs of the row on that GPU (scripts/matrix/floors.tsv, seeded from store2's noise table's "widest" column; 1002:1900 has no column there, so its floors are 1). Ceilings are unchanged. - A row past its limit is re-timed once, A B B A (two pairs), and fails only if the median of the pairs' ratios is past the limit too. Deterministic counts are untouched. docs/VALIDATION.md describes the new runs and rule. Verified: scripts/matrix/test_results.py, 33 tests OK locally (new: a row within its floor passes, past it but back within on its re-time passes, past both fails; first samples by the median of five, never one alone; the creation processes' sed programs record each key once; the floors table reads). The generated harness_runs shell passes bash -n for a Linux and the Windows leg. The harness's selection tests and lint run in the check job.
4.6 KiB
4.6 KiB
| 1 | # The old runtime's own spread per harness row and GPU leg: the widest ratio between two of |
|---|---|
| 2 | # its runs of the row in one leg (old over old). results.HARNESS_FLOORS reads it; a row or |
| 3 | # leg missing here has a floor of 1. Seeded from old-runtime runs before the harness's |
| 4 | # warm-up before each timed row; measured again when the harness or the old runtime's |
| 5 | # build changes. |
| 6 | row 1002:15bf 1002:699f 1002:744c 10de:1e87 10de:2204 8086:3e9b 8086:a7a0 |
| 7 | alu 22.066 1.006 1.042 1.018 1.008 1.003 19.640 |
| 8 | bandwidth 1.002 1.006 1.011 1.013 1.017 1.002 1.192 |
| 9 | burst_160 1.139 1.013 1.047 1.008 1.156 1.308 1.013 |
| 10 | burst_160_shared 1.132 1.008 1.034 1.005 1.198 1.399 1.024 |
| 11 | burst_2000 1.013 1.005 1.028 1.004 1.007 1.305 1.013 |
| 12 | burst_2000x5 1.072 1.031 1.024 1.012 1.001 1.255 1.027 |
| 13 | constant_managed 1.006 1.072 1.022 1.018 1.016 1.001 12.525 |
| 14 | constant_private 1.010 1.033 1.028 1.229 1.027 1.001 16.087 |
| 15 | constexpr_sampling 1.002 1.107 1.015 1.002 1.007 1.004 1.103 |
| 16 | create_1MiB 1.025 1.091 1.020 1.069 1.065 1.103 1.003 |
| 17 | create_1MiB/first_take 1.058 1.030 1.173 1.038 1.075 1.053 1.066 |
| 18 | create_1MiB/next_take 1.064 1.033 1.027 1.051 1.446 1.074 1.209 |
| 19 | create_4KiB 1.050 1.038 1.036 1.018 1.036 1.091 1.046 |
| 20 | create_4KiB/first_take 1.139 1.712 1.175 1.347 1.053 1.142 1.114 |
| 21 | create_4KiB/next_take 1.298 2.572 1.343 1.370 1.100 1.200 1.218 |
| 22 | create_64MiB 1.003 1.004 1.000 1.001 1.003 1.043 1.034 |
| 23 | create_64MiB/first_take 1.008 1.022 1.003 1.024 1.681 1.175 1.126 |
| 24 | create_64MiB/next_take 1.011 1.024 1.005 1.040 1.056 1.061 1.054 |
| 25 | create_private_16MiB 1.074 1.010 1.115 1.022 1.763 1.041 1.116 |
| 26 | create_private_16MiB/first_take 1.128 1.284 1.307 1.506 1.278 1.022 1.158 |
| 27 | create_private_16MiB/next_take 1.141 1.440 2.341 1.063 1.163 1.017 1.111 |
| 28 | create_render_state 1.019 1.023 1.020 1.027 1.028 1.062 1.008 |
| 29 | create_render_state/first 1.347 1.333 1.443 1.177 1.076 2.506 1.114 |
| 30 | create_state 1.042 1.029 1.042 1.008 1.038 1.056 1.025 |
| 31 | create_state/first 1.297 1.254 1.110 1.074 1.056 2.819 1.415 |
| 32 | dispatch_chain 1.044 1.007 1.003 1.020 1.008 1.001 1.021 |
| 33 | frame 1.173 1.128 1.117 1.102 1.831 1.292 2.055 |
| 34 | frame_5cb 1.604 1.542 1.058 1.142 1.161 1.145 1.761 |
| 35 | image_filter 23.099 1.023 1.017 1.022 1.316 1.013 1.053 |
| 36 | long_4cb 1.004 1.000 1.005 1.006 1.004 1.001 1.001 |
| 37 | narrow_ints 1.009 1.039 1.285 1.019 1.003 1.001 73.445 |
| 38 | sampling 1.004 1.033 1.306 1.031 1.007 1.003 3.587 |
| 39 | simd_reduce 1.001 1.034 1.082 1.019 1.003 1.022 1.187 |
| 40 | texture_read 1.003 1.011 1.010 1.013 1.024 1.015 1.173 |
| 41 | threadgroup_scan 1.018 1.017 2.935 1.003 1.025 1.002 1.084 |
| 42 | vote_loop 1.002 1.009 1.028 1.003 1.003 1.001 1.150 |
| 43 | waves 1.003 1.018 1.002 19.756 1.003 1.006 9.159 |
| 44 | wide_bindings 1.014 1.030 1.029 1.018 1.017 1.066 1.018 |
| 45 | zero_products 1.005 1.011 1.027 1.009 1.024 1.001 76.539 |