Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Compiler generation and autotuning of communication-avoiding operators for geometric multigrid

Conference ·
 [1];  [1];  [1];  [2];  [2];  [2]
  1. Univ. of Utah, Salt Lake City, UT (United States)
  2. Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States)

This paper describes a compiler approach to introducing communication-avoiding optimizations in geometric multigrid (GMG), one of the most popular methods for solving partial differential equations. Communication-avoiding optimizations reduce vertical communication through the memory hierarchy and horizontal communication across processes or threads, usually at the expense of introducing redundant computation. We focus on applying these optimizations to the smooth operator, which successively reduces the error and accounts for the largest fraction of the GMG execution time. Our compiler technology applies both novel and known transformations to derive an implementation comparable to manually-tuned code. To make the approach portable, an underlying autotuning system explores the tradeoff between reduced communication and increased computation, as well as tradeoffs in threading schemes, to automatically identify the best implementation for a particular architecture and at each computation phase. Results show that we are able to quadruple the performance of the smooth operation on the finest grids while attaining performance within 94% of manually-tuned code. Overall we improve the overall multigrid solve time by 2.5× without sacrificing programer productivity.

Research Organization:
Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)
Sponsoring Organization:
USDOE Office of Science (SC), Advanced Scientific Computing Research (ASCR) (SC-21)
DOE Contract Number:
AC02-05CH11231
OSTI ID:
1407166
Country of Publication:
United States
Language:
English

Similar Records

Compiler-based code generation and autotuning for geometric multigrid on GPU-accelerated supercomputers
Journal Article · 2017 · Parallel Computing · OSTI ID:1379823

Autotuning in High-Performance Computing Applications
Journal Article · 2018 · Proceedings of the IEEE · OSTI ID:1488544

Related Subjects