Architecture and performance of Devito, a system for automated stencil computation

by   Fabio Luporini, et al.
Georgia Institute of Technology
Imperial College London

Stencil computations are a key part of many high-performance computing applications, such as image processing, convolutional neural networks, and finite-difference solvers for partial differential equations. Devito is a framework capable of generating highly-optimized code given symbolic equations expressed in Python, specialized in, but not limited to, affine (stencil) codes. The lowering process -- from mathematical equations down to C++ code -- is performed by the Devito compiler through a series of intermediate representations. Several performance optimizations are introduced, including advanced common sub-expressions elimination, tiling and parallelization. Some of these are obtained through well-established stencil optimizers, integrated in the back-end of the Devito compiler. The architecture of the Devito compiler, as well as the performance optimizations that are applied when generating code, are presented. The effectiveness of such performance optimizations is demonstrated using operators drawn from seismic imaging applications.


page 1

page 2

page 3

page 4


Automated Code Optimization with E-Graphs

This thesis proposes an advanced, generic and high-level code rewriting ...

Utilizing Static Analysis and Code Generation to Accelerate Neural Networks

As datasets continue to grow, neural network (NN) applications are becom...

Optimised finite difference computation from symbolic equations

Domain-specific high-productivity environments are playing an increasing...

Temporal blocking of finite-difference stencil operators with sparse "off-the-grid" sources

Stencil kernels dominate a range of scientific applications, including s...

TSFC: a structure-preserving form compiler

A form compiler takes a high-level description of the weak form of parti...

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

This article is primarily meant to present an early case study on using ...

ProtoX: A First Look

We present a first look at ProtoX, a code generation framework for stenc...

Please sign up or login with your details

Forgot password? Click here to reset