# TIRx: A Unified Tile Primitive ML Compiler Across Heterogeneous Backends

DevFeed: [TIRx: A Unified Tile Primitive ML Compiler Across Heterogeneous Backends](<https://devfeed.tech/articles/tirx-a-unified-tile-primitive-ml-compiler-across-heterogeneous-backends-111370.md>)

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

Author: Bohan Hou, Hongyi Jin, Guanjie Wang, Shushi Hong, Jinqi Chen, Yaxing Cai, Lijie Yang, Zihao Ye, Yaoyao Ding, Ruihang Lai, Todd Mowry, Tianqi Chen

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Compiler](<https://devfeed.tech/topics/compiler.md>), [GPU optimization](<https://devfeed.tech/topics/gpu-optimization.md>), [Distributed Systems & Parallel Computing](<https://devfeed.tech/topics/distributed-systems-parallel-computing.md>), [High-Performance Computing](<https://devfeed.tech/topics/high-performance-computing.md>)

Tags: [accelerators](<https://devfeed.tech/tags/accelerators.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-accelerators](<https://devfeed.tech/tags/ai-accelerators.md>), [backends](<https://devfeed.tech/tags/backends.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cs-pl](<https://devfeed.tech/tags/cs-pl.md>), [dispatch](<https://devfeed.tech/tags/dispatch.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [kernels](<https://devfeed.tech/tags/kernels.md>), [layout](<https://devfeed.tech/tags/layout.md>), [layouts](<https://devfeed.tech/tags/layouts.md>), [memory](<https://devfeed.tech/tags/memory.md>), [ml](<https://devfeed.tech/tags/ml.md>), [performance](<https://devfeed.tech/tags/performance.md>), [scope](<https://devfeed.tech/tags/scope.md>), [tensors](<https://devfeed.tech/tags/tensors.md>)

## AI overview

TIRx aims to retain native-level performance control while simplifying ML kernel implementation across GPUs and AI accelerators. It makes participating hardware teams explicit through execution scopes, maps logical tensors to hardware spaces with named-axis layouts and shard/replica/offset semantics, and dispatches tile primitives based on scope, layout, and backend. This automates recurring address calculations, operand preparation, and instruction-loop generation. The abstract reports vendor-level performance on recent GPUs and AI accelerators and substantial reductions in low-level code in native-code case studies; it gives no benchmark details or specific backend comparisons.

## Source excerpt

arXiv:2601.19092v3 Announce Type: replace-cross Abstract: Modern ML kernels evolve rapidly with new optimizations and hardware features. ML compiler abstractions must accommodate richer memory hierarchies, more forms of thread cooperation, and increasingly heterogeneous backends while retaining the control required for peak performance. We present TIRx, an ML compiler for GPUs and AI accelerators that exposes these ingredients through explicit interfaces. TIRx introduces an explicit execution-scope abstraction that captures participating hardware teams at multiple granularities. It also uses tensor layouts to map logical tensors to heterogeneous hardware spaces through named axes and shard/replica/offset semantics. Finally, it introduces tile-primitive dispatch, which lowers high-level operations to efficient implementations according to scope, layout, and backend. This design preserves native-level control while automating recurring address calculation, operand preparation, and instruction-loop generation. Our evaluation shows vendor-level performance across the latest GPUs and AI accelerators, while native-code case studies show substantial reductions in low-level implementation code.