How Deep Generation Goes, and Who Finishes the Job
A kernel compiled for one vendor's accelerator instruction set is not slower on another vendor's hardware. It is worth nothing. This paper asks how deep generation goes before someone else's compiler takes over.
Papers 4 and 5 both ended by pointing at the same place. The managed runtime generates excellent instructions for a program written not to know what machine it is on, and the conformance floor guarantees behavior while saying nothing about the accelerator. The properties neither of them can describe are properties of components, and the accelerator is the component where the difference is largest and the money is. It is also where the fixed commitment is at its most literal: a kernel compiled for one vendor's instruction set does not degrade gracefully on another's, it does not run at all.
The industry's response was to stop short. Rather than shipping machine instructions, accelerator toolchains ship an intermediate representation and let the vendor's driver perform the final compilation on the target machine. That is deferred compilation, it is the correct instinct, and the accelerator world arrived at it well before the general software industry did. It also has a consequence that is rarely stated as a cost: the driver's compiler is now an unavoidable, opaque, independently versioned participant in every execution, expensive enough that its output has to be cached, and invalidated whenever the driver changes. This paper argues that the boundary, how far down your own generation reaches before somebody else's compiler takes over, is the thing worth reasoning about, that the industry's real lock-in lives at that boundary rather than in the silicon beneath it, and states plainly where this architecture's boundary currently sits: SPIR-V is generating today, with PTX and GCN reconstitution ahead rather than delivered.
Throughout this series the fixed commitment has been costly but survivable.
A binary compiled for the wrong Linux distribution usually fails at load with a message.
A program written to a conformance floor runs everywhere and leaves capability unused.
The costs are real and they are all recoverable.
The accelerator is different in kind. Instruction sets from different vendors, and often across generations from one vendor, are not dialects of a shared language. Compiled output for one is not a degraded input for another; it is not an input at all.
That would be an academic point if accelerators were peripheral, and they are the opposite. This is the hardware that determines whether the expensive workloads in the world finish in an hour or a week, and it is the component the industry is spending the most money on. The place where the commitment is most absolute is also the place where the stakes are highest, which is why it has attracted the most engineering and the most durable market power.
Faced with an artifact that is worthless on the wrong hardware, the accelerator world did something this series should acknowledge as correct: it stopped shipping the artifact.
What ships instead is an intermediate representation.
Work is compiled part of the way (far enough to be checked, optimized and distributed, not so far as to be bound to a specific processor) and the final step to actual instructions happens on the target machine, performed by the vendor's driver, which is the only party that knows exactly what is installed.
The result is that almost nobody in this part of the industry ships machine code, and almost everybody ships something one step above it. Which raises a question the industry rarely asks out loud, because the answer has been the same for so long that it stopped looking like a choice: how far down should your own generation reach before you hand off?
Handing off at the intermediate representation puts a compiler you did not write, cannot inspect and do not ship into the execution path of everything you build. Four consequences follow, and none of them are hypothetical to anyone who has shipped accelerated software.
The transformation from your representation to the instructions that actually execute happens inside a component you cannot read. When output is slower than expected, the reason is on the other side of a boundary you cannot cross, and the available response is to perturb the input and observe. That is not engineering, it is divination with a profiler.
The compiler changes when the driver changes, on a schedule set by the vendor rather than by you, and the same input can produce materially different output before and after. Software that was fast last month can be slower this month with no change on your side, and the change was not announced because from the vendor's perspective nothing user-visible happened.
Final compilation is costly enough that it cannot be done casually at the moment work is submitted, which is why the industry caches results aggressively and why users experience the failure of that caching directly, as the pause the first time something new appears on screen. An entire body of engineering practice exists to pre-warm those caches, and it exists because the compile is in the wrong place.
A driver update discards the accumulated results, and the cost is paid again. Paper 9 described the update as the most dangerous routine operation at the edge; here it is merely the most expensive, and it is triggered by a party with no visibility into what it costs you.
The dominant position in accelerated computing is routinely described as a hardware advantage. Hardware advantages are real and they are also transient: competitors ship parts with comparable characteristics, and buyers who care about cost notice.
The reason the position persists through those cycles is that the switching cost is not in the hardware.
It is in everything written against one vendor's toolchain (the source, the libraries, the kernels, the accumulated tuning, the people who know it), none of which transfers, because it was written in a vendor-specific dialect and compiled through a vendor-specific path.
Put precisely: the moat is the boundary described in Section 02. Because everyone stops at the vendor's representation, everyone's work is expressed in terms of one vendor's toolchain, and the accumulated body of that work is what makes leaving expensive.
The structural consequence for an architecture that generates instructions from declared intent is worth stating carefully, because it is easy to overstate and this paper is not going to. Work expressed as intent is not written in any vendor's dialect, so there is no corpus to port; targeting different hardware is a backend rather than a rewrite.
That does not mean the hardware becomes trivially reachable. Generating for an instruction set requires knowing that instruction set, vendors differ enormously in how much they document, and a backend is real engineering.
It means the cost of supporting another vendor is borne once, by the platform, instead of being borne repeatedly by every organization that wrote code in the first vendor's terms.
The honest statement of the current position is short, and the substrate strip at the top of this paper carries it.
What that supports and what it does not are both worth being clear about.
SPIR-V is a broad target and reaching it means work declared as intent becomes accelerator instructions through this architecture's own generation rather than through source written in a vendor's language, which is the point of Section 04: there is no vendor-dialect corpus accumulating.
It also means that, at this target, the final step into the specific processor's instructions is still completed on the machine by the vendor's component, with the properties Section 03 describes. The boundary is where it is, and moving it further down is what the reconstitution work is for.
This is also the layer Papers 4 and 5 were pointing at when each of them stopped. The managed runtime cannot generate for an accelerator the program had no vocabulary to describe, and the conformance floor does not tell an application which graphics architecture it received.
The second movement continues one layer down. Paper 7 takes the processor architectures themselves, where the same commitment produces a different and more visible failure: an architecture transition, in which an entire software ecosystem discovers simultaneously that everything it shipped was compiled for a processor family it is now leaving. The industry has just finished doing this once and is being asked to do it again.
The accelerator is where a compiled artifact is not merely wrong for other hardware but worthless on it, and the industry's answer (ship an intermediate representation, let the driver finish) is the right instinct arrived at early. It also placed an opaque, independently versioned compiler in the path of every execution, expensive enough to require caching and invalidated by updates nobody consults you about. And because everyone stops at the vendor's representation, everyone's accumulated work is written in one vendor's terms, which is the actual switching cost that the hardware gets credited for. SPIR-V is generating today. PTX and GCN are reconstituting. Both of those are stated as what they are.
The Common Substrate → Request Platform Access