docs: VALIDATION.md's matrix says a harness time is host time and a ceiling is only ruled

The `time` record kind is what a program waits on, timed on the host (commit-to-complete where the
workload times it, else the wall time a run adds), since the harness's matrix_time change on this
branch; the harness budget lists no ceiling now, and one is given only by a ruling after the work
on its row. The doc said GPU time and measured-ratio ceilings.

Verified: the text only; python3 scripts/matrix/test_results.py, 28 OK on this branch.
This commit is contained in:
Anees Iqbal committed 2026-11-17 20:55:18 -08:00
1 parent a1a5ada454
commit b96e61afa3
1 file changed
+6 -5
+6 -5
View File
@@ -305,7 +305,7 @@ changes the harness sets the base for the next.
| `metric` | A deterministic count per frame or per command buffer: submissions, passes, barriers, bytes copied, pipelines created | It is larger than the base's |
| `instructions` | User-space CPU instructions per draw or per dispatch | It is more than 1% over the base's |
| `gauge` | Live objects of one resource kind, the key ending in the point it was read at: `@100` and `@200` (loop iterations), `@drop` (after the device dropped) | `@drop` is not 0, or `@200` differs from `@100` |
| `time` | A duration in microseconds: the harness's median GPU time of a workload's run | Only as a cross-GPU outlier: its ratio to the base's is more than 1.25 times the median of that ratio over at least 3 GPUs |
| `time` | A duration in microseconds: what a program waits on in a harness workload's run, timed on the host: its command buffers' mean commit-to-complete time where the workload times it, else the host wall time a run adds (a run's GPU time is a diagnostic and no record) | Only as a cross-GPU outlier: its ratio to the base's is more than 1.25 times the median of that ratio over at least 3 GPUs |
Every cache has a test that fills it past its capacity and records its gauge.
@@ -329,10 +329,11 @@ the cache warm; they are parked.
The harness budget compares the two runtimes rather than two commits, apart from the `time` rule
and the parked records. On each GPU, a harness row timed on both runtimes in the leg
(`harness-new/<row>` and `harness-old/<row>`) holds the new runtime's time to at most 1.03 times
the old's. The rows over it are listed per GPU with their ratio as a ceiling (`HARNESS_CEILINGS` in
`scripts/matrix/results.py`): a listed row fails its leg past its ceiling times 1.03, the noise
allowance parity gets, and one within that is named on the leg's line. A fix lowers its row's ceiling to the ratio it reaches, and a row within
1.03 leaves the list. A row whose time either runtime recorded more than once fails, uncompared.
the old's. A row over it fails its leg unless a ruling, made after the work on that row, gave it a
ceiling on that GPU (`HARNESS_CEILINGS` in `scripts/matrix/results.py`, empty now); a ceiling is
never taken from a measured ratio. A listed row fails its leg past its ceiling times 1.03, the
noise allowance parity gets, and one within that is named on the leg's line. A fix lowers its
row's ceiling to the ratio it reaches, and a row within 1.03 leaves the list. A row whose time either runtime recorded more than once fails, uncompared.
A row over its limit is re-timed in its leg before the leg ends: three pairs of runs of the row
alone, old then new, the second pair new then old. It is judged by the median of the pairs' ratios,
so a clock episode in one run decides nothing, while a regression in every pair still fails. A leg