English

Devito: Towards a generic Finite Difference DSL using Symbolic Python

Mathematical Software 2016-09-13 v1 Performance

Abstract

Domain specific languages (DSL) have been used in a variety of fields to express complex scientific problems in a concise manner and provide automated performance optimization for a range of computational architectures. As such DSLs provide a powerful mechanism to speed up scientific Python computation that goes beyond traditional vectorization and pre-compilation approaches, while allowing domain scientists to build applications within the comforts of the Python software ecosystem. In this paper we present Devito, a new finite difference DSL that provides optimized stencil computation from high-level problem specifications based on symbolic Python expressions. We demonstrate Devito's symbolic API and performance advantages over traditional Python acceleration methods before highlighting its use in the scientific context of seismic inversion problems.

Keywords

Cite

@article{arxiv.1609.03361,
  title  = {Devito: Towards a generic Finite Difference DSL using Symbolic Python},
  author = {Michael Lange and Navjot Kukreja and Mathias Louboutin and Fabio Luporini and Felippe Vieira and Vincenzo Pandolfo and Paulius Velesko and Paulius Kazakas and Gerard Gorman},
  journal= {arXiv preprint arXiv:1609.03361},
  year   = {2016}
}

Comments

pyHPC 2016 conference submission

R2 v1 2026-06-22T15:46:53.407Z