Sections 5–7 built one side of the picture: a graph and the facts it proves. This section adds the other side — the hardware, written down as facts of the same kind — and the compile phase that brings the two together. The design is ADR-0050 (“the machine model”); the idea in one sentence: compilation places the dataflow on an abstract machine by one evaluator and one search, and only then writes the target’s language. Which work runs on the host or the device, which instruction computes it, how it is tiled and walked, where each operand lives and how it gets there — all of that is placement, and placement is a phase of compilation like typing or lowering, not a set of choices hidden inside kernels or tables.
Status, honestly. ADR-0050 was accepted on 2026-11-26. Step 1 — GEMM-shaped (sum-of-products) tile sites on the GPU — is in progress: its first commit (C1, 30f1a32f) added the target-agnostic crate crates/mapal-place — machine facts with provenance, the schedule, the evaluator, reuse by distinct bytes and an exact LRU simulator — but it depends on no other workspace crate, nothing depends on it, and no placement decision reads it yet. When it lands, it sits behind the switch machine-place, off by default until a measured confirmation turns it on. Until then, and as its OFF arm afterwards, placement is decided by today’s rung rules: per-decision rules that already read physical properties rather than chip names (crates/backends/llvm/src/rules.rs, §9.3). Everything below marked “today” describes the shipped code; everything marked “ADR-0050” describes the design being built.
flowchart TD
subgraph DF["Dataflow side — what the program needs (mapal-ir, §6)"]
G["sealed, rewritten graph"] --> DFACTS["dataflow facts
tile_plan · tensor_form · access_plan · residence_plan
last_use_plan · path_plan · unit/stream_plan
precision_plan: the error bound each site admits"]
end
subgraph MS["Machine side — what the hardware offers"]
HWQ["device query · calibration probes (calib.cu)
· a design's declared parameters (ASIC)"] --> TRX["Machine::of(target)
the only target-specific code placement reads"]
TRX --> MFACTS["machine facts, each with its provenance
places (a graph of instances) · executors + operations
movers · dispatch"]
end
DFACTS --> GEN["candidate schedules
generated bottom-up from both layers"]
MFACTS --> GEN
GEN --> FEAS["feasibility filter
capacity ∧ numerics (the bound)
∧ the lowering admits it"]
FEAS --> EVAL["one evaluator
predicted time per phase = max over resources of work ÷ rate
compute · movement · latency · issue · combine · fixed"]
EVAL --> SEARCH["one search
branch and bound · intervals evaluated at their ends · error band"]
SEARCH --> SCHED["schedule
operation + operand roles · levels · homes, layout, depth
traversal: ordered / split / walk / hybrid · launch mode"]
SCHED --> LOWER["lowering into the target's language
LLVM IR · NVPTX to PTX · later AMD, Verilog"]
LOWER --> GATE["post-lowering gate
real registers and spills"]
GATE -->|"infeasible: take the next candidate"| SEARCH
GATE --> TS["target-specific step
kept minimal, each item listed"]
TS --> EXE["executable
+ the schedule and its predicted terms in the module (mapal.place)"]
EXE -.->|"measured against predicted"| CHK["evidence pass: outside the error band = a finding
a missing machine fact or evaluator term, fixed in the model"]
CHK -.-> MFACTS
8.1 Two fact layers
Dataflow facts — what the program needs
Deduced from the sealed graph by mapal-ir (§6): which cells are independent, what each cell reads and with what geometry (tile_plan, tensor_form), how many bytes cross each edge and conflict per loop trip (access_plan), when each value dies (last_use_plan), which work can run as one unit (unit_plan, stream_plan), how partial results combine (fold_combine), and how much error each product may carry (precision_plan).
Machine-free: the same facts for every target. Checked by property tests over generated programs.
Machine facts — what the hardware offers
The target described as abstract compute and placement facts: places where bytes can live, executors and the operations they run, movers that carry bytes, and how work is dispatched (§8.2). Nothing in them is a chip name or an instruction-set version; a new part is a new set of facts. Under ADR-0050 each fact says where it came from: measured, queried, declared (by a spec, RTL parameters, a simulation), derived or nominal, with an interval (mapal-place’s Src).
Today these live in TargetProfile (crates/backends/llvm/src/profile.rs): the device query plus the calibration line of benches/gpu/calib.cu for native-gpu, with no provenance per value — an uncalibrated part borrows the RTX 5080’s measurements, and some fallbacks are tables keyed by compute capability (§9.1). ADR-0050 translates them by Machine::of(target), marking each borrowed value as derived.
Placement is the phase whose job is to read both. That is the separation the project has been heading toward since its first optimization rule: “Optimizations derive from Mapal dataflow facts … + TargetProfile hardware facts” (CLAUDE.md, standing rules) and “hardware is physical properties, never a name or version” (2026-11-20). ADR-0050 takes the last step: the decision itself becomes one model over both layers instead of many rules.
8.2 The machine facts
Four kinds of fact describe any target, CPU, GPU, accelerator or a design still being synthesized. Each target sets the depth of its own trees; nothing below assumes a GPU (ADR-0050 D2).
Places — where bytes can live
A graph of instances (a tree is the common case): registers, shared memory, tensor memory, an ASIC’s SRAM banks, each L2 partition, a NUMA node, the host’s memory. A place has a capacity; a scope — the executors that reach it, by reach edges carrying bandwidth, latency and transaction size; a banking rule; and a management: explicit (the program addresses it) or cache. A cache also lists its instances, which executor or address maps to which, whether a line read through two instances is held twice, and its measured hit-against-distance curve — how many distinct bytes it really keeps for a cyclic, rotated or strided pattern, never the nominal size. Splits the schedule chooses (shared memory against L1) are places too.
Executors — what computes
A tree of the target’s depth (device → units → sub-partitions → groups → lanes). Operations are rows of geometry owned by some executor level: the shape (m, the set of n, k, batch), the operand and accumulator formats, each operand’s home place, its allowed layouts and which lane holds which element, latency and how many may be in flight, the measured rate and efficiency curve, and the accumulator’s numerics (ADR-0043). A scalar FMA is the 1 × 1 × 1 row; tensor-core instructions, a CPU vector FMA, an SME outer product and a systolic array are rows of the same table (below).
Movers — how bytes move
Program-issued copies (lane loads, cp.async, bulk-copy engines such as TMA with their box shapes, swizzles and multicast), hardware-issued ones (prefetch streams: what starts them, how far they reach), and links between machines — host ↔ device, with the rate by source (pinned or pageable) and the copy engines. Per-access cache policies (evict-first, persisting windows) are mover options.
Dispatch — how work reaches executors
A unit’s resources as capacities — so occupancy is derived from a schedule’s footprint, never a constant; which grid index lands on which unit; how a grid’s blocks start (all at once or staggered, measured); launch modes (plain, dependent overlap, cooperative, cluster) and their costs; barriers; atomics as a resource at the place that resolves them; the zero pass; the clock the part sustains under load.
| Operation row (examples) | Issued by | Shape m × n × k | Operands from → accumulator in | In Mapal today |
| Scalar FMA | one lane | 1 × 1 × 1 | registers → registers | CPU and GPU |
| CPU vector FMA | one core’s vector unit | 1 × w × 1 (w lanes) | vector registers → vector registers | via LLVM’s vectorizer |
Arm SME fmopa | one core | an outer product per instruction (16 × 16 f32 at a 512-bit vector length) | vector registers → the ZA array | apple-m4-sme profile |
mma.sync.m16n8k16 (bf16/f16), m16n8k8 (tf32) | a warp (32 lanes) | 16 × 8 × 16 / 16 × 8 × 8 | registers (fragments) → registers, f32 | yes (sm_80 and later) |
wgmma.m64nNk8 (tf32), m64nNk16 (bf16/f16) | a warpgroup (4 warps) | 64 × N × 8 / 64 × N × 16, N a multiple of 8 | a: shared memory or registers, b: shared memory → registers | yes (H100), fed by TMA |
tcgen05.mma | one thread for a block or a block pair | larger tiles | shared memory → tensor memory | no — a row the table must hold |
| AMD MFMA | a 64-lane wavefront | e.g. 32 × 32 × 8 (f16) | vector registers → accumulation registers | no — the AMD translation (roadmap) |
| Systolic array | an ASIC’s PE array | R × C, k streamed | SRAM banks → the PEs | no — a synthesis template (D7) |
Rows are geometry, not names: placement maps a site’s tile geometry onto whichever rows the target has. The fact categories are kept apart on purpose: machine facts (above); lowering-declared counts (a schedule’s registers, instructions per class per trip, its in-flight ring — checked against ptxas -v and SASS); and fits (a curve of one Mapal kernel), which the evaluator never reads — they stay only as replay lines until the evaluator reproduces them, then are deleted. Under ADR-0050 a missing fact takes a visibly marked derived or nominal interval, or removes the candidates that need it; no value is borrowed silently from another part or looked up by version. Today’s profiles still do both (§9.1).
8.3 The reconciliation: a schedule, one evaluator, one search
For each site (step 1: sum-of-products tile sites; later every cell, fold and streamed unit) placement produces a schedule (ADR-0050 D3):
| Schedule part | What it fixes |
| Executor subtree | Host, device, or both. |
| Operation and operand roles | Which row of the operation table computes it, and which input plays a and which b (a transposed product is a role swap). |
| Levels | Any number of loop extents, each bound either to an executor level (parallel: blocks, warps, lanes) or to a place (sequential blocking: a CPU’s register tile, L1 and L2 panels). |
| Homes, layout, depth | Each operand’s place at each level, its padding and swizzle, how many buffers deep; packing as a scheduled copy priced by its bytes; producer and consumer roles inside a block (warp specialization). |
| Traversal | Ordered with a raster; split along k into S pieces (atomic or workspace); walked (stream-K over every resident slot); hybrid (whole waves ordered, the tail walked). |
| Launch and policies | Launch mode, cache policy per access, capacity splits; operands still resident from the previous call (residence_plan) are inputs. |
Feasibility = every place’s footprint fits its share ∧ the numerics admit it (the operation and its number of pieces — 1, S, or unbounded for a walk — are within the site’s a-priori bound, ADR-0040/0041/0043/0044) ∧ the lowering can emit it. Then one evaluator prices every feasible schedule the same way (ADR-0050 D4):
| Term | What it counts |
| compute | The busiest unit’s work — ⌈tiles / slots⌉: full waves and the tail — at the operation’s measured rate and efficiency, at the sustained clock. |
| movement | Bytes across each place boundary ÷ its bandwidth. Into explicit places the bytes follow from the levels exactly; out of a cache they follow from reuse distance: the distinct bytes the cache sees between two reads of a slice, counting every stream through it (operands, stores, partial sums, the zero pass, workspaces), checked against an exact LRU simulation. |
| latency | Bytes in flight per unit against bandwidth × latency of the source. |
| issue | The lowering’s declared instruction counts per class against the unit’s issue rates. |
| combine | Atomics as a resource at their place, workspace bytes, the zero pass once, a pipeline fill per split or walked piece. |
| fixed | Launches and gaps, barriers, grid syncs, link transfers. |
One search (D5) generates candidates bottom-up from the facts — operations the precision set admits, group tiles whose footprint fits the operation’s home, block tiles and depths within capacities for every feasible occupancy, traversals and launch modes — and prunes by admissible lower bounds (peak compute; every operand read once) and dominance. The top candidates go through a post-lowering gate: the code generator’s real registers and spills; a spill makes a candidate infeasible and the next one is taken. Facts with intervals are evaluated at both ends; a pick that flips inside them is marked open. The model’s error band is itself a fact (replay residuals): a new schedule replaces the incumbent only beyond it, so a re-measured rate does not churn the emitted code.
8.4 After placement: lowering, then a minimal target-specific step
A lowering emits any feasible schedule of the kinds it declares, and declares its constraints, its instruction counts and its footprints (D6). Layout is in the model (its bank-conflict cost is a fact); only the bit encoding is the lowering’s. What cannot yet be a machine fact — a code generator’s register-allocation quirk, a driver fault’s workaround, an index-width or unroll flag — is a separate step after lowering, keyed by properties and listed with why it is not a fact yet and what would make it one (the planned docs/target-specific.md; that list must shrink over time and must not grow per target). Each site’s schedule, predicted time, terms and any open flip are written into the module as a ; mapal.place line (D8), next to the existing ; mapal.ptx capability line.
8.5 How it helps — with this project’s own evidence
Interactions are priced, not patched
Today about seventeen decisions — placement, kernel kind, tile shape, staging, combine and split, raster order, the walk, epilogue and kernel boundaries, the zero pass, residency, concurrency — are each made by their own rule, in a fixed order, each reading the subset of facts it was written for (304 cited measurements over 68 rung names in rung_replay.tsv). The mma-walk rung (2026-11-25) priced how full the SMs were but not where the operands live while the walk scatters their readers: the L2 fact (l2_keep_bytes) existed, outside that rule’s view, and the walk lost — ×1.21 on the RTX 3090’s suite row, ×1.04 on the A100’s down projection (788 against 761 µs a layer; benches/results/evidence/hopper/disasm-rented.md). The fix added the fact to that one rule (MmaWalk::walk_bytes, b3ad75f4). ADR-0050’s design check then found that rule counts requested bytes where a cache evicts on distinct bytes. By the model’s count — an exact LRU simulation, not a measurement (the rented boxes had no profiler counters) — the RTX 5080’s 3072 × 4096 × 8192 product requests 1685 MB against 124 MB distinct, so the rule refused that walk for a reason the simulation does not support. The measured times there favoured refusal anyway (ordered 1836 µs against the walk’s 1829 µs + a 39.8 µs zero pass): a wrong reason, not a wrong pick. In one evaluator, reuse distance is one term every traversal pays.
A new target is a translation and a lowering
Because placement reads only machine facts, adding a target means writing Machine::of for it and a lowering — AMD (MFMA, LDS, 64-lane wavefronts, Infinity Cache, per-XCD L2s), CPUs (cores, vector units, cache levels, prefetchers, SME), ASICs (PE arrays, SRAM banks, a network-on-chip). A synthesis target is a machine template with free parameters (array dimensions, SRAM sizes and banks, NoC width) and a resource budget (area, DSPs, BRAM, LUTs, fmax): the same search ranges over the template’s parameters as well as the schedule (D7). Today the tile-shape ladder carries built-in assumptions — two resident blocks per SM (GPU_RESIDENT_BLOCKS), half the register file, powers of two — and parts without a measurement borrow the RTX 5080’s numbers; under ADR-0050 occupancy is derived and a missing fact is visible.
Every decision is explained in the output
The ; mapal.place line states the chosen schedule, its predicted time and each term. A reviewer can see why a site walks instead of running an ordered grid — say, because the ordered grid’s movement term exceeds the walk’s combine term — without rerunning anything. Today the explanation is spread over rule comments and replay lines.
Measurement checks the model; it does not choose the answer
Today a site may carry several candidate kernels (--cands, candidate 0 being the rules’ plan) and the GPU runtime can time them in trials and remember the winner per device (“wisdom”, crates/mapal-rt/gpu/mapal_choice.h). On noisy rented parts that loop reverted good picks (the A100’s ±50 % noise, docs/sessions/2026-11-26-readable-llama-and-five-gpu.md). Under ADR-0050 a measurement is a replay line in place_replay.tsv: a realized time outside the predicted band is a finding — a missing machine fact or evaluator term, fixed in the model, never a per-site override. A run-time confirmation, where kept, chooses only among the top candidates and only on pairs that differ beyond the null.
The bound frees the order — so the search space is large
ADR-0049 made correctness “the flow and the bound”: the compiler may order, split and combine freely, including atomics and stream-K walks whose order depends on arrival, as long as every value stays within the a-priori bound (ADR-0040 D2). That turns split-K, stream-K and hybrid traversals into ordinary points of the schedule space, admitted by a numerics fact (how many pieces the site’s bound allows; ADR-0044’s split coefficients) rather than refused to reproduce bits.
It must win back the earlier single model’s losses
An earlier single cost model, plan-cost (site_ns), already priced the scalar tile site; it measured mixed — it lost 2.7× on mm_1x1024x4096 on the RTX 4090 — and ships off. ADR-0050 is held to naming the term plan-cost lacked and winning those rows back (the replay corpus is seeded with them).
8.6 How it differs from today’s methods
Every serious toolchain has some model of the hardware. The differences are where that knowledge lives, what makes the decision, and whether the decision can be explained from facts. A fair summary — the last column marks what ships today and what is ADR-0050’s design:
| Approach | Where the hardware knowledge lives | How a placement / schedule is chosen | What Mapal does differently |
| Conventional compilers (LLVM, GCC) | Per-target backends: instruction descriptions and per-CPU scheduling models (latencies, ports), plus cost hooks that answer one question at a time (LLVM’s TargetTransformInfo). | Each pass decides locally with its own heuristic and thresholds — the vectorizer a width, the unroller a count, the inliner a budget — in a fixed pass order. Placement across devices and cache-level blocking are mostly outside their model. | Mapal keeps LLVM for what it does well after lowering (instruction selection, register allocation, scheduling) and makes the placement decisions above it from both fact layers. Today each decision is its own rung rule in a fixed order — closer to LLVM’s per-pass heuristics than the goal. ADR-0050: once, over the whole schedule, with caches, waves and copies in one price. |
| Vendor libraries (cuBLAS / cuBLASLt, CUTLASS, cuDNN) | Hand-written or templated kernels per architecture (CUTLASS is parameterized by an architecture tag and tile shapes). | Heuristics and tables pick a kernel per shape (cuBLASLt’s heuristic query, cuDNN’s heuristic modes), optionally confirmed by autotuning or a profiler. | Very fast on the shapes they target — Mapal measures itself against them (README). But the knowledge is in kernels and tables: a new part needs new kernels, and a choice is not explained by facts. A library also sees little beyond its own call: an epilogue can take in the immediate consumer (cuBLASLt epilogues, CUTLASS epilogue visitor trees), but not the producers or what stays resident between calls — which Mapal reads from the dataflow facts (today). |
| XLA | Per-backend passes; on GPU an analytic performance model and library calls. | Fusion passes driven by heuristics and that model; GEMMs and convolutions mostly handed to cuBLAS / cuDNN or to autotuned Triton tiles. | Closest in spirit (a whole-graph compiler). Today: there is no fusion pass — kernel boundaries fall out of footprints and death points — and Mapal emits its own GEMM kernels instead of delegating them, their tile and traversal chosen by rung rules. ADR-0050: the GEMM’s schedule is priced by the same evaluator that is meant to price everything else (step 1 covers GEMM-shaped sites only). |
| TVM / Ansor / MetaSchedule | Measurements on the device, plus a learned cost model trained on them. | Search over a space generated from schedule rules; candidates measured on the hardware; the learned model ranks them. | Today Mapal is partly in this family: a site may carry candidate kernels (candidate 0 the rules’ plan) that the GPU runtime times in trials and remembers per device (“wisdom”, mapal_choice.h, §8.5). ADR-0050: search scored by an analytic model whose inputs are measured facts with provenance, so it can decide for parts not at hand and for ASIC templates not yet built, and say why a choice wins; measurement becomes the model’s check (alternatives rejected). |
| Triton | In the compiler’s layouts and pipelining, and in the programmer’s choice of block size. | The programmer writes the block-level kernel; @triton.autotune times a hand-written list of configurations. | No kernel, block or tile size appears in Mapal source; the tile, traversal and launch are generated from both fact layers (today by rung rules, ADR-0050 by one search). |
| Halide | In a separate schedule. | Written by hand, or by an autoscheduler (an analytic one, and later a learned cost model). | Shares the separation of “what” from “how”, but there is no schedule language to write: the compiler chooses the schedule (today by rung rules, visible only in the emitted code and the rules’ comments). ADR-0050: the schedule is an explicit output, printed with the module (; mapal.place). |
| MLIR-based compilers (e.g. IREE) | Per-target dialects (NVGPU/NVVM, AMDGPU/ROCDL, ArmSME, x86 vector…) and lowering pipelines. | Tiling and mapping in transform-dialect scripts or per-backend configuration logic. | Today the decisions live in the LLVM backend’s rules, which read physical properties rather than a target name — one rule chain for every GPU, not one pipeline per target. ADR-0050: one target-agnostic placement over abstract facts; the per-target code is the translation into facts and the lowering of a chosen schedule. |
| Polyhedral (Pluto, PPCG) | Exact affine access relations and dependences; hardware mostly as tile sizes. | An ILP over a locality and parallelism objective (dependence distances). | Mapal uses exact access maps too (tile_plan, tensor_form, today), but its objective is time on the machine: slots, waves, copy engines, bandwidth per level — today weighed rule by rule, under ADR-0050 as one predicted time — which the locality objective does not see. |
What Mapal borrows: exact access maps (polyhedral), the separation of algorithm from schedule (Halide), LLVM for everything after lowering; under ADR-0050 also search with pruning (TVM) and measurement as a check (every autotuner). What ADR-0050 costs: a search at compile time, facts that must be measured or declared per part (calibration probes), and a model that can be wrong — which is why the evidence pass and the falsification criteria below exist. Where it stands today: the libraries still win several GEMM shapes on the RTX 3090, A100 and H100 (README, “Current results”) — the case step 1 targets.
8.7 Where the language is different — the map
Few of Mapal’s ideas are new on their own. What is new is where they sit: one system of facts from the source text to the hardware, with correctness separated from the order of execution by a stated bound.
| Area | What Mapal does | Closest prior art | What is different | Status |
| The program is the flow | Source is a dataflow graph: pipelines x -> f -> y, map / fold / loops, immutable unless mut, effects threaded as tokens | SISAL, Id / Val, Lucid, StreamIt; Futhark, JAX | The graph’s structure (products, projections, composition) is both the language’s meaning and the compiler’s IR; no translation step loses meaning | built |
| Facts on the graph | Each analysis is a stored fact — liveness and death, write deltas, reuse, residence, bounds, independence; facts depend on facts; every decision reads them (§6) | Every compiler has analyses, but they live inside individual passes | One stored, queryable fact catalog that every decision must use; a mixed result is treated as a missing fact | built |
| No “fusion” | Which work runs together and what stays on chip follow from producer / consumer footprints and death points | XLA’s fusion heuristics, Halide schedules, Futhark’s fusion rules | Kernel boundaries are an output, decided at compile time, never runtime graphs | built |
| Hardware as facts (ADR-0050) | The machine as memory places, executors with operations as geometry, movers and dispatch, each fact with its source; one cost model + a search places the dataflow on it (§8) | Sequoia’s memory tree, Legion’s mappers, Timeloop / MAESTRO for accelerators, TVM / Ansor, Halide’s autoscheduler | Analytic rather than learned or measured, general-purpose (CPU, GPU, ASIC), driven by the language’s facts; measurement checks the model instead of picking the answer; a new target is a translation into the model | ADR accepted; GEMM step 1 in progress |
| Correctness = flow + bound (ADR-0040, 0049) | Precision is part of the program (fold: bf16 | f32); the compiler proves an a-priori error bound, then reorders freely; bit-identity is a development mode | Herbie, FPTaylor, Precimonious; fast-math flags | A bound the language states and the compiler proves, instead of flags that trade correctness away; it admits hardware realizations no flag expresses (tf32x3, bf16x2n split forms on tensor cores) | built |
| Builtins as contracts (ADR-0046) | exp, sqrt, sin, cos: a contract and a reference definition; each target’s units admitted by the contract, chosen by error and cost | libm variants, CUDA __expf, OpenCL native_* | Chosen from facts, not from a flag or a function name | built |
| Compile time by dataflow (ADR-0048) | No const or comptime: any value whose dataflow has no run-time input is computed beforehand — or materialized against recomputed by cost | Zig comptime, C++ constexpr, partial evaluation | Inferred from the graph, not annotated | built |
| Generics over sizes and formats (ADR-0047, 0051) | fn project<rows, columns>, cache: float, x -> to<bf16>; an explicit prefix, the rest inferred | Futhark’s size types, Dex, C++ templates | Sizes stay in the type, so every fact sees exact extents; formats are generic and precision loss stays visible (to against widen) | sizes built; formats in progress |
| Placement across devices | CPU, GPU and the host spine in one program; tasks and residency derived from path_plan and the residence facts | Legion, StarPU, SYCL, OpenMP target | Derived from facts, not from annotations or run-time discovery | built (CPU + GPU) |
| One language down to silicon | The same program and the same machine model; for synthesis the search also picks the hardware’s free parameters | HLS (Vitis, Catapult), Spatial, Calyx / CIRCT | GPU and ASIC from one fact model; the hardware’s design and the placement in one search | planned (the Verilog backend is a stub) |
| How the compiler is built | Every optimization declares its intent; PTX / SASS is checked against it; every measurement becomes a replay test; every rule has an OFF arm | Performance regression suites | Compiler decisions are evidence-backed and re-checked like proofs | in practice |
Not new on its own: dataflow languages (SISAL, Id — the 1980s and 1990s), size types (Futhark), separating the algorithm from its schedule (Halide), analytic mapping onto accelerators (Timeloop), floating-point error analysis (FPTaylor).
New — the combination: (1) the language’s meaning, the compiler’s facts and the hardware’s facts are one connected system; (2) the program states its numerical bound, which frees the compiler to choose any order and any realization within it, tensor cores included; (3) placement is derived from that system, not written by hand, tuned by measurement or learned, so a new target is a translation, not a new backend’s worth of heuristics.
This map is drawn from the project’s knowledge of the field, not a literature survey; check each “closest prior art” against current work before using it outside the project.
8.8 Status and what would prove it wrong
- Step 1, GEMM (in progress, one implementer, commits in order): C1 (committed,
30f1a32f) the crate mapal-place (machine, schedule and fact types with provenance; reuse closed forms; an exact LRU trace simulator; property tests) · C2 Machine::of for every GPU profile and the lowerings’ declarations, with a coverage test that today’s launches are points of the space, emitting byte-identical text · C3 place_replay.tsv and its scoring, the calibration probes the evaluator needs · C4 the search, the rung machine-place (default off; its OFF arm is the rule chain) and the ; mapal.place line · C5 the hybrid traversal · C6 the local ABBA, a rented confirmation, then the default flipped and later the rule chain removed.
- Later steps: attention and the streamed units; cells, folds and row folds; the co-schedule and residence across the whole system (filling free slots with independent work); the CPU translation; AMD.
- What would falsify it (ADR-0050): after the missing machine facts are added, the evaluator predicts the replay corpus’s winners less often than the rules did, or does not win back plan-cost’s losers; the target-specific list grows with each target instead of shrinking; the CPU cases the first draft could not state (a prefetcher’s reach, conflict misses from set mapping) stay unexplained.