HackerPapers

arXiv:2003.00532cs.PF

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

Uday Bondhugula

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

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.

arXiv comments
Journal reference
DOI
Subjects
cs.PFPerformance

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jul 2020 to Jul 2020. Found in 1 HN submission from Mar 2020 to Mar 2020. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • For BLAS in particular, this paper can give you an idea of some of MLIR's capabilities: https://arxiv.org/pdf/2003.00532.pdf (But maybe you already know them better than I do.) LoopVectorization can't do many of these yet, so its performance will fall off a cliff shortly after…

      celrodView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.