# PipeLink: Contract-Guided Linking of GPU Kernel Components

DevFeed: [PipeLink: Contract-Guided Linking of GPU Kernel Components](<https://devfeed.tech/articles/pipelink-contract-guided-linking-of-gpu-kernel-components-104166.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.37200>)

Author: Jize Guo, Xupeng Miao

Published: 2026-10-28T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [architecture-components](<https://devfeed.tech/topics/architecture-components.md>), [Hopper](<https://devfeed.tech/topics/hopper.md>), [static linking](<https://devfeed.tech/topics/static-linking.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [activation](<https://devfeed.tech/tags/activation.md>), [architectures](<https://devfeed.tech/tags/architectures.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [attention](<https://devfeed.tech/tags/attention.md>), [backend](<https://devfeed.tech/tags/backend.md>), [blackwell](<https://devfeed.tech/tags/blackwell.md>), [chip](<https://devfeed.tech/tags/chip.md>), [code](<https://devfeed.tech/tags/code.md>), [communication](<https://devfeed.tech/tags/communication.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [composition](<https://devfeed.tech/tags/composition.md>), [concurrently](<https://devfeed.tech/tags/concurrently.md>), [consumer](<https://devfeed.tech/tags/consumer.md>), [context](<https://devfeed.tech/tags/context.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linking](<https://devfeed.tech/tags/linking.md>)

## AI overview

PipeLink links GPU kernel components compiled independently, using contracts that state each component's requirements and guarantees. It checks compatibility, jointly places components within shared streaming-multiprocessor resources, generates transfers, and relies on the vendor LTO backend to fold the result into constants. Across 51 Hopper and Blackwell configurations, linked kernels ran within 0.2% of kernels compiled as one unit. Reported compositions include a CuTe attention operator in a ThunderKittens decode megakernel that sped decoding by 2.16x, a four-owner MoE training megakernel matching its monolith, and a GEMM + SwiGLU composition running 1.2x faster on Blackwell than cuBLAS with a compiled activation. The supplied excerpt also reports sparse and context-parallel variants outperforming FlexAttention, vLLM, and Transformer Engine.

## Source excerpt

arXiv:2610.37200v1 Announce Type: new Abstract: The fastest machine-learning kernels are compositions of components, such as loaders, matrix-multiply mainloops, epilogues and communication stages, that run concurrently on one GPU streaming multiprocessor and share its on-chip memory, barriers, warps and registers. Because these components hard-code where they sit in this shared space, they cannot be compiled, shipped or replaced on their own: combining components from different sources means forking them by hand or keeping them in separate kernels. We present PipeLink, a contract-guided linker for GPU kernel components. Each component is compiled separately into an LTO object that carries a contract stating what it requires and what it promises; PipeLink checks the contracts against each other, relocates every component by solving one joint placement of the SM's resources, and generates the transfers between them, and the vendor LTO backend folds the result into constants. Across 51 configurations on Hopper and Blackwell GPUs, linked kernels run within 0.2% of the same sources compiled as one unit. Linking makes new compositions practical: a CuTe attention operator inside a ThunderKittens decode megakernel speeds up decoding by 2.16$\times$, a four-owner MoE training megakernel matches the original monolith, one unchanged attention core yields sparse and context-parallel variants that outperform FlexAttention, vLLM and Transformer Engine, and a GEMM + SwiGLU composition whose consumer serves three GPU architectures runs 1.2$\times$ faster on Blackwell than cuBLAS with a compiled activation.