The memory behavior of cache oblivious stencil computations

37Citations
Citations of this article
33Readers
Mendeley users who have this article in their library.

Your institution provides access to this article.

Abstract

We present and evaluate a cache oblivious algorithm for stencil computations, which arise for example in finite-difference methods. Our algorithm applies to arbitrary stencils in n-dimensional spaces. On an "ideal cache" of size Z, our algorithm saves a factor of Θ(Z 1/n ) cache misses compared to a naive algorithm, and it exploits temporal locality optimally throughout the entire memory hierarchy. We evaluate our algorithm in terms of the number of cache misses, and demonstrate that the memory behavior agrees with our theoretical predictions. Our experimental evaluation is based on a finite-difference solution of a heat diffusion problem, as well as a Gauss-Seidel iteration and a 2-dimensional LBMHD program, both reformulated as cache oblivious stencil computations. © Springer Science+Business Media, LLC 2007.

Cite

CITATION STYLE

APA

Frigo, M., & Strumpen, V. (2007). The memory behavior of cache oblivious stencil computations. Journal of Supercomputing, 39(2), 93–112. https://doi.org/10.1007/s11227-007-0111-y

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free