Skip to content
Book Open access

CKTI: A Domain-Specific Compiler for Lowering CUDA Kernels to Triton-IR

Jul 2026 · International Conference on Supercomputing · pp. 132-144 · 0 citations · 47 references
Computer Science

TL;DR

CKTI is introduced, a domain-specific compiler that lowers CUDA kernels to Triton-IR, thereby decoupling them from proprietary hardware and fostering diversity across the computing ecosystem.

Abstract

CUDA kernels are essential for high-performance computing, yet their deployment has been limited to vendor-specific chips. Unless highly efficient computational kernels are custom-implemented by experts, other chips may face problems such as low utilization and inability to accelerate AI computing. In this paper, we introduce CKTI, a domain-specific compiler that lowers CUDA kernels to Triton-IR, thereby decoupling them from proprietary hardware and fostering diversity across the computing ecosystem. CKTI proposes a scheduling algorithm that transforms the threading model from thread-level to tile-level, along with a mapping scheme from explicit control-structure characteristics to dynamic masks. It also incorporates a custom dialect to express the complete semantics and optimizable properties of the kernel. These collectively ensure performance portability and cross-platform deployment. The results show that CKTI produces correct outputs on different hardware platforms and delivers competitive performance, achieving 1.28X speedup on NVIDIA, 1.17X on AMD, 1.14X on MetaX, and unlocking deployment on Cambricon platforms. Additionally, we validate CKTI’s support for end-to-end workloads across multiple architecture, including NPUs and GPGPUs.

Read PDF

Similar papers

Preprint Jul 2026

KernelGenBench: Can LLMs and Agents Write Efficient Kernels Across Operator Sources and Hardware Platforms?

KernelGenBench is presented, the first unified multi-source and multi-chip infrastructure for evaluating LLM- and agent-generated Triton kernels and establishes operator source, hardware platform, and agentic scaffold as distinct dimensions of kernel-generation capability, and shows that success in a familiar source-ha...

Pei-Yu Zang, Jian-Hang Tao, Jia-Ling Zhang et al. · 0 citations
Open access Jul 2026

XK.jl: Composable and Portable Multi-GPU BLAS in Julia

This paper introduces XK.BLAS: the BLAS module of the Julia package XK.jl, which provides BLAS APIs that are portable across all three major GPU vendors (AMD, Intel, NVIDIA) for multi-device architectures for multi-device architectures.

R. Pereira, Alexis Montoison, Michel Schanen et al. · 0 citations
Preprint Aug 2026

RealisticTritonBench: A Benchmark for Triton-Kernel Generation in Real-World AI Frameworks

RealisticTritonBench is introduced, the first benchmark to derive Triton kernel generation tasks from real-world pull requests in popular AI frameworks, enabling realistic, production-like evaluation and evaluating leading LLMs on RealisticTritonBench.

Jin-Jun Huang, Zhongzhen Wen, Tong-Tong Xu et al. · 2 citations
Preprint Jul 2026

Triton for MTIA: Bridging the Programming Model Gaps for Custom AI Accelerators

This work presents the first production-scale application of Triton on a custom ML accelerator, MTIA-2i, developed by Meta, and develops a new compiler backend that targets it, introduces enhancements to TorchInductor code generation, and proposes minimal language extensions that expose MTIA-specific architectural feat...

Haishan Zhu, Domi Yan, Michael Levesque-Dion et al. · 0 citations

Lessons Learned Building Cross-Architecture Analytical Engines

This thesis explores hardware-software co-design for data-intensive applications, targeting the unification of programming models using open standards and exploring experimental techniques for automated query synthesis, and presents X-BQSR, a holistic redesign of genomic base quality score recalibration pipelines.

I. D. Kabadzhov · 0 citations
Jul 2026

Compiler-Grounded Hierarchical Diagnosis for LLM-Based Triton Kernel Optimization

This work forms kernel optimization as a progressive cross-layer diagnosis problem that links runtime symptoms to IR structure and compiler behavior before rewriting source, and presents a compiler-grounded and hierarchical optimization framework for Triton kernels.

Dongjie Chen, Ping Zhao, Bohua Zhan et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.