Fireiron

Authors:

Abstract
High GPU performance can only be achieved if a kernel efficiently uses the multi-layered compute and memory hierarchies. For example, accelerators such as NVIDIA ?s Tensor Cores require specific mappings of threads to data that must be considered in data movements to and from registers. Current compilers struggle to match the performance of vendor libraries like cu BLAS , which are developed by experts in assembly. This manual low-level coding is time-consuming and complicates to unlock the full GPU potential, preventing experimentation to achieve even higher performance. In this paper we introduce Fireiron, a scheduling language aimed at performance experts. Fireiron provides high-level abstractions for expressing GPU optimizations that are unavailable to compilers today and which so far must be written in assembly. Our innovation is that both computations and data movements are first class concepts that can be separately mapped to threads, as required for the efficient use of specialized hardware like Tensor Cores. We evaluate Fireiron on three GPU architectures against expert-written advanced matrix multiplications. First, we show that Fireiron schedules are able to express the strategies of these implementations requiring about 6× less lines of code. Second, we show that the code generated by Fireiron schedules outperforms the fastest implementations (provided by cu BLAS ) by more than 2×.
Funding Information
  • CONIX Research Center, one of six centers in JUMP, a Semiconductor Research Corporation (SRC) program sponsored by DARPA (CMU 1042741-394324 AM01)
  • Adobe
  • NSF joint research center for Computer Assisted Programming for Heterogeneous Architectures (CCF-1723352)
  • Defense Advanced Research Projects Agency (FA8750--14--C--0011, FA8750--16--2--0032)
  • Qualcomm
  • NSF (ACI OAC--1535191, FMitF CCF-1918027, OIA-1936731)
  • Facebook
  • Google
  • Intel Corporation

This publication has 10 references indexed in Scilit: