paper-with-me

홈 › Papers

Using MLIR Transform to Design Sliced Convolution Algorithm

2025-11-22 · Victor Ferrari, Marcio Pereira, Lucas Alvarenga, Gustavo Leite, Guido Araujo arxiv

This paper proposes SConvTransform, a Transform dialect extension that provides operations for optimizing 2D convolutions in MLIR. Its main operation, SConvOp, lowers Linalg convolutions into tiled and packed generic operations through a fully declarative transformation pipeline. The process is guided by a Convolution Slicing Analysis that determines tile sizes and data layout strategies based on input and filter shapes, as well as target architecture parameters. SConvOp handles edge cases by splitting irregular regions and adjusting affine maps where needed. All packing and tiling operations are derived from a parametric set of affine equations, enabling reusable and analyzable transformations. Although functional correctness was the primary goal of this work, the experimental evaluation demonstrates the effectiveness of SConvTransform, achieving good enough performance across different target architectures. Future work will focus on optimizing performance and porting to other target devices. When applied to standard convolution configurations, the generated code achieves up to 60% of peak performance on ARM SME and 67% on Intel AVX512. These results validate the benefit of combining static shape analysis with structured tiling and packing strategies within the MLIR Transform dialect. Furthermore, the modular design of SConvTransform facilitates integration with future extensions, enabling continued optimization of convolution workloads through MLIR's extensible compilation infrastructure.

📄 PDF Abstract BibTeX arXiv:2511.18222

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…

Advancing Direct Convolution using Convolution Slicing Optimization and ISA Extensions

2023-03-08 · Victor Ferrari, Rafael Sousa, Marcio Pereira, João P. L. de Carvalho 외

Convolution is one of the most computationally intensive operations that must be performed for machine-learning model inference. A traditional approach to compute convolutions is known as the Im2Col + BLAS method. This p…

BlockingCode Generation

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, …

MLIR: A Compiler Infrastructure for the End of Moore's Law

2020-02-25 · Chris Lattner, Mehdi Amini, Uday Bondhugula, Albert Cohen 외

This work presents MLIR, a novel approach to building reusable and extensible compiler infrastructure. MLIR aims to address software fragmentation, improve compilation for heterogeneous hardware, significantly reduce the…

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 …