English

Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Code

Programming Languages 2018-12-21 v5 Distributed, Parallel, and Cluster Computing Mathematical Software Neural and Evolutionary Computing Performance

Abstract

This paper introduces Tiramisu, a polyhedral framework designed to generate high performance code for multiple platforms including multicores, GPUs, and distributed machines. Tiramisu introduces a scheduling language with novel extensions to explicitly manage the complexities that arise when targeting these systems. The framework is designed for the areas of image processing, stencils, linear algebra and deep learning. Tiramisu has two main features: it relies on a flexible representation based on the polyhedral model and it has a rich scheduling language allowing fine-grained control of optimizations. Tiramisu uses a four-level intermediate representation that allows full separation between the algorithms, loop transformations, data layouts, and communication. This separation simplifies targeting multiple hardware architectures with the same algorithm. We evaluate Tiramisu by writing a set of image processing, deep learning, and linear algebra benchmarks and compare them with state-of-the-art compilers and hand-tuned libraries. We show that Tiramisu matches or outperforms existing compilers and libraries on different hardware architectures, including multicore CPUs, GPUs, and distributed machines.

Keywords

Cite

@article{arxiv.1804.10694,
  title  = {Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Code},
  author = {Riyadh Baghdadi and Jessica Ray and Malek Ben Romdhane and Emanuele Del Sozzo and Abdurrahman Akkas and Yunming Zhang and Patricia Suriana and Shoaib Kamil and Saman Amarasinghe},
  journal= {arXiv preprint arXiv:1804.10694},
  year   = {2018}
}

Comments

arXiv admin note: substantial text overlap with arXiv:1803.00419

R2 v1 2026-06-23T01:38:40.094Z