paper-with-me

Papers

JLIR: A Julia-Native MLIR-Inspired Intermediate Representation with Automatic JACC Kernel Extraction

2026-09-04 · Narasinga Rao Miniskar, Seyong Lee, Keita Teranishi, Jeffrey S Vetter arxiv

The Multi-Level Intermediate Representation (MLIR) has made reusable compiler infrastructure practical for domain-specific computation. However, MLIR's strong compile-time type requirements and low-level (C++) extension model can be a poor match for high-level, dynamically specialized languages such as Julia. MLIR has several drawbacks for dynamic programming languages in terms of the type system and level of abstraction. It is thus extremely challenging for non-compiler or scientific computing users to introduce new programming abstractions and express algorithm implementations in a form that remains both natural and optimizable. As a result, library interfaces for linear algebra, mesh processing, partial differential equations, and related domains often sit outside the compiler optimization path. We present JLIR (Julia-native Level Intermediate Representation), a Julia-native intermediate representation framework that brings the main benefits of MLIR-style multi-level, dialect-oriented compilation into the Julia ecosystem while remaining usable as ordinary Julia code. JLIR represents Julia programs before low-level lowering, supports extensible operations and transformation passes through Julia's language mechanisms, and allows partially typed programs to remain transformable until concrete types are known. The framework includes built-in dialects for arithmetic, control flow, functions, structured loops, and memory operations, and it also includes a lightweight mechanism for adding new domain operations without modifying the core system. To demonstrate JLIR's capabilities, we applied it to automatic Julia for Accelerators (JACC) kernel generation.

📄 PDF Abstract BibTeX arXiv:2609.04585

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

FFTc: An MLIR Dialect for Developing HPC Fast Fourier Transform Libraries

2022-07-14 · Yifei He, Artur Podobas, Måns I. Andersson, Stefano Markidis

Discrete Fourier Transform (DFT) libraries are one of the most critical software components for scientific computing. Inspired by FFTW, a widely used library for DFT HPC calculations, we apply compiler technologies for t…

Instead of Rewriting Foreign Code for Machine Learning, Automatically Synthesize Fast Gradients

2020-10-04 · NeurIPS 2020 12 · William S. Moses, Valentin Churavy

Applying differentiable programming techniques and machine learning algorithms to foreign programs requires developers to either rewrite their code in a machine learning framework, or otherwise provide derivatives of the…

BIG-bench Machine Learning

TPU-MLIR: A Compiler For TPU Using MLIR

2022-10-23 · Pengchao Hu, Man Lu, Lei Wang, Guoyue Jiang

Multi-level intermediate representations (MLIR) show great promise for reducing the cost of building domain-specific compilers by providing a reusable and extensible compiler infrastructure. This work presents TPU-MLIR, …

Compiling ONNX Neural Network Models Using MLIR

2020-08-19 · Tian Jin, Gheorghe-Teodor Bercea, Tung D. Le, Tong Chen 외

Deep neural network models are becoming increasingly popular and have been used in various tasks such as computer vision, speech recognition, and natural language processing. Machine learning models are commonly trained …

speech-recognitionSpeech Recognition

SNN-MLIR: An MLIR Dialect for Compiling Neuromorphic SNNs from NIR to Bare-Metal C

2026-06-08 · Alejandro García Gener, Alvaro Rollón de Pinedo arxiv

Spiking neural networks (SNNs) are increasingly trained in a wide range of frameworks (SnnTorch, Lava, Norse, and others) each with its own model format. The Neuromorphic Intermediate Representation (NIR) addresses this …