ce6bc460cff70909f5aed5e59e564aba413d8ca1
26
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
a96e93f4da |
runtime_lane under sync validation: the layer's false positives become narrow claims, and the tests' own races are taken out
Under METAL2VULKAN_LANE_VALIDATION=sync on lavapipe the runtime lane failed 31 tests on the layer's hazard reports. At |
||
|
|
9dc4b0c953 |
Runtime lane: argument_buffers lets the layer's writes after writes between its dispatches' apart words pass
Under METAL2VULKAN_LANE_VALIDATION=sync on lavapipe, two argument_buffers tests failed with
SYNC-HAZARD-WRITE-AFTER-WRITE between dispatches of the word copier on set 0 binding 1
(resource_ids_a_kernel_writes_name_resources_as_the_cpus_do,
addresses_a_kernel_writes_reach_buffers_as_the_cpus_do; privmem's m3-max-21017 and 21016).
These hazards are not races. Each copy writes 4 bytes, at owner offsets 4 bytes apart. The
runtime's tracker orders a serial encoder's dispatches by the plan's proven window (here 4 bytes
each, disjoint), so it records no barrier between them. The layer takes the descriptor's whole
range as written, and bind::descriptor_range binds that range from the offset alignment down, in
16-byte granules and 16 bytes at least, so to the layer the two ranges meet. Vulkan's memory
model has a data race only between operations on overlapping memory locations ("A memory
operation must not affect memory at a memory location not within its set of memory locations").
The lane's sync_coverage::disjoint_words_of_one_block_are_a_hazard_to_the_layer_alone already
shows this false positive word by word and names these reports. The runtime is unchanged:
adding barriers would only silence what the layer reports.
runtime_lane::apart_writes is a fourth claim form,
layer_reported_nothing_but_apart_writes(messages, claim, &writes). The test notes each
dispatch write as it places it (DispatchWrites: buffer, bytes). A message passes, with a
LAYER-APART-WRITES line, only when all of these hold:
- it is a SYNC-HAZARD-WRITE-AFTER-WRITE (not the racing form);
- both commands are dispatches (hazards::DISPATCHES, now shared with the sequences lane);
- it is on a VkBuffer the test noted two writes or more of;
- no two of those writes share a byte. The writes are read in VkBuffer space through
Buffer::vk_buffer, asked only once the work ran.
Everything else fails as layer_reported_nothing does. So does a message list the sink filled
(Messages::MAX, now crate-visible), since what it dropped is unread. The hazard text is read by
the sequences lane's parser (parity::sequences::hazards::parse, now crate-visible), not a second
one. Both tests now state that claim after each iteration's run. VALIDATION.md's claim-form table
gets the row. The table's last row and the paragraph after it had run together on one line; they
are split again.
Unit tests (no device) show these fail: a read after a write, a write after a read, the racing
form, a draw or a copy at either end, an image, a buffer not noted or noted once, and two noted
writes at one word or overlapping ones.
|
||
|
|
a094c7f72a |
Tests: a nextest profile that runs a GPU of few channels three device tests at a time
On NVIDIA's driver each VkQueue is a channel and a runtime device of the queue plan takes 18. An RTX 2080 held 10 such devices at once (job m3-max-18774), so a 16-thread host's default 16 test processes ask it for 288 VkQueues and the driver refuses the rest; the 3090 and the 5080 Laptop GPU held 61 (jobs m3-max-18776, m3-max-18775). --profile few-channels runs three at a time, as the consumer's own profile does. docs/VALIDATION.md says when to pass it. |
||
|
|
7d7085f9d0 |
Remove the host GPU locks: the validation batch's run lock and device-lane's --wrap
GPU work now runs under the cluster scheduler's exclusive GPU hold, which already gives a job the GPU to itself, so the repo's own cross-process GPU locks only duplicated it. - vulkan_batch: delete run_lock.rs, the ~/.cache/m2v-gpu/run.lock + run.turn flock that made GPU batches on one host take turns run by run, and its two tests. A GPU batch already runs one executor at a time (it refuses jobs != 1), and it still reads the hang tripwire before every run and writes it on a hang; the tripwire is a stop, not a lock, and stays. - scripts/device-lane: drop --wrap, which existed to put each shard under a host GPU lock and a memory cap; the report's "wrapped" column and totals become the run's. - docs/VALIDATION.md: the device-lane section says to run it under the host's exclusive GPU hold instead of a --wrap lock. - Comments that told the reader to run probes under `maclock` or spoke of "the Mac's GPU lock" now say the run has the GPU to itself (Metal probes, recording.rs, stage-input-split, two runtime test modules, which are outside the runtime-sources pin). Checked on a Linux node before landing: cargo clippy -p metal2vulkan-validation --all-targets --all-features (plain and --cfg m2v_gpu) -D warnings, the vulkan_batch tests, and the runtime-sources guard (the pin is unchanged). |
||
|
|
cc4c44bd7e |
Make the GPU hazard tests opt-in under --cfg m2v_gpu_hazards
Owner's rule (11-05): tests that fault a real GPU, hold one for long, or allocate toward its limits never run in sweeps, lanes, stress loops or gates; they run only when that feature is tested, on request. On the M3 Max a GPU fault's recovery fails other processes' command buffers in flight (.config/nextest.toml has the measurement). #[ignore] is not enough, since lanes run --run-ignored all, so the gate is a cfg: on a real GPU a hazard compiles only under --cfg m2v_gpu --cfg m2v_gpu_hazards. Under --cfg m2v_cpu_icd it compiles and runs as before, so lavapipe CI keeps them. Gated (each doc comment now says which hazard it is): - runtime_lane::host_memory::a_gpu_fault_fails_its_command_buffer_and_the_queue_runs_on and ::a_lost_device_s_command_buffers_let_go_of_their_pools_after_the_driver_s_completion: GPU writes into read-only host pages, real page faults (2 and 3). - host_memory::a_no_copy_buffer_s_pages_are_imported_when_it_is_made: no-copy buffers of 1 to 16 GiB. - vertex_strides::vertex_fetches_past_4_gib_of_a_buffer_are_refused and stage_in_strides::stage_in_fetches_past_4_gib_of_a_buffer_are_refused (and their `Large` helper): 4 GiB + 4 KiB buffers. - heaps::the_largest_heap_lies_in_one_allocation: a heap of the device's largest allocation, up to 4 GiB. - cross_queue_shadows: the three tests whose spin holds one command buffer for 1.5 s. - framebuffer_fetch::storage_forms::a_steady_stream_takes_the_storage_form_at_its_first_lone_commit: a single-dispatch spin of up to 1 s that only its cap ends on Apple GPUs. - detach::table_3_a_detach_waits_for_running_work_then_refuses: single dispatches calibrated to 500 ms (up to 2 s loaded), the cap alone ending them on the M3 Max, where Metal ended some 0.5 s dispatches as hung. - runtime tests::detach_lost: one dispatch of 2^25 loads (about 4.5 s on the M3 Max) whose word the GPU does not see raised. Made safe instead of gated: - mesh_draws::object_grids_run_as_metal_runs_them: on a GPU without the hazards cfg, grids past 2^20 object threadgroups are skipped (printed), as a CPU ICD already skips them; the 70k to 262k grids and the past-the-watchdog discards still run. The 4.6M grid took 12 s in one command buffer on the RTX 5080 Laptop GPU. - detach::a_resident_buffer_no_command_reaches_fails_its_submission_once_detached takes the spin kernel without calibrating a cap (`spin_kernel`): its word is raised, so the cap never mattered, and the calibration's unraised runs are bounded only at 16 x 50 ms. - cross_queue_shadows::an_encoder_after_a_signal_reads_what_another_queue_wrote_after_it no longer calibrates a spin it never ran. The cfg is declared for unexpected_cfgs in the runtime, validation and conformance manifests. docs/VALIDATION.md says what a hazard is and how to run one; CONTRIBUTING.md and .config/nextest.toml mention the cfg. The device lane is unaffected: its builds set RUSTFLAGS to --cfg m2v_gpu alone. No product code changed (no RUNTIME_VERSION bump; the runtime-sources pin skips test modules). Verified on this Mac (no test run on any GPU): cargo fmt --all; cargo clippy --workspace --all-targets --all-features -D warnings clean plain, under --cfg m2v_gpu, --cfg m2v_gpu --cfg m2v_gpu_hazards and --cfg m2v_cpu_icd. cargo nextest list -p metal2vulkan-runtime -p metal2vulkan-validation --all-features --run-ignored all: under --cfg m2v_gpu 5022 tests, under --cfg m2v_gpu --cfg m2v_gpu_hazards 5034, and the difference is exactly the 12 gated tests; all 12 are listed under --cfg m2v_cpu_icd (5000 tests). (cherry picked from commit 7b57d9a87a3dd8275a2ece547fc0bd9b9cb6808c) |
||
|
|
7cce610704 |
Delete the shader-side dropped-store mask
One work packet, landed as 5 commits (a31d02e99a..46c3156d42 on archive/development-linear-2026-10-28), in order: * Delete the shader-side dropped-store mask What. The per-stage mask of buffer slots whose stores the shader drops goes, with everything that existed only for it: - translator: the store-dropping lowering (lower/access/sink.rs; the guarded stores in emit, psb, pulled, dynamic, atomic and blob; the write-only store-sink binding and the OpSelect of two storage-buffer pointers that chose it, with its VariablePointers requirement), the specialization key, the stage-table field and their codec tags; - runtime: argument_table's dropped_store_buffers and its refresh, Buffer::drops_writes (now unused), the two variable-pointer enables, and SetZeroChoice.store_sinks (now the layout's set-0 bindings); - tests: engine_dropped_stores, engine_dropped_store_sink, the sink cases of neutral_zeros_shared, and dynamic_multi_variable's two encoders_plain tests, whose only binding of several variables was the sink. The narrow-unit kernel now runs at its buffers' starts and at moving offsets: the moved run checks that a dynamic offset reaches every variable of its three-variable binding, and no dispatch at a moved offset reuses its predecessor's set in either form, since a slot read to its buffer's end has a range that moves with its offset; - the Apple M3 Max known-gaps row for host-page-writes-kernel-store-read-only at case/bytes-in-the-same-command-buffer-bytes, which this fixes. Removed public items: - metal2vulkan::bind::StageTable::dropped_store_buffers (field) - metal2vulkan::bind::StageShape::dropped_store_buffers (field) - metal2vulkan::pipeline::SpecKey::DroppedStoreSlots(Stage) - metal2vulkan::pipeline::SyntheticBinding::StoreSink - metal2vulkan::device::VkFeature::VariablePointers - metal2vulkan::device::VkFeature::VariablePointersStorageBuffer (the two features were asked for only by the sink's pointer select) Why. The mask was set only from Buffer::drops_writes, which is true only for host pages imported through a read-only view, and only macOS makes one (VIEWS_DROP_WRITES; ReadOnlyView::of is None elsewhere, and no_copy_options keeps the private bit off it). No other path set it: Linux writable imports, dma-buf imports (excluded where writes drop), heaps (the same import) and argument buffers (which name no slot). On that memory the view already takes the GPU's writes nowhere, so the shader-side drop was redundant there. It was also wrong: a later command of the same command buffer reads the stored words back from the GPU's caches on Metal (8 runs of 8 on the M3 Max), and the shader-side drop made it read the pages' own bytes. Versions, placeholders for the landing to renumber: SEMANTICS_VERSION 2000, ARTIFACT_FORMAT_VERSION 500 (the codec loses four tags), RUNTIME_VERSION 1840. api_signatures.tsv re-blessed, docs/REFUSALS.md and docs/CONFORMANCE-COVERAGE.md regenerated, the runtime sources re-pinned. FAST-PATHS: the read-only-memory known gap now says what is true (writes reach the pages off macOS), and the dynamic multi-variable row is scoped to bindings whose range stays as their offset moves. Verified: - metal2vulkan suite: 3329 of 3330 pass. golden_hashes moves 3391 cells (every module with a device store loses its guard); the table is re-blessed on development. - clippy -D warnings clean, plain and with --cfg m2v_gpu; rustdoc -D warnings clean for the four touched crates. - MoltenVK 1.4.2 on the M3 Max: conformance replay of the four host-page-writes cases exits 0, both kernel-store cases exact (the visibility pair "announced", the fast-math notice, as before). The host-page, read-only and private-bit lanes and argument_table, neutral_zeros_shared and dynamic_multi_variable pass. - lavapipe (arm64, linux-gate): full conformance replay exits 0, its 891 gap rows exactly the ones the ledger expects on the venue (none unlisted, none stale); the same lanes pass. * Lane: a kernel's stores into private-bit memory reach only its own command buffer What. runtime_lane::degrade_notices gains a_kernel_s_stores_into_private_bit_memory_reach_only_its_own_command_buffer. It dispatches a4_index_word into no-copy memory of an anonymous mapping, filled with 0xab and made with Metal's private option bit 24, bound 512 bytes in, then copies the first 1024 bytes in the same command buffer and in a later one, and reads them from the CPU. Why. It holds Metal's measured answer where the runtime gives it: the same command buffer's copy reads the stored words, everywhere; on macOS, where the pages come through a read-only view, the later command buffer and the CPU read the pages' own bytes and nothing is announced; elsewhere they read the stores, announced once as the private-option notice. Every byte the stores do not name keeps 0xab at every site. Verified: MoltenVK 1.4.2 on the M3 Max prints "drops writes true; same command buffer stored true, later command buffer stored false, CPU stored false" and passes; lavapipe (arm64) prints "drops writes false; ... true, true, true" and passes. * Number SEMANTICS_VERSION 1907, ARTIFACT_FORMAT_VERSION 475 and RUNTIME_VERSION 1681, past development's The dropped-store mask's deletion took the placeholders 2000, 500 and 1840; development is at 1906, 474 and 1680. * Re-bless the golden tables after the dropped-store mask's deletion Every module with a device store loses its read-only guard (a31d02e99a), so bless_golden_hashes moves 1330 rows of golden_hashes.tsv; bless_engine_inventory, bless_engine_goldens and tests::air_input wrote nothing new. Verified: the three bless runs and air_input exit 0 at 623f8d2170. * Re-bless the authored compile census after the dropped-store mask's deletion corpus-triage --audit authored-compile --bless over 2253 cases and 21 profiles: 0 differences, 0 regressions, 0 failed, 20159 artifacts moved by hash alone (the store guard's words). Slowest compile 586 ms, slowest case across all profiles 18.5 s, peak worker RSS 231 MB. Verified: the census run above at 623f8d2170. |
||
|
|
bd1861cf3d |
Keep the samples a resolve after the pass reads on a framebuffer-fetch-by-input device
One work packet, landed as 5 commits (8ec20af606..60fe70fb12 on archive/development-linear-2026-10-28), in order: * Keep the samples a resolve after the pass reads on a framebuffer-fetch-by-input device A multisampled color attachment resolved by the crate-owned resolve after the pass (the sRGB twin, an extended-range format) under `MultisampleResolve` is meant to render through an image its texture keeps, so the texture keeps the samples it held before the pass, as Metal's does (`resolve::keep_samples`). The pass asked it whether a draw took a view of the attachment with the linear rule's `taken`, which on a device whose framebuffer fetch reads input attachments (`PassLayout::fetch_inputs`: rasterizationOrderColorAttachmentAccess, lavapipe's) counts every color of every pass. So on such a device no pass ever kept its samples: the attachment held the resolving pass's clear and draw (lavapipe: `80808080` where Metal keeps `bf4080ff`; BGRA10_XR `c09f...` where Metal keeps its earlier clear). keep_samples now takes `viewed`, the colors a draw actually read (input attachment, pixel interlock, sample planes, another format's view, the extended-range shadow), as `kept_bytes::settle` asks it of the attachment it renders apart. The subpass's input references name the framebuffer's attachments, which take the kept image's view, and a stand-in takes input attachment usage on such a device (`attachment_stand_in.rs`), so nothing a draw recorded refers to the attachment's own image. The linear rule keeps `taken`. RUNTIME_VERSION 1700 (to be renumbered at landing). Verified: runtime_lane::resolves::samples_a_twin_resolve_reads_are_kept_as_metal_keeps_them and ::samples_an_extended_range_resolve_reads_are_kept_as_metal_keeps_them failed on arm64 lavapipe at 742b94ac06 (diagnostic print: every pass's color counted taken, `fetch_inputs` true, including a pass with no draw) and pass with this change; both pass on MoltenVK (M3 Max), where `fetch_inputs` is false and nothing changes. * Wait on the GPU for the signal a checked head's shared-event wait is held for Since |
||
|
|
adef203530 |
Describe each driver deviation's route as the code takes it now
One work packet, landed as 10 commits (262093ec48..8e4bfa28b4 on archive/development-linear-2026-10-28), in order: * Describe each driver deviation's route as the code takes it now The DriverDeviation, VkProperty and driver-table docs still named the exact emulations the native-arithmetic change sets deleted (Metal's libm, division, denormal flushing, NaN selection, min/max picks, the emulated sampler, the color, storage and Depth16 write roundings, the depth stand-in). Each variant's doc now says what a profile that takes it gets and what one without it gets: the device's own answer with the precision note recorded, or, where a capability hangs on the answer, its emulation or refusal. - error/mod.rs: DriverDeviation's header and the float-function, NaN, sampler, color-write, FMA, denormal, quantize, min/max, half arithmetic, storage-write, texel-write and Depth16 variants. - device/requirements.rs: the matching VkProperty docs; MetalColorWrites says no module requires it (compile.rs never adds it), and MetalHalfQuantize drops the clamp claim the code does not make. - device/driver_facts.rs: the table preambles and measurement paragraphs (docs and citations only, no row or variant changed); the deleted resolve_rounding::color_resolves_against_metals_rules citation now names the_device_resolve_rounds_as_announced, which holds the row. - runtime_lane/heap_textures.rs: heap_depth_textures_keep_their_bytes, renamed from ..._with_their_twins (no twin exists), with the two driver_facts.rs citations updated. - lower/texture/mod.rs and pipeline/compile.rs: the storage_properties doc and comment list the four properties select_write relies on, dropping the 0x7fc00000 store. Verified by reading each route in lower/ (narrow, fma, denormal, nan, arith, sampler, stage_io/color_write, texture) and pipeline/compile.rs, and by git grep for every cited test and item. * Describe the pixel samplers, routines and color-write inputs as they run now Translator docs that still described the deleted emulated sampler, the cube face fold routine, the compiler-word-bound fit and the shader's own color-write rounding: - pipeline/artifact.rs: PixelSamplerScaling no longer names a linear sample's emulation or a MetalSampler condition; a runtime word's linear pixel sample snaps onto its footprint cell on every device (position::plan plans SnapKind::WordCell with no device test), a word of mixed filters is the device's. ArgumentPixelSamplerScaling says it is recorded on every device for any access but a 2D gather and a sample without a comparison, as select.rs pixel_note does. - lower/sampler/select.rs (pixel_note) and lower/sampler/mod.rs (RuntimeSlot::cells, ::texels): the cell snap holds on every device; the slot's word filter fields are read for a half texel's conversion alone, on a MetalSampler device (half_converts requires !device_texels). - device/profile.rs: FunctionsInlinedAtEveryCall lists the routines that exist (wide-integer divisions, precise fmod, texel conversions, filter sums, sampling routines; no face fold); takes_driver_deviation names the route a deviation's docs give for a driver without it. - error/mod.rs: RuntimeInput::ColorWrites says what the color-write map decides (the conversion that records a note, and NearestEven's half rounding), not a rounding of every output. - bind/color_resolve.rs and its tests: drop the citation of resolve_rounding's cost test, which is deleted. - device/mechanism.rs: drop the trailing comment on the deleted ExactFormsOverCompilerLimit fact. Verified by reading position::plan, select.rs pixel_note and the half_converts branch, spirv/builder/module.rs's routine kinds and every mb.routine site, pipeline/color_writes.rs, and git grep for each cited item. * Describe texel conversion, YCbCr filtering and depth comparison as the device's Translator docs still named the deleted linear-filter emulation, the shader's own depth comparison and the depth twin: - lower/texture/half.rs: off MetalSampler devices the device's sampler filters and the half is its float texel rounded to nearest even (device_texels), not this routine's; the only fetch-computed filter that skips the routine is the in-place YCbCr one. - lower/texture/mod.rs (half_texels): drop the example of a runtime sampler's sRGB raw-code emulation for the `arm` clauses. - metal/format/mod.rs: a two-plane YCbCr texture's linear sample is the device's filter, noted, but where its planes are read in place. - pipeline/artifact.rs (RestrictedDepthRange) and lower/texture/slot.rs (depth_comparison): every comparison is the device's; no shader-made comparison is left to exclude. - lower/sampler/select.rs: a depth comparison reads the texture's own depth image (no twin). - lower/sampler/mod.rs (Sampling::words): list the terms plain_words sums; no linear emulation, level grid or shader comparison term exists. Verified by reading device_texels, half_texels and both its callers, linear.rs filter_note and metal_filtered_ycbcr, depth_comparison's one caller, in_place.rs, and plain_words. * Describe the runtime's YCbCr filter notice and variant kinds as they fire now - degradation.rs: YCbCrFilterNotExact fires on a device that samples through Metal's own sampler alone (linear.rs metal_filtered_ycbcr is None elsewhere), where the stage records HalfSampleFilter or FloatSampleFilter for any two-plane YCbCr format bound; a native sampler announces device-sampling. The module doc drops the exact forms dropped to fit a compiler word bound, whose kind and fit are deleted. - ycbcr.rs: linear filtering of the converted texels is the device sampler's (Metal's own on MoltenVK, announced ycbcr-filter-not-exact); only planes read in place are Metal's filter exactly. Verified by reading lower/sampler/linear.rs, in_place.rs and the runtime's Kinds::of and degrade_bound_formats. * Describe the lanes' and cases' native forms where they named deleted emulations Docs and comments only; no expectation changed. - validation runtime_lane/driver_deviations.rs: the half quantize, min/max, half arithmetic and half widening bullets say what the module does off the deviation (the device's own conversion or quantize, the same NMin/NMax/NClamp noted native-min-max, narrow::from_bits' decode), not the deleted integer rounding, operand picks and exact_answers decode. - validation observation_contract/comparison.rs: HalfSampleFilter and FloatSampleFilter are a YCbCr texture through Metal's own sampler. - validation runtime_lane/pixel_samplers.rs, conformance cases/pixel_samplers.rs: the pixel coordinates reach Metal's texels through the translator's snaps, filtered by the device's sampler. - conformance cases/snorm_tile_store.rs: no exact tile store and no FAST-PATHS row; only extended-range, padded and bfloat attachments take a load pass. Verified by reading the lanes' assertions, select.rs pixel_note, position::plan and narrow.rs. * State the native forms in the doc pages where they promised exact switches - README.md: the promise that every speed-for-accuracy choice has an opt-in exact switch was false for the device's maths, rounding, conversions and sampler, which have none; it now says those are the device's, recorded, and the runtime's choices keep their switches. - docs/API.md: exact_answers selects the runtime's five switches (as policy.rs's exact_answers sets them), not exact forms of the native arithmetic; an unmeasured driver takes each deviation's documented route, not a conservative one; half widening's NaN and denormal are the device's under its own conversion or the float controls; Depth32Float texels are the depth image's, announced where it clamps or flushes; the catalogue intro names the native forms. - docs/ARCHITECTURE.md: the native forms are the device's on every device with no policy choice; the policy's accuracy switches are the runtime's. - docs/FAST-PATHS.md (after the opening section): a YCbCr texture's image form holds Metal's texels exactly and its linear sample is the device's filter; only the in-place form is Metal's filter. Verified against device/policy.rs, lower/arith/narrow.rs, the depth twin's deletion (c11e653acd) and lower/sampler/linear.rs. * Drop the exact golden table from VALIDATION.md's emitter-stability contract 4bf2c22aad deleted golden_hashes_exact.tsv and its table in golden_hashes.rs; VALIDATION.md still described a second table of every sampling fixture under exact_answers. The contract now names the one table. Verified: crates/metal2vulkan/tests/ holds golden_hashes.tsv alone, and golden_hashes.rs names no exact table. * Re-pin the runtime sources after the doc audit The audit's commits edit doc comments and comments only in files the runtime guard hashes (degradation.rs, ycbcr.rs, and translator files the build lists); no run's behaviour changes, so RUNTIME_VERSION stays. Verified: the_runtime_sources_are_the_committed_ones failed with 81ebd500 committed against 8bc0e06b computed, and passes after this pin. * Drop the 0x7fc00000 hand-off from half_write_nans_converted's doc a6e97e7f93 deleted the NaN canonicalization before storage writes (StorageImageClass::SmallFloatQuietNan among it): a half write to a packed small float hands the device the half widened, as to a 16-bit float channel. The doc still said such a write hands it 0x7fc00000, and tied MetalHalfTexelWrites to both kinds, where it states the 16-bit float store alone (lower/texture/mod.rs half_write_nans). Verified by reading half_write_nans and the write emission (lower/texture/emit.rs), which canonicalizes no small-float NaN. * Re-pin the runtime sources after the half-write NaN doc fix metal/format/mod.rs is a runtime guard input; the preceding commit edits a doc comment there alone, so no run's behaviour changes and RUNTIME_VERSION stays. Verified: the_runtime_sources_are_the_committed_ones failed with 8bc0e06b committed against 279b25d4 computed, and passes after this pin. |
||
|
|
78ed264c90 |
Drop the normalized vertex attribute's exact division (vertex_normalized)
One work packet, landed as 9 commits (9c0bdbe0d2..41066d87d0 on archive/development-linear-2026-10-28), in order: * Drop the normalized vertex attribute's exact division (vertex_normalized) The owner's ruling of 2026-10-27: the GPU's native arithmetic is the contract, no exact emulation. A normalized vertex attribute is now always the device's fixed-function UNORM or SNORM conversion; the policy-forced pull that divided its codes in the shader goes with DevicePolicy::vertex_normalized, VertexNormalizedPolicy, its profile field, its ledger row and its tests. A format pulled for any other reason (a format the device cannot fetch, alignment, limits, containment, the capture form) still decodes in the shader as before. Verified: cargo clippy --workspace --all-targets --all-features -D warnings clean; nextest of engine_vertex_variants, device::tests::profile, fast_paths, catalogue, degradation and api_surface: 71 passed. api_signatures is re-blessed at the end of the lane. * Keep the compact decoded twin only (decoded_texels) The owner's ruling of 2026-10-27: no exact emulation. A carried ASTC LDR texture's decoded twin now always holds 8-bit codes, and an EAC 11-bit texture's 16-bit normalized codes (its values in floats only where the device does not take those codes' format, a capability fallback). DevicePolicy::decoded_texels and DecodedTexelsPolicy go, with their ledger row, their mentions in the degrade catalogue and the runtime's docs, the policy-keyed fingerprint test, and the validation lanes' exact twins. decoded-texel-precision is announced as before. bind::AstcTexels::Float stays: the conformance suite's cross-check decodes Metal's values with it. RUNTIME_VERSION 1654. Verified: clippy --workspace --all-targets --all-features -D warnings clean, plain and with --cfg m2v_gpu; nextest of fast_paths, device profile, degradation and catalogue, image_plan's decode bands, the conformance ASTC and ETC cases, api_surface: 112 passed. * Take the device's texel conversion only (texel_conversion) The owner's ruling of 2026-10-27: no exact emulation. A read, sample or gather with a float or half result off Apple's GPUs is now always the device's conversion of the texel's codes, recorded as DeviceTexelConversion or HalfTexelConversion. DevicePolicy::texel_conversion and TexelConversionPolicy go, with Metal's conversion by the bound format's class: lower::texture::float_texel (its routine, census entry and tests), the float_texel plan flags of reads and samples, the slots' float_format and the heap's float class, and the field of RuntimeFact::ExactFormsOverCompilerLimit that named it (encoded, so ARTIFACT_FORMAT_VERSION 456; SEMANTICS_VERSION 1873). The ledger row goes; DeviceTexelConversion is now documented in docs/API.md section 9 alone (fast_paths classes it Elsewhere), and the conformance cases cite the note's bound in place of the row. The half routine on Apple's GPUs is untouched. Verified: clippy --workspace --all-targets --all-features -D warnings clean, plain and with --cfg m2v_gpu; nextest of fast_paths, device profile, catalogue, degradation, the fit, mechanism, codec, the snapshot variant, engine_handles, the extended-range heap tests, the texel-conversion test (rewritten for the device's form alone), the conformance ETC, BC and border cases and the runtime's fitted-variant notice: passed (one exact-conversion test deleted). * Take the device's filter of a two-plane YCbCr texture only (ycbcr_filter) The owner's ruling: promise the GPU's native arithmetic, no exact emulation. YCbCrFilterPolicy and its Exact form go: no slot takes a YCbCr variant (RuntimeFact::YCbCrTexture, VariantKey and LoweringInputs::ycbcr_textures, ProfileFields::ycbcr_variant, Linear::exact_only and the binder's ycbcr_variant are gone). A natively sampling device filters such a texture's texels (device-sampling); on MoltenVK Metal's own sampler filters them, noted where the bound format is two-plane YCbCr (ycbcr-filter-not-exact). The planes read in place on a device whose memory is the host's are kept: that is a capability path, Metal's filter exactly. The FAST-PATHS row goes; HalfTexelConversion, which only that row named, is classed Elsewhere (API.md's catalogue states it). The YCbCr tests keep the default's selection and drop the variant's; the uniform-branch test runs at the default policy; the validation lane's Exact draw test goes. Verified: cargo clippy --workspace --all-targets --all-features -D warnings, plain and with --cfg m2v_gpu, clean. nextest over fast_paths, device::tests, bind::plan, compile::fit, compile::tests, engine_linear_half, catalogue, degradation, api_surface, codec, cache: 372 passed, 5 failed. The five are engine_linear_half tests of the emulated sampler on lavapipe and MoltenVK under EXACT_SAMPLING (the_emulation_reaches_what_metal_measured, the_linear_sums_run_one_by_a_branch_and_stay_calls, swizzled_packed_texels_are_the_unswizzled_swizzled, a_pipelines_texture_notes_follow_its_bound_format_and_sampler, a_depth_comparison_through_a_filter_is_a_filtered_float_sample); they go with the emulated sampler in the next step. api_signatures is re-blessed at the end of the lane. * Take the device's sampler only (sampling, unorm8_linear_filter) The owner's ruling of 2026-10-27: promise the GPU's native arithmetic, no exact emulation. Metal's sampler emulated by fetches (SamplingPolicy::Exact, a pipeline per bound sampler state) and the device's 8-bit unorm filter at Metal's footprint step (Unorm8LinearFilterPolicy) are gone with their switches: every sample, gather and comparison goes to the device's sampler, Metal's own on MoltenVK (VkProperty::MetalSampler) and the device's elsewhere (VkProperty::DeviceSampling, PrecisionNote::DeviceSampling). Deleted: lower/sampler/compared.rs, native.rs, linear/compare.rs, linear/cube.rs, the nearest and level snaps, the cube face position and fold (face::snapped, FaceWrap), the span and cube bicubic routines, the heap depth class (FLAG_DEPTH_*, HANDLE_DEPTH_*, Lookup::Flagged's depth), the normalized gather snap and the runtime sampler's anisotropic bias route. Notes nothing records any more are deleted with their catalogue and codec entries and the runtime's Degradation kinds: DeviceGatherFootprint, CubeFaceReciprocal, DeviceDepthComparison, DeviceTexelDenormals, DeviceUnorm8LinearFilter. The fit drops the sampling field of ExactFormsOverCompilerLimit and makes every module-growing form native in one reduction. Kept as capability: bicubic, extended range, heap raw reads, YCbCr planes read in place (its tests move to engine_ycbcr_in_place), constexpr pixel samplers' snaps and fetches, the runtime pixel word's gather and footprint cell, Metal's cube face at a tie, the anisotropic emulation without samplerAnisotropy and for an unmeasured cube-gradient route, the VkSampler level clamp on Metal's grid. Validation and conformance follow: the lanes judge the device's filter within two codes where it samples natively, the anisotropic lane runs with samplerAnisotropy withheld, and the conformance cases drop their device-texel-denormals declarations. docs/API.md, FAST-PATHS.md, ARCHITECTURE.md, CONTRIBUTING.md and VALIDATION.md updated. Verified so far: cargo check of the workspace, all targets and features, plain and --cfg m2v_gpu; 1000 of 3664 translator lib tests passed before the run was stopped for the rebase. * Join the device-sampler deletions with development's half and write removals The rebase onto development left two joins only a build shows: - `packed_scales` and `PackedField::small` lost their last readers (the float texel conversion this branch deleted and the normalized write development deleted): both go. - `engine_srgb_raw` takes `DevicePolicy::default()` where development's side named `EXACT_SAMPLING`, so it imports `DevicePolicy` again. Also formats the conflict resolutions (`cargo fmt --all`). Verified: `cargo check --workspace --all-targets --all-features` passes. * Drop the sampler word's snap and level-rule fields with their last readers With every sample the device's own, no function reads a runtime sampler's nearest snap (`SamplerWord::NEAREST_BASE`, `NEAREST_SNAP`, `NEAREST_LEVEL`, `LEVELED_SNAP`) or its level rule (`LEVEL_RULE`); only tests named them. The constants go, with the word test of the base-level mask; the `VkSampler` clamp on Metal's level grid (`clamps_on_grid`) stays, and its docs no longer say the shader reads the rule. The runtime-sampler tests of `engine_sampler` asked, off MoltenVK, for the emulation's linear state, leveled snap and level rule: they now state the device's sample on every committed profile (the pixel fields alone, gated; `MetalSampler` on MoltenVK, `DeviceSampling` elsewhere; no level field). Also matches `SnapKind::WordGather` as the unit variant it is (clippy). Verified: clippy (all targets, all features, -D warnings) passes. * Test the anisotropic, bias and position paths as the device's sampler runs them The tests of these paths compiled under the exact sampling policy, which is gone; under the default each now states what the translation does: - Metal's anisotropic filter is emulated only without `samplerAnisotropy` (and on MoltenVK's unmeasured cube-gradient route), so the emulation's shape tests compile on committed profiles with the feature withheld, and their MoltenVK arms on the profile as described. An isotropic cube keeps the device's gradient sample except on the unmeasured route. - A bias through a sampler without its own is the `Bias` operand on every profile (one test over MoltenVK, RADV, lavapipe and the floor); the compile-time and anisotropic axis-gradient tests take a constexpr sampler with its own bias, the only one that reaches them. The runtime slot's word-chosen axis gradients have no reader left: its test goes, with the helpers only it used. - The position kernel writes three words a lane: its record stride is 12 bytes, not 16, and the by-word gather test's lane floor matches its single pass. Verified: `cargo check -p metal2vulkan --tests --all-features` clean; the tests run after the rebase onto development. * Rewrite the sampling tests and notes for the device's sampler The sampling, texel-conversion and YCbCr-filter emulations are gone, so the tests that pinned them now pin the device's answer, and the note docs that described them describe what the module records today. Tests: the sampler-unk, anisotropic cube, depth-range, bicubic, dynamic-offset, heap half-texel, shared-switch, sRGB raw view, swizzled packed and texture-interpreter families. Deleted the tests of the emulated linear filter over raw sRGB codes (constexpr and runtime), the runtime sampler's one-texel raw sample and its switch, the shader's linear depth comparison, the bicubic small-level comparison against the linear emulation and the depth read's class conversion; the shared switch keeps the bicubic emulation alone. A NaN texel's half read only needs to read a NaN under the default policy. Docs: HalfSampleFilter, FloatSampleFilter, SrgbTexelDecode, AnisotropicFilter, DeviceAnisotropicFilter, ViewBaseTexelOffset and HalfTexelConversion in artifact.rs, RuntimeFact::TexelFormat, the heap class flag, texel_format_spec and a few comments that still named the emulated linear filter, snapped gathers or the shader's comparisons. Verified: plain clippy over the workspace with all targets and features; the touched families under nextest (see the next commits for the full runs). |
||
|
|
a14ea5dba8 |
Make the --cfg m2v_gpu device lane one repeatable command
The steps this packet landed as, in order: - Name a device-lane shard by the whole area it starts in - Read a nextest listing by what its filterset takes, not by what it holds - Say in --help what a slice marks in the report - Keep the lane runner's lines and its verdict readable - Say what the device lane's ignored tests actually are - Align the shard table's header with its rows - Hold each shard to the tests it had to run, not to nextest's skipped figure - Say why no shard run builds under the wrap - Compile each device-lane shard before it takes the GPU lock - Say why both halves of a shard keep the workspace scope - Say what a shard's wrapped seconds are, and what they are not Content: the tree of `development` at 48daef6735, unchanged. |
||
|
|
14fb1be63e |
State what every lane claim of the layer's silence holds, at all 355 of them
Content: the tree of `development` at cdc23c17c1, unchanged. |
||
|
|
cb38695646 |
Decide the release's wait from the parking's count, not a command buffer's status
The steps this packet landed as, in order: - Commit the command buffer behind the refused one while the lowering is held - Say plainly which answer the freed-memory test reads - Record what the compute creation prediction cannot know - State what a lane's layer-dependent claims hold, from what the instance enabled Content: the tree of `development` at 84b37f339b, unchanged. |
||
|
|
646ce435f9 |
Record what a refused attempt cost, as a run's row records it
The steps this packet landed as, in order: - Name run_on_device in words where a doc link would reach a private item Content: the tree of `development` at b23991eba0, unchanged. |
||
|
|
5f5db7c870 |
Record what every validation case cost on Metal and on Vulkan
The steps this packet landed as, in order: - Guard the recorded timings against reaching a verdict or a digest Content: the tree of `development` at f800b768e9, unchanged. |
||
|
|
0175289314 |
Batch the development-fast round: tessellation without tessellationShader, primitive ids, mesh tooling, color groups, the vk12 floor, runtime timing and teardown fixes
One commit of the 247 on development-fast (720ef1ce9a..9f46fdf80d), squashed at the user's request. Translator: - Tessellation on a device without tessellationShader: Metal's tessellator emitted as SPIR-V, a one-workgroup scan placing each patch's triangles in Metal's order, and the post-tessellation function as a plain vertex stage (EmulatedTessellationDraws; SEMANTICS 1739, ARTIFACT_FORMAT 419). - [[primitive_id]] on a device without geometry or tessellation shaders, as a flat varying the vertex function writes; indexed lists, lines and points drawn de-indexed (RuntimeGap::PrimitiveIdIndices). - Fragment functions of more colors than the device draws at once, compiled in color groups (PrecisionNote::ColorAttachmentGroups). - Object functions' threadgroup memory from the render encoder; a kernel's mesh draws from an indirect command buffer; mesh payload sizing. - The Vulkan 1.2 floor profile (vk12-floor) and the gates it needs; Metal 27.0.1 answers as the M3 Max. - Overflow tests in the runtime-built modules by the product's high word (NVIDIA's compiler fails the division form), guarded crate-wide by tests::owned_divisions. Runtime: - Color-group passes replayed per group over twin depth/stencil; snapshot and copy-back cost cuts. - Command buffers finish on the queue waiter that saw them; the waiter holds no device handle, so a program's drop after its wait is the device's last. - Every object an encoder was handed held until its command buffer completes; deallocator order and announcements. - Driver defects recorded and announced: ANV counts a visibility sample once per color output (visibility-count-per-color); MoltenVK fails pending work when memory that held a device-address buffer is freed, so freed memory waits for the work in flight (host-deallocator-delayed). - RenderCommandEncoder::set_object_threadgroup_memory_length; Visibility::counting(). Validation: mesh tooling (object, mesh and ICB-mesh cases on both executors), the authoring census closed, the queue storm judged in Metal's unit, load-robust exits and indirect-census bounds, and the golden hashes, printouts, fixture inventory and authored compile census blessed. Docs: FAST-PATHS.md trimmed to a ledger of what is true now; API.md's catalogue and accepted differences, REFUSALS.md and METAL-COVERAGE.md current. Verified on development-fast before the squash: the full suites on the RTX 5080, RTX 3090, RX 7900 XTX, Radeon 780M, Iris Xe, lavapipe and the M3 (MoltenVK and the Metal oracle), lint in every configuration, rustdoc, doc tests, packaging and public case qualification; the timing and teardown lanes x5 on every venue; the authoring-capability census 16656/16656 with 0 unresolved, the vk12-floor translation census at 6139 translated with the slowest row 794 ms and peak 126 MiB. The tree is development-fast's at 9f46fdf80d. |
||
|
|
61a2efc7d3 |
Fix the GPU test failures seen on the 3090, 5080, XTX, 780M and M3
What and why, per failure (all release, --cfg m2v_gpu): AMD RADV, Ubuntu Mesa 26.0.8 (RX 7900 XTX, Radeon 780M): - generated_executions faulted the GPU (amdgpu gfxhub page fault, ring reset): RADV before 26.2 skips re-emitting a compute pipeline it thinks is bound, so the second execution's implicit preprocess ran our kernel. New RuntimeDriverDefect::ImplicitPreprocessAfterExecutionSet (RADV at every identity but the measured clean 780M at 26.2.4): the runtime preprocesses every execution of a range explicitly, then a barrier, then runs them preprocessed. RUNTIME_VERSION 1183. - The validation executor's generated-commands replay had the same fault; it now preprocesses apart on the same defect (runtime's generated_commands::preprocess_apart, now public). - float_denormals under fast math: the test checked a / b, smoothstep and (a / b) * c bit for bit, but without VK_KHR_shader_fma (26.0.8) the fast reciprocal is the device's OpFDiv(1, y), within 2.5 ulp. Those words are now checked at Metal's edges there, in full elsewhere. NVIDIA 615.71.09 (RTX 3090, RTX 5080 Laptop): - render_commands_and_render_states_run_as_the_executor_compiles_them: the executor used Vulkan device addresses as Metal addresses, and NVIDIA's lie below 2^32, where a record's address names no buffer. An addressed allocation's guest address is now its device address read signed (RADV's are sign-extended) plus 2^47 + 2^32, one translation for every allocation. - the_runtime_probe_measures_the_test_device_consistently: two driver answers Vulkan does not allow (3090: a buffer read after a linear-image copy over the same memory in one submission reads stale bytes; both: an explicit linear pitch the driver does not lay out is moved, not refused) are listed with their evidence in the test; the runtime records neither. - exits (5 tests): vkDestroyDevice takes ~55 ms alone and up to 2 s beside other processes' GPU work on the 3090, so the exit-timing tests run alone (.config/nextest.toml); the 1.5 s limit is unchanged. - pipeline_records (5080): the test assumed the driver finds a pipeline only in byte-identical records, but NVIDIA's bytes vary per compile and the two formats share entry keys. It now copies a compute pipeline's record over the render state's records, which no driver can hit. - compile_worker (5080, under load): a worker faster than the 1 ms sampler left no peak RSS. Each worker now reports its own peak (VmHWM on Linux, ru_maxrss on macOS) and the parent takes the larger. - tests::completion (both, under load): slow rounds were the GPU starting late behind another process's ~200 ms busy kernel, or NVIDIA's vkQueueSubmit returning up to 64 ms late; the completion was seen within 1 ms of the moment it could be. A command buffer is now judged from the later of its GPU end and its submission's return where the device calibrates timestamps (from the commit elsewhere, as before). - first_use::new_resources_wait_for_no_gpu_work (both, under load): the busy kernel's rate came from one wall-clock run, which collapsed under load (3 of 28 calibrations), so the busy work lasted milliseconds. The rate is now the fastest of every run at every size by GPU time, for all four lanes that share it (gpu_times::read_kinds predicts the notice a GPU time read emits, for the neutrals test). Apple M3 Max, MoltenVK 1.4.1: - heap_textures allows the shadowed-texture route for depth on drivers that lay heap depth textures apart. - The argument-buffer intersection-table test states Metal's own metadata. - The indirect lane classifies the deferred pipeline-making failure as compile-failed alike and keeps only the failed pipeline's error; Apple's 33-bit closed-form compiler crash is a known gap in docs/FAST-PATHS.md. Docs: CONTRIBUTING.md and docs/VALIDATION.md say the golden tables and the compile census are re-blessed on development. ENGINE_EXECUTOR_ABI is vulkan-engine-v181 (the RADV replay and the Metal addresses change what the executor submits): every recorded candidate row and the authored compile census go stale and need re-recording (scripts/rerecord-venue per venue, rerecord-commit, corpus-status --c3, corpus-triage --audit authored-compile --bless). Still open: M3 frees_in_flight, XTX bfloat clears, 780M half NaN blur and the 5080's one 2 s rebind_bytes_no_copy did not reproduce; the wall-clock busy calibrations of framebuffer_fetch/storage_forms.rs and queue_storms remain. Verified: - um780 full suites at the AMD fixes (before the executor and NVIDIA commits): XTX 3535/3535, 780M 3535/3535, no amdgpu kernel lines. - Each fix's focused tests before and after on its GPUs (in the agents' commits: e.g. generated/indirect 178/178 on XTX and 780M at 26.0.8 and 26.2.4; candidate 229/229 on 3090, 780M and Iris Xe; the worker peak 0 of 1440 under 24-way load on the 5080). - The combined tip: fmt, clippy (with and without --cfg m2v_gpu) and rustdoc on ms01; clippy of the validation crate on macOS; a focused run on the 3090 was stopped at 333 of 334 passed, none failed. No full suite ran on the combined tip. - The completion and first_use fixes: 3090 load set 1 of 4 runs failed before, 4 of 4 passed after (completion) and 12 runs with no first_use failure (84 calibrations, 10.19M-11.24M loads); 5080 6 of 6 and 12 of 12. fmt and clippy (no cfg, m2v_gpu, m2v_cpu_icd) on ms01. |
||
|
|
13b279df1b |
Squash 11203 commits of translator, runtime, and validation work
Rolls up everything since
|
||
|
|
43c46ac8a2 |
Squash 680 commits of translator, validation, and corpus work
Rolls up everything since
|
||
|
|
7154e84d2c |
Lower the per-translation wall-clock ceiling from 30s to 20s
The hard end-to-end ceiling per translation attempt is now 20 seconds, in the corpus-triage worker guard that enforces it and in the AGENTS.md and docs/VALIDATION.md statements of the contract. The 500-MiB memory budget is unchanged. Verified: corpus-triage unit tests (15) pass; fmt clean. |
||
|
|
08970cacd2 |
Consolidate translation, linkage, and validation work
Squash 147 commits (2026-08-20 through 2026-08-31) into one change on top of the exact-kernel-grid work. Covers native lowering and pointer/layout construction, AIR intrinsic and funnel-shift coverage, BDA address preservation across aggregate calls, CFG structurization, function-constant and visible-function specialization, the 30-second translation ceiling, the authored-case corpus and linkage validation suite, and refreshed byte-exact MoltenVK evidence. The kernel-grid lowering in this tree supersedes the 324-line variant in the parent commit; that file is reduced to its current 139-line form here. Resulting tree is identical to 7174c7b. Prior history remains reachable at tag pre-squash-backup and branch backup/pre-squash-7174c7b. Claude-Session: https://claude.ai/code/session_01D1u4vU7Mr5QNWrnnRHC8iS |
||
|
|
8b78eaca3b |
Expand macOS 26 AIR translation coverage
Overhaul the validation workflow around sharded authored cases, dependency-exact observations, incremental indexed corpus audits, bounded parallel translation, and native Metal/Vulkan comparison.\n\nExpand native AIR lowering, reflection, linked-function specialization, resource and stage-interface support, and structural CFG/pointer repair across the harvested macOS 26 corpus. Add exact intrinsic inventory, distributed 16x16x16 matrix lowering, explicit opaque tensor linkage, and regression coverage for the newly supported feature classes.\n\nThe final corpus verification accounts for all 88,819 indexed AIR modules under the current product fingerprint: 65,355 translate and validate directly, 23,464 require exact authored linkage, and zero fail or remain unresolved. |
||
|
|
1b013834bc |
Improve translation correctness and oracle safety
Add structural lowering fixes for function constants, byte aggregates, texture arrays, sampling, and SIMD operations. Harden corpus oracle planning and quarantine unsafe or non-comparable rows without GPU resubmission. Reject reused SPIR-V merge ownership and fast-fallback oversized systematic CFG failures so broken AIR returns promptly instead of emitting invalid bytes after lengthy retries. |
||
|
|
3fbe8e516b |
Harden AIR translation and consumer validation
Expand structural image, buffer, control-flow, and passthrough lowering, including driver-safe relooper limits and regression coverage.\n\nExpose buffer extent, type, and refined access in reflection v4 for downstream consumers.\n\nHarden corpus oracle planning and loop safety, quarantine non-semantic rows, and refresh the affected translation and execution ledgers.\n\nVerified with cargo fmt --all, workspace clippy with warnings denied, and serial product and validation test suites. |
||
|
|
53b627809c | Expand AIR translation and validation coverage | ||
|
|
6a14365536 |
Rework validation corpus workflow around ledgers
Replace the old drift/harvest scripts and generated corpus-test path with
Rust validation binaries that use JSONL ledgers as the durable corpus and
execution record.
- Move translate banking from validation/corpus/drift-ledger.jsonl to
validation/corpus/metal2vulkan-ledger.jsonl, and seed tracked Metal and
MoltenVK execution ledgers with hash-identified rows and output_b64
payloads.
- Add corpus-harvest, corpus-mint, corpus-remint, corpus-why, corpus-triage,
and corpus-run-{metal,vulkan,moltenvk} binaries for shard harvesting,
additive/remint translate banking, single-case fallback inspection,
status triage, and backend execution.
- Rework corpus runners to infer execution plans from shard-backed AIR at run
time, merge per-run deltas into sorted ledgers, support focused reruns, and
keep Metal oracle coverage available for translate FALLBACK rows while SPIR-V
backends remain gated on translate status=ok.
- Bound control-parameter seeding and add loop-budget instrumentation,
quarantine handling, subprocess timeouts, Ctrl-C worker cleanup, slow-case
logging, panic backtraces, and MoltenVK/Homebrew Vulkan discovery for safer
offline execution.
- Consolidate validation helpers for AIR stage/entry parsing, corpus source and
shard resolution, hashing, JSONL I/O, texture shape policy, translate-ledger
rows, runner status rows, and triage summaries.
- Remove obsolete Python drift/harvest scripts, generated corpus stubs,
broken/tolerances sidecars, TOOLCHAIN.lock, and unused validation harness
modules from the repo surface.
- Update validation, corpus, A/B, architecture, contributing, and agent docs,
plus gitignore rules, to describe the shard-backed ledger workflow and its
expected generated artifacts.
|
||
|
|
3007485352 | 🆕 Open Source metal2vulkan |