Abstract

We introduce DISTAL, a compiler for dense tensor algebra that targets modern distributed and heterogeneous systems. DISTAL lets users independently describe how tensors and computation map onto target machines through separate format and scheduling languages. The combination of choices for data and computation distribution creates a large design space that includes many algorithms from both the past (e.g., Cannon's algorithm) and present (e.g., COSMA). DISTAL compiles a tensor algebra domain specific language to a distributed task-based runtime system and supports both nodes with multi-core CPUs and multiple GPUs. Code generated by DISTAL is competitive with optimized codes for matrix multiply on 256 nodes of the Lassen supercomputer and outperforms existing systems by between 1.8x to 3.7x (with a 45.7x outlier) on higher order tensor operations.

Article

pdf

Movie

BibTeX

@article{yadav2022,
  title={DISTAL: The Distributed Tensor Algebra Compiler},
  author={Rohan Yadav and Alex Aiken and Fredrik Kjolstad},
  journal={ACM SIGPLAN Conference on Programming Language Design and Implementation},
  year={2022},
  month={June}
}