diff --git a/docs/VALIDATION.md b/docs/VALIDATION.md index 65e95a6e4..33bfaaed8 100644 --- a/docs/VALIDATION.md +++ b/docs/VALIDATION.md @@ -274,8 +274,8 @@ the nodes run at once; a node with several leg GPUs runs them in turn in one job | Leg | Runs | Built | |---|---|---| -| Each GPU of a Linux node | `metal2vulkan-rt`'s tests under `--cfg m2v_gpu`, the GPU chosen by `VK_DRIVER_FILES` and, on Mesa, `MESA_VK_DEVICE_SELECT='vendor:device!'` | Once per commit as a nextest archive on a CPU node, carried to the GPU nodes, which only run it. The archive holds its build's paths, so every node lays the tree out at the same per-commit path. Its binaries run only where the builder's do: a node of another CPU builds its own, in a job that holds no GPU | -| The Windows host's GPU | The same tests, built on the host under MSYS2 CLANG64 (the pinned nightly's `x86_64-pc-windows-gnullvm` toolchain) | On the host, in a job that holds no GPU | +| Each GPU of a Linux node | `metal2vulkan-rt`'s tests under `--cfg m2v_gpu`, the GPU chosen by `VK_DRIVER_FILES` and, on Mesa, `MESA_VK_DEVICE_SELECT='vendor:device!'`; then, in a job that holds the node alone (`--exclusive`), the harness's timed workloads (`harness --runtime `, `crates/metal2vulkan-harness`) | Once per commit on a CPU node: the tests as a nextest archive, the harness as a release build; both carried to the GPU nodes, which only run them. The archive holds its build's paths, so every node lays the tree out at the same per-commit path. Its binaries run only where the builder's do: a node of another CPU builds its own, in a job that holds no GPU | +| The Windows host's GPU | The same tests and harness, built on the host under MSYS2 CLANG64 (the pinned nightly's `x86_64-pc-windows-gnullvm` toolchain) | On the host, in a job that holds no GPU | | `lavapipe` | The gate's suites and the device tests in one build under `--cfg m2v_cpu_icd` (`cargo nextest run --workspace`, then the doctests), `LP_NUM_THREADS=1` | In place, on the builder | A leg passes when every suite passed and no rule below fails. Its line names the device and @@ -291,7 +291,8 @@ of passing and failing tests alike: M2V-MATRIX / ``` -The value is an unsigned integer, and a key appears once per leg. The base is the nearest +The value is an unsigned integer (`time`: microseconds, decimals allowed), and a key appears once +per leg. The base is the nearest first-parent ancestor whose note holds the same leg. | Kind | What it counts | Fails when | @@ -299,7 +300,7 @@ first-parent ancestor whose note holds the same leg. | `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` | Nanoseconds | 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: 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 | Every cache has a test that fills it past its capacity and records its gauge.