About Pochoir

Pochoir Team

Current Release


Road map

Welcome to Pochoir

The Pochoir Stencil Compiler

Pochoir (pronounced "PO-shwar") is a compiler and run-time system for implementing stencil computations on multicore processors. A stencil defines the value of a grid point in a d-dimensional spatial grid at time t as a function of neighboring grid points at recent times before t. A stencil computation computes the stencil for each grid point over many time steps.

In Pochoir, user typically just need to specify his /or her stencil computing kernel and boundary conditions in an embedded domain specific language in C++. Depending on the purpose of checking functional correctness or performance, user can employ either a native C++ compiler or Pochoir compiler to compile and run his /or her code. If the user employs the Pochoir compiler, the basic parallelization and optimization strategy of Pochoir is divide-and-conquer (cache-oblivious algorithm). In higher dimensional space-time grid, Pochoir employs a novel cutting strategy of Hyper-Space cut.

Pochoir is an open source software project hosted by SuperTech group at CSAIL, MIT. You are invited to contribute in many forms (documentation, translation, writing code, fixing bugs, porting to other platforms...).

The Pochoir package contains three (3) main components: an embedded domain specific language (EDSL) in native C++ for stencil, a C++ template run-time library, and a domain specific compiler to optimize the performance at compile-time.

The Pochoir EDSL is native C++, the library is C++ template library, and the DSL compiler is written in Haskell. Currently, the Pochoir package is only tested on Linux system.

Pochoir Team

The project is jointly developed by SuperTech group at MIT and MIT applied math department, Intel Corp, and Fudan University. The core team includes:


The Pochoir Stencil Compiler, Yuan Tang, Rezaul Alam Chowdhury, Bradley C. Kuszmaul, Chi-Keung Luk, and Charles E. Leiserson, page 117-128, 23rd ACM Symposium on Parallelism in Algorithms and Architectures (SPAA'2011), 2011.

Coding Stencil Computations Using the Pochoir Stencil-Specification Language, Yuan Tang, Rezaul Alam Chowdhury, Chi-Keung Luk, Charles E. Leiserson, proceedings of 3rd USENIX Workshop on Hot Topics in Parallelism (HotPar'11), 2011.


Current Release

Pochoir 0.5 is now released (Feb. 2011)

Please send your name and affiliation to Pochoir Development List to let us know that you are interested in using Pochoir, so that we can provide better technical support to all our known customers, which includes bug fix, new release notification, new feature incorporation, etc.

Pochoir is covered by the GNU Public License version 3.0


The Pochoir project is supported in part by a grant from Intel Corporation and in part by the NSF Grant CCF-0937860 and CNS-1017058.

Yuan Tang
Date: 2012-06-04

Copyright    2010-2012 Yuan Tang and Charles E. Leiserson, All Rights Reserved.