High Performance Code Generation in MLIR: An Early Case Study with GEMM

Uday Bondhugula
DOI: https://doi.org/10.48550/arXiv.2003.00532
2020-03-01
Performance
Abstract:This article is primarily meant to present an early case study on using MLIR, a new compiler intermediate representation infrastructure, for high-performance code generation. Aspects of MLIR covered in particular include memrefs, the affine dialect, and polyhedral utilities and pass infrastructure surrounding those. This article is also aimed at showing the role compiler infrastructure could play in generating code that is competitive with highly tuned manually developed libraries, albeit in a more modular, reusable, and automatable way.
What problem does this paper attempt to address?