02eaf891366a5d37c1e7643cc4b95bb5e6f0ffdb
198
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
02eaf89136 |
matrix: the report ends with one table of every row over its limit, with its status
Two legs of eleven passed and every red was known, so the reds were no longer read. The report (`matrix run` and `matrix show`) now ends with one table: every harness row over its limit on every leg (results.over_rows, the rows harness_budget fails or names as its card's variance), with its kind (GPU time, host time, or count for the instructions gate), its ratio and limit, the frozen arm's verdict (VOID, stands, rebased, no base) and its status. The status comes from scripts/matrix/status.tsv, one typed entry per card and row (a `*` in the row matches any run): an open record with its owner and first round, whose age the table counts in rounds; a known gap with the place it was ruled; or a note alone. A row with neither reads NEW in the first round it is over (not over in its leg's base) and UNOWNED after; a CARD_VARIANCE row reads as its card's known gap. The table changes no verdict: the red rule waits for the planner's ruling. Seeded from the rulings so far: NVIDIA create_64MiB/first_take, a known gap (the 2080 and the 3090); create_64MiB on AMD, a note that it is no known gap and is unjudged until the first interleaved round; the Iris Xe's GPU-time rows, a note of one time-boxed investigation after that round; the Iris row_cells, identity's open record (first over at |
||
|
|
65aac391c2 |
matrix: the frozen arm compares only rounds of one harness, one old runtime and one shape
The noise meter read the old runtime's move between two rounds as noise even where the harness or the old runtime changed between them ( |
||
|
|
3027cf9b68 |
matrix: each creation process times both runtimes, the new runtime first
The creation rows ran in five processes per runtime, all of the old runtime's before the new runtime's, so a node or clock that moved between them moved one runtime's samples alone, an order effect. Each of the five processes now times both runtimes, `--runtime new,old --only 'create_*'`, on its own fresh driver cache and store: a creation's first sample on the new runtime is cold, and the old runtime's follows it on the same cache. FIRST_KEEP takes each sample's runtime from its line. The median of five per runtime and every row, ceiling and floor stay. Verified: test_matrix's harness-run test (five `new,old` creation processes, both runtimes' samples kept once each) and test_results' creation test (FIRST_KEEP keeps the old runtime's sample beside the new's and drops a GPU line); the Linux and Windows job scripts pass `bash -n`. |
||
|
|
abf3d4133d |
matrix: both runtimes' rows are timed in one process, their passes alternating
Two cards showed the noise the old runtime's frozen arm measures: the Iris Xe's frame moved 2.8x between rounds, the UHD 630's about 2x between passes of one process. The leg timed each runtime in a process of its own, one after the other, so a clock or a co-runner that moved between them moved one runtime's times and not the other's. Now one process times both, `harness --runtime new,old`: each workload runs on the new runtime, then on the old, so their passes alternate on the GPU and the node as they are at that moment. The new runtime runs first in each workload, so its first uses, the judged cold ones, compile before the old runtime's of the same workload, as cold as in a process of its own. The process is the leg's one suite, `harness`; a failure still names its runtime (`M2V-FAILED harness-<runtime>/<row>`). The creation rows keep their five fresh processes per runtime, now alternating old and new; rows over their limits are re-timed alone as before. No row, ceiling or floor changes, and the deterministic records are untouched. The frozen arm's column (FROZEN_DRIFT) stays the check on it. Verified: test_matrix's new test runs the leg's timing script against a stand-in harness: one `new,old` process, the new runtime's warm run, the creation processes alternating, one suite whose records hold both runtimes' rows once each. The Linux and Windows job scripts render and pass `bash -n`. |
||
|
|
06b940f810 |
matrix: the frozen arm is the noise meter: a row whose old time moved past 10% on the base is VOID
The old runtime takes regression fixes only, so its time of a harness row moves between rounds
with the node, the driver and the harness, not with the change under test. Each leg now compares,
per row, the old runtime's time the row is judged on (its GPU p50 where gpu_judged, the median of
the five processes for a creation row's first sample, else its time) with the same time in the
leg's base, the previous round. Past FROZEN_DRIFT (10%) either way, harness_budget names the row
VOID and judges nothing from it: its comparison comes from a re-time in one process with both
runtimes interleaved. The report (run and show) shows the move on every row the base has, and a
line per leg naming the void rows; show computes it from the notes, so a round already noted is
read with it.
Verified: test_results (47 tests, a new one for the void rule, the GPU and median-of-five forms,
no base, and the column). `matrix show 140714ceae` against its base
|
||
|
|
34b58e591b |
matrix, runtime tests: the open record's exception goes; the Shared refusal's unit table holds the lab drivers' recorded types
The open record against the RTX 3090's extra leg is closed: the old runtime refuses a Shared dma-buf import on a type with no coherence promise, and reims's forced-refusal pair is green at the refusal's commit. So the matrix's exception for that record goes with its tests: results.record_excused, the wrong-bytes parse behind it, the matrix's record_suites and the `open_records` config key. Every failure on an extra leg is judged again. a_shared_dma_buf_import_takes_host_coherent_types_or_none now runs over each lab driver's memory types as vulkaninfo printed them (NVIDIA 620.70.06 on the RTX 2080, ANV on the Iris Xe, RADV on the RX 550, RX 7900 XTX and 780M, lavapipe), with the udmabuf types the device test printed on each, in place of the synthetic lists. Verified: python3 -m unittest test_results test_matrix (53 OK); the per-device expectations match the SHARED-DMA-BUF lines of the device test on each card (refused untried on both NVIDIA cards, type 2 on the Iris Xe, type 5 on the three RADV cards, type 0 on lavapipe). The Rust test is compiled and run by the next check. |
||
|
|
99ec109264 |
harness: each creation row's first is a fresh object's on a device that has made one of its kind
A creation row's first sample was the first of its kind in a fresh process, so it held the device's own first use (its first recorder, submission, upload, staging region, stamp pool) together with the object's. A guest keeps one device for the machine's life, so what a device pays once never reaches it. The planner ruled that every first row is judged on a new object's first use on a warm device. Each creation row now makes a warm-up of its kind first, made and used as the first is and kept until the first is done, then the timed first on a fresh object: - Shared and Private buffers: a buffer of the same length, kept, so the first takes memory the warm-up did not give back (a new 16 MiB Private block on rt's harness placement); the next take still follows the first's release. - compute states: a state of another authored kernel (lcg_step, bound as signed_zero_products is), created and dispatched once, its word checked; - render states: a state of another fragment function (sampled_fragment) with the row's vertex function and attachment. The warm-up's time is its own record, `<row>/device_first`. The matrix shows it with the ratio of its medians and never judges it (results.SHOWN_FIRST now names each shown sample with its reason). time_states takes the first as its caller timed it; its other form had no caller left. Tests: a host-buffer device shows the buffer row's order (the warm-up alone, the first and the next beside it, the timed ones alone); the matrix shows a warm-up and judges the first it comes before; the device test checks every row records its warm-up. |
||
|
|
12a766d591 |
matrix: the 780M's second 64 MiB Shared buffer has a ceiling of 1.05
On the 780M (1002:15bf and 1002:1900) create_64MiB/next_take ran 1.040 and 1.032 of old
(medians of 5 processes,
|
||
|
|
28309095f2 |
matrix: the UHD 630's zero_products closes level with old, with a note of why it has no ceiling
On the UHD 630 the new runtime's zero_products runs about 1% ahead of old (m3-max-47846: 20656 and 20943 us against 21003 and 21093). The earlier grid-edge test, which decoded and compared the position ahead of the region's ragged branch, ran 5-6% faster (19781 and 19568 us). The driver's executable statistics show that lead was its compiler's accident on that kernel, not missing work: | form | instructions | static cycles | |---|---|---| | the earlier test, fastest | 149 | 507 | | the test inside the flag's branch | 153 | 520 | | no edge test at all | 117 | 375 | | old's | 100 | 336 | The fastest form has the most instructions. The Windows driver returns no internal representation of its code. One shapes job between the two forms (m3-max-47851) found none that keeps both the earlier speed and the sampling rows' gains. The earlier form itself lost 6-40% on four sampling rows against the current one, in the job's first, coolest pass. So the row keeps no ceiling, and the note beside the ceilings says why. Verified: scripts/matrix/test_results.py and test_matrix.py pass at this commit in a potluck job on msi (a comment-only change). |
||
|
|
0228641d79 |
rt: the encoders and a segment's begin borrow the core; the lock budget's bound is 0.25, and a node naming the event must measure it
The planner's rulings on the lock budget and the alternations: - The bound is one value on every device, 0.25 locked instructions per added command, for draws, bound draws and dispatches: a site of rt's that runs per command adds 1 or more, and the drivers' own growth stays far below it (measured: Iris Xe 0.0195 / 0.1425 / 0.0285 at most, RX 7900 XTX 0.0000 / 0.0015 / 0.0050, RTX 2080 0.0005 / 0.0000 / 0.0175). - Each budget test prints its measurement as a matrix record, `locks lock_budget/<kind>`, per million added commands (none below 0), beside its LOCKS line. The matrix fails a GPU leg missing any of the three where the node's setup names M2V_LOCK_EVENT (results.LOCK_BUDGET, names_lock_event, lock_budget_missing; keyed on the setup, not on a card), for a commit that has the budget; elsewhere the budget prints LOCKS-UNMEASURED and passes. The note carries the three values per leg. docs/VALIDATION.md's records table has the kind. - Building::begin borrows the device's core where it took an Arc<Core> it dropped after the start timestamp; the compute and render encoders hold an uncounted borrow of the recording's core (kept::Uncounted, the kept handle's pattern for an Arc), valid while the encoder holds the recording, which it does until it ends. Two locked instructions fewer per encoder and one pair fewer per segment. Verified: scripts/matrix's unittest suite (47 tests, a new one for the event and the missing records). |
||
|
|
53bac3dd47 |
matrix: a card's leg of record by node, extra legs on its other nodes, and an open record that lists their wrong-bytes failures
A card the lab holds on more than one node now runs on each of them when the matrix config names
its node of record (`record_nodes`, card to node). The leg on that node is the card's leg of
record, named by the card as before. Each other node's is an extra leg, `card@node`, judged like
any leg and held to the card's ceilings, floors and variance rows (results.card_of): timing rows
are judged on both. An AMD extra leg selects its device by its card.
An extra leg named in `open_records` (leg to a one-line record) has an open record against its
card. A failed test there is listed with the record and not judged only if both hold:
- it failed with wrong bytes;
- the card's leg of record ran the same suite at the same commit and the test did not fail there.
Every other failure on that leg is judged like any other.
How wrong bytes are told, from the test's captured output after nextest's summary (parse_suite's
`wrong_bytes`):
- its status is FAIL; a TIMEOUT, a signal or a leak never counts;
- its output has Rust's `assertion `left == right` failed` with both sides, `left:` and `right:`,
lists of numbers (the bytes, words or texels read against those expected), so a compare of one
value, a count, does not count;
- no line names a device loss (DEVICE_LOST, device lost) or a validation message (VUID-,
Validation Error).
Any other output, a panic of another message included, is not wrong bytes, so it is judged.
Node names stay in the config, not here. The config this needs for the 3090s:
"record_nodes": {"10de:2204": <um870's node>}, "open_records": {"10de:2204@<ms01's node>": <the
record's line>}.
Verified: scripts/matrix/test_results.py and test_matrix.py pass at this commit in a potluck job
on msi. The new tests check that only an assertion of two lists of numbers reads as wrong bytes
(not a count compare, a device loss, a validation message, an unwrap or a timeout); that an extra
leg lists a wrong-bytes failure only where it passed on the leg of record, and judges the rest;
that an extra leg takes its card's limits; and that the plan makes a leg of record plus an extra
leg from `record_nodes` (and no leg of record when that node is away).
|
||
|
|
0afc54c573 |
rt tests: every instance runs under the validation layer, its log checked
Every instance rt's device tests open goes through one helper, crate::tests::validation. It enables VK_LAYER_KHRONOS_validation for its own test process through the loader's and the layer's own variables (VK_INSTANCE_LAYERS; report flags error,warn, debug action log, one log file per process). It checks that every device of the cfg's kind lists an active validation tool (vkGetPhysicalDeviceToolProperties), so a run whose loader found no layer fails. Once the instance is gone, it reads the log, prints each line with the test's name and fails on any message. The 41 sites that called Instance::new go through it; the exit-handler test reads its child's log, since the child's instance never drops. One test makes a deliberately invalid call (a buffer of size 0, refused by the layer) and checks that its log holds exactly VUID-VkBufferCreateInfo-size-00912. The product keeps no layer code and no variable read. Its one change is a visibility: Instance's shared state is pub(crate), so the helper waits, bounded, on a weak handle of it until the instance is gone, and only then reads the log. scripts/validation-layer makes the layer's directory, one version (1.4.363.0) on every leg, as a carry: Linux's copied from a node whose pacman package is that version and unaltered, Windows's from MSYS2's clang64 packages checked against the package database's SHA-256, and macOS's from a Homebrew install at that version. scripts/matrix carries it to every job that runs rt's device tests (GPU legs, lavapipe, the Windows host), points VK_LAYER_PATH at it, and puts the layer's version in the leg's note. A job without the layer says so and points the loader at none. The harness's timing jobs run without it. Verified: the matrix's unit tests (48, two new ones run the layer's shell for real) and the layer carry made. Builds and legs follow. |
||
|
|
0d3830955c |
matrix: the Iris Xe's zero_products and vote_loop are informational, the driver's register assignment moves them
The padding sweep m3-max-47683 put 0 to 40 dead multiply-adds ahead of the entry test's loop on the Iris Xe (ANV, Mesa 26.2.6). The loop's instructions stayed the same at every pad, but its GPU time moved in equal steps: - zero_products: 5299-5308, 5074, 4841, 4609 and 4377-4388 us, with 4, 3, 2, 1 and 0 two-source adds whose two vector sources start at GRF numbers equal modulo 16; - vote_loop: 890-930 us with one such cmp, 824-848 us with none. The old runtime's dumps and identity's chain probe have none, and run at the fast level. The rows therefore measure the driver's register assignment, not a form of ours. They join CARD_VARIANCE for that card: never a problem, named with the range seen, so no lane claims a gain or a loss on them without the loop's dump. The entries come out once the harness kernels are authored not to depend on the assignment. Verified: scripts/matrix/test_results.py and test_matrix.py pass at this commit, in a potluck job. |
||
|
|
5749d7c461 |
matrix: the UHD 630's zero_products allowance waits for the step's reach
a3eb19eaa5 landed before the ruling that holds it. One UHD job first measures whether the 1/1024 s grid of that row's GPU time is a duration threshold (zero_products at 1/2, 1/4 and 1/8 of its threads off the grid, alu at 2x and 4x on it), in which case the harness row is shrunk below the threshold on every card and no card-keyed allowance is needed; or the kernel's shape, in which case it goes back to the planner. The allowance re-lands as written if the job says it is needed. Verified: the change removes exactly a3eb19eaa5's lines (git revert of that commit). |
||
|
|
d567dd503f |
matrix: the UHD 630's zero_products row allows one step of its GPU time's 1/1024 s grid
On the UHD 630 (8086:3e9b) zero_products' GPU time, two GPU timestamps under one calibration, moves in steps of 1/1024 s (976.6 us) on both runtimes: of the readings in hand (m3-max-47184, 47250, 47436, 47449), the new runtime's 26 sit 7.2 to 26.1 us past a step and the old runtime's 6 sit 58 to 71 us before one, where no other UHD row of 5 ms or more sits on it (0 of 16 per row on the new runtime, 0 of 6 on the old). Eight of its dispatches back to back in one command buffer (47606) moved by eight steps, so each dispatch takes whole steps. The planner ruled the row quantised on that card: its judgement allows one step. One step over old's 19.46 ms is a ratio of 1.05, so HARNESS_CEILINGS gives the row 1.05: under the budget's 1.03 its limit is 1.08, which one step (1.05) passes and two (1.10) fail. Judgement only; no product code changes. Verified: test_results.py, with the counter-window fix's check (job named with this sha). |
||
|
|
aeed1fe9e1 |
matrix: ceilings for the 2080's and 3090's create_64MiB/first_take and the Iris's create_private_16MiB/first_take, as the planner ruled
The planner re-floored the three rows at rt's measured medians from the full matrix at
|
||
|
|
212bba29c6 |
rt: Metal's constant step is a vertex-rate binding of stride 0, on every device
Under the identity domains (Device::from_queries' profile, the new runtime's), Metal's
MTLVertexStepFunctionConstant was refused as Unsupported{VertexStepRate}, needing
vertexAttributeInstanceRateDivisor and vertexAttributeInstanceRateZeroDivisor, which the floor
does not enable. The constant step needs no divisor: it is now a vertex-rate binding of stride 0,
one form, no query, every device.
Vulkan permits it. The specification's "Vertex Input Address Calculation" (28.4) gives a
vertex-rate attribute's address as bufferBindingAddress + vertexIndex * stride +
attribDesc.offset, so a stride of 0 reads the layout's first element for every vertex and every
instance, whatever the base instance: what Metal's constant step reads. A binding's stride has no
lower bound outside the portability subset: VUID-VkVertexInputBindingDescription-stride-00619
bounds it above (maxVertexInputBindingStride) and is the only other rule on it, and
VUID-vkCmdBindVertexBuffers2-pStrides-06209 names 0 among the strides a bind may set. Under the
portability subset (VUID-VkVertexInputBindingDescription-stride-04456: at least
minVertexInputBindingStrideAlignment) link refuses the stride of 0 as
Unsupported{VertexInputLayout}, as it refuses any stride the subset forbids.
Translator, under the identity domains only (lower::access::identity), so Device::new's profile
and the old runtime are unchanged:
- metal::vertex::fetch_as answers Constant with VERTEX rate, divisor 1;
- pipeline::link::vertex::binding_stride emits stride 0 for any fixed-function fetch of a
constant-step layout, keyed on the layout's step rather than on a divisor of 0 (on Device::new's
profile the only such fetch is the divisor-0 one, so its bindings are the same);
- link's check that an attribute the vertex function lists as alike at every vertex of a
primitive is fetched once per instance also takes a constant step's binding, which reads one
element at any rate.
- The per-instance refusal (rate above 1) names exactly what the profile lacks:
vertexAttributeInstanceRateDivisor, else the maxVertexAttribDivisor the rate passes. Its old
text, and Feature::VertexStepRate's, claimed the constant step needed the divisor; both now name
the per-instance step alone.
Docs: docs/API.md (identity-domain vertex input), the rt README's vertex lines, REFUSALS.md
regenerated (the VertexStepRate row and its reach mark no longer name the constant step).
Tests:
- engine_identity_render from_queries_fetches_a_constant_step_at_vertex_rate_with_stride_zero:
on lavapipe (no buffer robustness, no divisor, no supportsNonZeroFirstInstance) ima_vertex's mark
layout at the constant step links to a VERTEX-rate binding of divisor 1 and Static(0), both
modules L3-valid; on moltenvk-m3 (portability subset, minVertexInputBindingStrideAlignment 1) it
is Unsupported{VertexInputLayout}. Fails without this commit (VertexStepRate on both).
- rt draw every_device_fetches_a_constant_step_attribute_for_every_vertex_and_instance: two
instances of a triangle from vertex 1 at base instance 1, the uint mark at the constant step over
four distinct marks: every texel holds the first mark, provoking vertex 1, and its instance (1
above, 2 below). Points are a gap of rt's draws, so the draw is of triangles; the provoking
vertex is vertex 1, so a vertex-rate stride other than 0 would read the second mark, and an
instance step the second and third.
- The Device::new-path tests stay as they were: a_constant_step_links_to_a_zero_divisor_binding_of_
zero_stride, fetch_is_fixed_function_only_when_exact,
a_constant_step_is_a_zero_divisor_only_where_a_zero_stride_is_legal.
|
||
|
|
eb16d34f15 |
matrix: the instructions gate judges the new runtime's own threads, a driver's left beside
The burst rows' whole-process count swung by up to 25 million instructions per run between processes on NVIDIA, all of it in the driver's own "[vkrt] Analysis" thread, while rt's own threads held steady (48-50k instructions per command buffer on the 2080, 23k on the XTX). A gate on the whole count judged the driver. rt now registers the OS id of every thread it starts in Gauges::threads, at one place: the spawn helper device::start, which the reaper, block-maker, submit and completion threads and the cache store's removal thread all start through. A thread holds its slot until it ends. The list is bounded by construction (5 slots), nothing on a commit or submit path reads it, and Device::new's paths are untouched. devtools gains ThreadInstructions (per-thread user-space counters by OS id, a thread that already ended skipped) and this_thread. The harness reads the runtime's thread ids through Device::threads before a row's timed runs, counts them with its own thread, and records own_per_run and others_per_run beside per_run. Every counter read now sits outside the timed wall span. results.py, per the planner's ruling: EXACT, the new runtime's own count at most 1.03 times its stored count (instructions.tsv now holds own counts), ratcheting down; LENIENT, named on every row, the own count at most the old runtime's whole count, old's driver share not separable since the old runtime names no threads. A whole count with no own count fails the row. The base comparison skips the harness's counts: the gate judges them. Verified: scripts/matrix/test_results.py, 42 tests OK locally. Builds and the other suites run on the check job. |
||
|
|
8b428fe5ed |
matrix: a compute creation row's call alone is shown beside its first use, never judged
The cold-creation split (probe a3318b088f, m3-max-45806/45807/45809/45810) found the old runtime returning from new_compute_pipeline_state before it makes its VkPipeline: no vkCreateComputePipelines runs inside the call, and the driver's compile comes before the first dispatch completes. rt compiles inside the call, as Metal does at newComputePipelineState. A compute creation row's `/first` sample already spans the creation, one dispatch and the wait for it (CreateReport::first_us), so that row compares like with like. The call alone was only in the table's text. The harness now also records it as `harness-<runtime>/<row>/first_call` for a compute state row. The creation processes keep it like the other first samples (FIRST_KEEP matches it as is). results.harness_budget shows it with the median of each runtime's five processes and their ratio, as "shown, not judged: the creation call alone, which old returns from before it makes its pipeline", and never judges it. One process's sample alone is not shown. `/first` and its floors are unchanged. The planner approved this form. Test: test_a_creation_call_alone_is_shown_beside_its_first_use_and_never_judged. Docs: VALIDATION.md's creation and harness budget paragraphs. Verified: nothing yet; the Python suite and the harness build are reported with this sha. |
||
|
|
6ab8b5da26 |
matrix: a job's script travels in its environment, not on its command line
The UHD 630 leg's harness job has failed in three matrices ( |
||
|
|
d2e5edbd60 |
harness and matrix: record the whole process's instructions per run and gate the frame and burst rows on them
The harness now counts each timed run's user-space instructions across the whole process. The counts repeat run to run where the times do not: rt's p50 spread across processes was 0.16 to 0.27%. The matrix gates the frame and burst rows (WALL_ROWS) on those counts, beside the host-time judgement and floors they keep under the GPU-p50 rule. devtools: ProcessInstructions opens one user-space instructions counter per core type with inherit set, so every thread started after it opens counts: the runtimes' and the drivers' threads too. The harness opens it first thing in main, before any device starts a thread, and each timed run records the counted delta. A node that refuses perf_event_open, and every non-Linux host, records none. harness: each row whose runs were not sized prints `M2V-MATRIX instructions harness-<runtime>/<row>/per_run <p50>`. matrix: a frame or burst row with a count on both runtimes passes the instructions gate as well as its time's limit: - it fails when rt's count is over old's; - it fails when rt's count is past 1.03 times the stored count in scripts/matrix/instructions.tsv (one column per driver family, `all` where the legs agree within 3%); - it is named when its count is more than 1% under the stored count, which then ratchets down; - it is named when no count is stored, and is then gated against old alone. The single-kernel rows stay judged on their GPU p50 as before, and every row's count is shown beside its times. The old runtime's harness counts are parked from the per-record instructions-versus-base check, like its times. instructions.tsv starts empty: a matrix run's counts seed it. VALIDATION.md describes the time rules and the gate in one paragraph. Verified: scripts/matrix tests (python3 -m unittest discover, 45 OK) on this Mac, over this rule and the GPU-p50 rule together. Before the rebase, check m3-max-45591 on msi (at c597bb3603) passed clippy x4, nextest for devtools, harness and rt (118 passed, with the process counter's test), and the release harness build. Count job m3-max-45641 on the 2080's node recorded the per_run count of every row on both runtimes except long_4cb, which is sized. |
||
|
|
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
|
||
|
|
0d1a32436b |
vertex input under the identity domains: every attribute in fixed function, no pulled form
Planner ruling 11-18 (final): fixed-function vertex input for every attribute on every device,
the form native Vulkan uses and the fastest measured on every device, one form. Nothing of the
pulled form is taken on Device::from_queries' profile. Before this, the translator's
containment rule (contain::encoding is Check::InShader without buffer robustness) moved every
[[stage_in]] attribute into the shader, a form that reads through a descriptor the identity
domains refuse, so every rt render state with a vertex descriptor was refused as
Unsupported(IdentityDomains).
Translator (metal::vertex::fetch_as, pipeline::link::vertex::resolve), under the identity domains
only (lower::access::identity), so Device::new's profile and the old runtime are unchanged:
- the containment rule no longer moves an attribute: the device bounds the fetch as it bounds
any (no buffer robustness: a fetch outside its buffer reads what the device gives);
- an unnormalized signed-integer format (Char*, Short*, Int*) is fetched in fixed function into
a variable declared int, VertexFetch::SignedFixedFunction (new): Vulkan's numeric-type match
lets a SINT format feed only a signed variable, and the device sign-extends as Metal does. The
module reads the variable's bits by OpBitcast. Elsewhere such an attribute is still pulled and
sign-extended in the shader;
- every case that pulled is a typed refusal by what it needs, never a second fetch form.
Metal's vertex descriptor on the rt floor:
- Maps directly:
- formats: every Metal vertex format to the Vulkan format of its layout and conversion, by the
device's VERTEX_BUFFER format query. 8/16-bit integer formats read into float attributes go
through USCALED/SSCALED, signed integer formats into int variables, UChar4Normalized_BGRA is
B8G8R8A8_UNORM, the 10:10:10:2 formats are A2B10G10R10, and FloatRG11B10 is
B10G11R11_UFLOAT_PACK32. The validation crate's profiles of RADV (780M x2, RDNA3), ANV (Iris
Xe, UHD 770), NVIDIA (Pascal, RTX 50) and lavapipe report VERTEX_BUFFER for all of them but
FloatRGB9E5;
- steps: PerVertex is VERTEX rate; PerInstance at rate 1 is INSTANCE rate;
- offsets and strides: the descriptor's, baked into the VkPipeline.
- No fixed-function equivalent on the floor, so a typed refusal:
- PerInstance rate > 1 and Constant: Unsupported{VertexStepRate}, by query. They need
VK_KHR_vertex_attribute_divisor's vertexAttributeInstanceRateDivisor (plus ZeroDivisor for
Constant) and supportsNonZeroFirstInstance, which the floor does not enable, so it is
refused on every rt device today. Its needs name the missing feature, or the
maxVertexAttribDivisor limit;
- a format the device does not report for VERTEX_BUFFER: Unsupported{Format} with that format
usage, by query;
- FloatRGB9E5: Unsupported{Format}, not implemented, by need. Of the profiles above only
lavapipe's reports it, and its fetch answers 0 for the fourth component, where Metal and
Vulkan give 1;
- an offset or stride off the format's component alignment (Metal takes any byte multiple on
Apple5+), and an offset, stride, attribute count or layout count past
maxVertexInputAttributeOffset, maxVertexInputBindingStride, maxVertexInputAttributes or
maxVertexInputBindings: Unsupported{VertexInputLayout}, with the limit where one is passed;
- PerPatch and PerPatchControlPoint: Unsupported{Tessellation}, as before.
rt: RenderPipelineKind::StepRate is deleted: the translator's VertexStepRate refusal comes first
on every rt device, so no pipeline states a divisor. README: the vertex input bullets, their
refusals, and the known gap that a vertex fetch outside its buffer returns what the device gives.
docs/API.md: the identity domains' vertex input. REFUSALS.md regenerated, with reach marks for the
two new features (VertexStepRate app, VertexInputLayout rare); api_signatures blessed.
Tests:
- engine_identity_render from_queries_fetches_every_attribute_in_fixed_function (lavapipe and
moltenvk-m3 profiles with buffer robustness and the divisor withheld): ima_vertex's float2
and short attributes are R32G32_SFLOAT and R16_SINT, nothing pulled, L3-valid; a rate-2 layout
is VertexStepRate needing vertexAttributeInstanceRateDivisor. It fails without this commit (the
attributes were pulled, then refused as IdentityDomains);
- rt draw every_device_fetches_a_signed_attribute_in_fixed_function: a short of -2 reaches the
fragment's uint output as 0xFFFFFFFE on every texel; a rate-2 layout is refused as
VertexStepRate. The existing stage-in test (vertex buffer and set_vertex_bytes) now makes its
pipeline.
Verified: the next lint job and the device legs on every device.
|
||
|
|
1b14efb96b |
matrix: the XTX leg's floors from 8 old runs, whose spread 4 runs did not cover
Three old-against-old pairs on the XTX (m3-max-45492, 45510, 45521) put a row past its 4-run floor each time, in different rows: sampling at 1.258 against a floor of 1.160 in 45510, and constexpr_sampling at 1.236 against 1.217 in 45521. Neither the desktop compositor (0.0% CPU across 45510) nor the clock state (sclk and mclk sampled in 45521: one wide row moved with sclk, two did not) explains it, so the planner ruled the leg's floors measured again with 8 runs. Measured with the same harness as the other legs (4cc7963005's), in m3-max-45546: 8 runs of `harness --runtime old`, A B B A twice, each its own process on a fresh driver shader cache and store; a row's floor is the largest of its 8 times over the smallest. Workload rows now over 1.10: constexpr_sampling 1.259, frame_5cb 1.258, sampling 1.327, simd_reduce 1.243, image_filter 1.172, narrow_ints 1.200, threadgroup_scan 1.111. Other legs are unchanged. Verified: the matrix's Python tests in the check job named in the hand-over. |
||
|
|
813dd5cfd7 |
matrix: jobs sized from whole builds' peaks, and a job short of RAM runs again with twice its room up to the default
The UHD leg of matrix
|
||
|
|
3cf9519fce |
matrix: the 1002:1900 leg's floors, measured as the other seven were
um870's 780M (1002:1900) had no column, so its rows had a floor of 1. Measured with the harness of
|
||
|
|
56efbd0e13 |
matrix: the floors measured with the mean statistic on seven legs; the seeded-floor stopgap deleted
scripts/matrix/floors.tsv held floors seeded from old-runtime runs under the nearest-rank
statistic, some of them the old runtime's paired completions read as a fast run (alu 22.066 on
the 780M leg, 19.640 on the Iris). Measured again with the harness of
|
||
|
|
5abbd52c0e |
matrix: the memory pool's blocks gauge fails only on a rise between iterations 100 and 200
The matrix at
|
||
|
|
5422cf1825 | matrix: every row's GPU p50 beside its time; rows passing only on a seeded floor over 1.10 named | ||
|
|
de2ce035e9 |
matrix: creation rows timed alone in five processes, per-row floors, an A B B A re-time
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. |
||
|
|
ad35582f61 |
matrix: the RX 550's constant_managed row takes constant_private's 1.20 ceiling
The planner ruled that the RX 550's (1002:699f) constant_managed row shares constant_private's
ceiling of 1.20: the two rows run the same constant-table kernel, the table Managed in one and
Private in the other, and the cost is the same GPU cause, tiles over a grid one high and one deep
and the RX 550's 64-bit address per read. Matrix
|
||
|
|
b6b303f8a0 |
matrix: the RX 550's constant_private ceiling, 1.20; the rt README gap names what was measured
The planner set the RX 550's (1002:699f) constant_private row a ceiling of 1.20 in
HARNESS_CEILINGS, based on the row's measured median. The matrix's limit is that ceiling times
HARNESS_BUDGET (1.236). The pushed-flag branch for 256x1x1 tiles was tried and dropped under the
planner's time box.
- v1 (probe a29d4d4fde): 0.884 of tiles on the RX 550, but the untaken branch cost 6.7% on the
UHD 630's grid3l (m3-max-45077) and 1.6% on the RX 550's (m3-max-45076).
- v2 (probe 559c61a305), where the branch covers the extent test too: 0.954 of tiles on the RX
550's constant_private (m3-max-45131), under the 5% bar.
The README bullet now says what was measured, not the earlier attribution:
- On the RX 550 the row runs at 0.90 of tiles in 256x1 workgroups, 0.89 through storage-buffer
descriptors, and 0.89 with both (probe 4f8a9df6b5 on
|
||
|
|
8fa569e62d |
harness, matrix: each runtime keeps its pipelines in a store of its own, fresh for the matrix's main run and warm for its warm run, so create_state and the first uses compare like for like
The old runtime's shader cache defaulted to the per-user ~/.cache/metal2vulkan, which every earlier run on the node had filled, while the new runtime's harness device kept no store: create_state's first state and the first-use rows timed old warm against rt cold (jobs 44170, 44171: old's first on the 2080 2.9-3.2 ms on its warm cache, 8.9-9.7 ms on a fresh one). - old::system_default and rt::system_default take the store (None: the runtime's default, for the tests). - The command takes --store DIRECTORY: each session keeps its pipelines in <DIRECTORY>/<place>-<runtime>; without it, a directory made for the run under the OS temp directory and removed when it ends. Each runtime's line and each create_state row say "store fresh" or "store warm, N files". - The matrix gives each runtime's main run a fresh empty store beside its fresh driver cache, and its warm run the same store; a re-timed row's runs take the harness's own fresh store. - VALIDATION.md and the harness docs say so. Verified: the matrix's harness script, rendered and run against a stand-in harness, passes a fresh --store to each runtime's main run (cygpath'd on Windows); the build, clippy and the authored tests in the check job. |
||
|
|
32d511d17d |
harness, matrix: long_4cb runs one size on both runtimes: --size gives a sized row its size, the matrix passes the first runtime's to the later runs, and a row run at two sizes fails uncompared
A workload whose size follows the device (long_4cb) was sized by whichever runtime ran it first in
its process. The matrix times each runtime in its own process, so each sized it from its own base
time, and they could run different work: the RX 550's long_4cb ran at different sizes on the two
runtimes at
|
||
|
|
a1a5ada454 |
matrix: the harness budget lists no ceiling: a ceiling is ruled after the work on its row, never taken from a measured ratio
The 2080's frame_5cb ceiling of 1.166 was its measured commit-to-complete ratio at
|
||
|
|
b74e1a50b9 |
harness, matrix: a row is judged by host time: commit-to-complete where the row times it, else the wall time a run adds; the GPU time is a diagnostic
The matrix judged every plan row by its GPU time (first command buffer's GPUStartTime to the
last's GPUEndTime), which is not what a program waits on, and whose placement changed between
builds. The harness's matrix time is now run::matrix_time: the steady time of each run's mean
commit-to-complete time where the plan times its command buffers' (frame, frame_5cb, long_4cb;
frame now times it too), else the steady time of the host wall time each run adds
(Report::wall_us, the timed loop's period with two runs in flight). The GPU time stays in the
table as a diagnostic; a new line per row prints the matrix time, what it is, and the wall p50.
results.py's ceilings were GPU-time ratios. They are now host-time ratios: frame_5cb on the 2080
keeps a ceiling of 1.166, its commit-to-complete ratio at 594b86d1f2; the others are dropped, and
the first matrix on host time sets the ceilings of the rows still over the budget.
Re-judged from the
|
||
|
|
76ddb7ed45 |
matrix: a harness row over its budget is re-timed in its leg, three alternating pairs, judged by the median
The matrix at
|
||
|
|
eea1ef870e |
matrix: harness first uses compile cold on a fresh driver cache, and warm on a second run
The matrix at |
||
|
|
fe9dd3d6da |
matrix: a listed row's ceiling has parity's 3% allowance; a row the old runtime failed is named and not compared
Two follow-ups to the harness budget.
The allowance. A ceiling is the row's ratio when it was listed, so run-to-run spread put rows just
past it: over the runs one commit before the seeds (08ff6ed59c), five rows came 0.1 to 3% past
their ceilings. A listed row now fails its leg only past its ceiling times HARNESS_BUDGET, the same
3% allowance parity gets. The ceilings stay the measured ratios and only go down.
Old-runtime failures. The old runtime is frozen and its regressions are parked, but a workload it
failed (on the UHD 630 at
|
||
|
|
bbf8fbb29a |
matrix: the harness budget, new over old per row on each GPU at most 1.03, with the rows over it held to ceilings
results.harness_budget compares the two runtimes within one leg. For every harness row timed on both runtimes in the leg (harness-new/<row> and harness-old/<row>), the new runtime's time over the old's is at most HARNESS_BUDGET, 1.03. HARNESS_CEILINGS lists the rows over it, per GPU, each with its ratio as its ceiling. A listed row past its ceiling fails its leg, and a listed row within it is named on the leg's line (with the parked items), so an open row can neither hide nor grow. A fix lowers its row's ceiling, and a row within 1.03 is named as leaving the list. This rule is separate from TIME_OUTLIER and PARKED_RECORDS, which judge a time against its base commit's across GPUs and park the old runtime's outliers. The budget reads the old runtime's times as its reference. It ends with the cutover, with the old runtime. A time recorded more than once has no single value to judge: twice in one suite, where parse_suite keeps the first and now lists the key in `duplicated`, or once each by two suites, where leg_records keeps the later. Such a row is a problem of the budget's own, named and not compared, beside the record problem the leg already has. The matrix's harness suite now runs one job per GPU. Each job holds its node alone (--exclusive) and times that one GPU. Before, one exclusive job per node timed the node's GPUs in turn. docs/VALIDATION.md says both. Ceilings: one run per GPU of the harness's full set, both runtimes, as the matrix runs it, two passes, each run an exclusive job timing one GPU, at development |
||
|
|
445b720f78 |
identity: texture slots sampled through runtime sampler slots from set 1's sampler arrays
Under the identity domains a kernel samples a texture slot through a runtime sampler slot. The
texture is its class's set-1 element at the index of its pushed gpuResourceID, as a read's is.
The sampler is the element of a set-1 sampler array at the index of the sampler slot's pushed
gpuResourceID (SlotGuestBase of the sampler slot), joined to the texture by OpSampledImage. The
array is picked by the use: binding 2 for a plain sample, 3 for a depth comparison, 4 for a
texture of an integer format; 4,000 SAMPLER descriptors each, PARTIALLY_BOUND |
UPDATE_AFTER_BIND | UPDATE_UNUSED_WHILE_PENDING, every stage, the same set 1 for every pipeline.
The sampler's word (pixel coordinates, a nearest pixel sampler) is read from the ID's high word,
so no specialization constant and no SamplerReduction, SamplerCoordinates, CubicSampler or
ConstantLanes fact remains; every precision note is static. An integer write to a storage slot
without a format saturates to the channel widths the consumer pushes
(PushField::TextureIntegerChannels, a u32), with no fact.
Still refused as Unsupported{IdentityDomains}: constexpr samplers (next change: a pushed index),
an argument buffer's sampler, arrays of samplers, bicubic and anisotropy emulation, a slot's
minimum level.
Translation output changes only under the identity domains (Device::from_queries). Device::new
output is unchanged: golden_hashes_match_the_table passes at this tip (job m3-max-42189), with no
"changed under an unchanged key" and no "profile changed:" line.
For the runtime's side (the planner's three facts):
a. The runtime must dedupe device samplers by create info across the three arrays' uses.
Exhausting maxSamplerAllocationCount (4,000 on the 2080, 3090 and UHD 630; 32,768 on
lavapipe; 65,536 on the others) must be a typed refusal, with a fill-past-capacity test.
b. The update-after-bind limits for 65,536 sampled images, 4,096 storage images and 12,000
samplers hold on all nine profiles (the smallest is lavapipe's 1,015,808); the floor must
check them by query.
c. The count of cubic sampler descriptors is asked of the replay lane; if any exist it goes back
to the planner before step 5 closes.
SEMANTICS_VERSION 2161: identity-domain modules of sampling kernels and integer writes change.
Verified:
- m3-max-42094 (msi), this change on
|
||
|
|
b206c48b2a |
matrix: only a subject that opens with the phrase lets the old path move
a17eb26a6b's matrix run did not report OLD PATH MOVED although its golden test counted 7260 cells under a changed profile fingerprint (the stage-bound change): the check commit's own message quotes "old-runtime regression fix", and the rule looked for the phrase anywhere in a message since the last bless. It now takes only a subject that starts with it, as each fix's does. Tests: scripts/matrix/test_results.py, 17 pass; the old-path test now also feeds a message that quotes the phrase in its body and expects the problem to stand. |
||
|
|
d5a475f1a0 |
old-runtime regression fix: the stage bounds return to Device::new's ANV rows; the bound on every device is a fact of from_queries' profile
|
||
|
|
75b422338a |
identity: argument-buffer textures are the set-1 elements their resource IDs name
Under the identity domains an argument buffer's texture handle is the gpuResourceID its member
holds: the handle is the ID's index, the element of the class's set-1 array (0 is nil, the null
descriptor), with no handle table, no search and no descriptor. Where the shader checks a read
itself (no robustImageAccess2) the handle carries the word's missing-alpha bit (word bit 12) at
HANDLE_ALPHA_ONE, so the handle form is Lookup::Element or Lookup::Flagged{alpha} only.
The handle tables' variant forms are off under these domains (`texture::tabled`): reads of a
member of another numeric class, raw-texel decodes, storage conversions (red-blue, sRGB alias),
A8 alpha-in-red, unreadable-storage nulls, YCbCr write marks, and the HeapCrossClassNeutral,
HeapStorageReads and HeapResidency facts. A slot and a member of one class index one array, so
the class's volatility now merges the slots' uses with the groups'. The admission takes heap
groups whose declaration is their identity class with no plain, raw or cross classes; anything
else stays Unsupported{IdentityDomains}.
Translation output changes only under the identity domains: the default domains plan and emit
as before (no golden re-bless needed). SEMANTICS_VERSION 2153.
The test kernel `tex` gains an argument-buffer form (`texture_kernel(true)`), checked on
lavapipe, moltenvk-m3 and moltenvk-m3 without robustImageAccess2: same answers at the same
elements, set 0 empty, and the handle form Element or Flagged{alpha} as the profile checks reads.
Verified (this commit's tree, as 657e2245c2 on
|
||
|
|
37cc7ac829 |
matrix: harness counts compare under one harness; six old-runtime lavapipe flakes parked
The |
||
|
|
a17eb26a6b |
matrix: the old path moving fails a leg unless its fix says so
The old runtime is frozen until the cutover: the translator's output through Device::new must not move. Today it moved three times through the shared path (half outputs widened, the half pair workarounds dropped, the stage-size rows dropped) and nothing caught it, because the golden table's failure read as "needs a bless" whatever moved. The golden table compiles through Device::new. Its test's stale message now counts each kind (new, gone, under a changed fixture source, under a changed profile fingerprint), from one tested function. The matrix reads the counts: a cell changed under an unchanged key, or one under a changed profile fingerprint, fails the leg with OLD PATH MOVED, unless a commit since the table's last bless says "old-runtime regression fix" (the fix of such a move, or a fix the old-runtime lane lands). New, gone and re-keyed fixture rows still only need a bless. Tests: scripts/matrix/test_results.py (16 pass; the new one feeds both panics as nextest prints them, a new-rows-only failure and a passing run, with and without the phrase); golden_hashes::only_a_cell_changed_under_its_key_needs_a_bump checks the counts' text. |
||
|
|
576a7348bc |
translator: one stage bound on every device; the two stage-size workarounds go
A module whose entry weighs more than COMPILED_STAGE_WEIGHT (99,109, the heaviest stage measured to compile within host-sized memory, on ANV) is now handed to no driver, whatever its identity. A kernel that emulated its simdgroups only in place of the widest mode's pin (the subgroup size range decides it) is planned again keeping the pin, as before; every other module past the bound is refused with Feature::StageSize and a new Needs::StageBound, its symbol naming the weight and the bound. The refusal is permanent for the input on the device (its plan decides the weight), so it is not NotImplemented; validation reads it as the translator's own gap. DriverWorkaround::SerializedStageWrapsLargeModules and CompilerMemoryGrowsWithStageSize go, with ANV's identity entries for them and the serialized bound (786,432), which the single bound sits far below. Why: the workaround ladder takes one form for every device, the slowest compiler's; a device whose compiler would take a heavier stage is refused it, recorded in FAST-PATHS' known gaps. Measured before this change, with a scratch build that applied the bounds and the re-plan to every profile: the corpus on the Iris Xe's description without its identity refused nothing (largest planned module 91,399, job m3-max-41496), and RADV and NVIDIA nothing either; without maximal reconvergence 12 rows were refused, 6 distinct simdgroup-matrix modules of 198 to 285 products whose lockstep pairs force emulated simdgroups (jobs m3-max-41474, m3-max-41523). The owned fixture stage_bound/stage_bound_matrix (512 simdgroup matrix products beside a lockstep pair in divergent flow, our own MSL) has their structure: on the Iris Xe its emulated module weighs 123,307 and its pinned one 37,646; without maximal reconvergence it is refused at 123,308 (scratch weighing, job m3-max-41602). The new test the_stage_bound_fixture_keeps_the_pin_or_is_refused asserts both paths and that the re-planned kernel is under the bound. The old runtime's heap-trim test loses its long chain, now refused on every device; it asks for a trim where the making left more than the floor free (NVIDIA's compile never does under the bound, 189 MB at most measured). SEMANTICS_VERSION 2150; REFUSALS.md regenerated; the API table loses the two variants and gains Needs::StageBound. |
||
|
|
d9b03bf1f4 |
harness: the new runtime runs every workload; typed refusals by name; counts of a lone run
The new runtime now implements the harness's compute traits (rt.rs): the translator's library and function descriptor, its pipeline states, a queue of newCommandQueue's 64 command buffers, serial compute encoders, and GPU times from its host clock in nanoseconds. `--runtime new` runs the authored, described and creation workloads; run::Buffers, the creation-only session, is gone, and the matrix runs the harness on both runtimes (HARNESS_RUNTIMES). A workload a runtime answers with a typed refusal (the new runtime's Error::Unsupported known gaps, such as Gap::KernelInput, and its device limits) prints REFUSED with the refusal on that runtime's row; the other runtimes' outputs are compared among themselves, and the command does not fail for it. Each set prints `refused <n>` as a matrix metric, so a refusal that appears is a matrix failure. Per workload, the runtime's own counts of its work (the new runtime's submissions, passes, barriers and bytes copied; the old runtime's vkQueueSubmit calls) are read over one run after the timed ones, committed alone and waited for, so nothing else in flight blurs them: `<count>_per_run` metrics, for `frame` its counts per frame. Per set, where the runtime counts them, the first-use waits (count, total and longest) print as a metric and two times. This replaces the per-timed-run barrier average, which a run still in flight at either read could shift by one run. Function constants convert in plan.rs, which both runtimes use. The device tests run every authored workload on both runtimes (the new one's gauges read zero after its device drops, and it waited for at least one pipeline), and the described test compares the old runtime with the new. Unit tests: the new runtime's refusal mapping and 32-bit sizes, and run_each with a refusing and a failing session. |
||
|
|
fa52012831 |
identity: texture slots are the set-1 elements their pushed resource IDs name
Under the identity domains a kernel's texture slots now lower. A slot's gpuResourceID is pushed as its PushField::SlotGuestBase (the index in the low word, the word in the high one). Its texture is the element at that index of one of set 1's two fixed arrays: binding 0, SAMPLED_IMAGE x 65,536, and binding 1, STORAGE_IMAGE x 4,096. Each is partially bound, updated after binding and while unused elements are pending, and seen by every stage, with the same layout for every pipeline (BindingSource::IdentityArray). Each image class the kernel declares (shape, numeric type and depth comparison, sampled, or storage without a format) is a variable of its descriptor type's binding. The slot binds no descriptor and declares no specialization constant: - is_null_texture answers whether the index is 0. Nil needs nothing else in the shader, since element 0 of each array is a null descriptor (the device test of |
||
|
|
35fbfb4f2e |
matrix: the old runtime's time outliers are parked like its gauges
The UHD 630's harness-old/frame time swung to 1.58x its base at |