Mint: realizing CUDA performance in 3D stencil methods with annotated C

Didem Unat, Xing Cai, Scott B. Baden
University of California, San Diego, La Jolla, CA, USA
Proceedings of the international conference on Supercomputing, ICS ’11, 2011


   title={Mint: realizing CUDA performance in 3D stencil methods with annotated C},

   author={Unat, D. and Cai, X. and Baden, S.B.},

   booktitle={Proceedings of the international conference on Supercomputing},





Download Download (PDF)   View View   Source Source   Source codes Source codes




We present Mint, a programming model that enables the non-expert to enjoy the performance benefits of hand coded CUDA without becoming entangled in the details. Mint targets stencil methods, which are an important class of scientific applications. We have implemented the Mint programming model with a source-to-source translator that generates optimized CUDA C from traditional C source. The translator relies on annotations to guide translation at a high level. The set of pragmas is small, and the model is compact and simple. Yet, Mint is able to deliver performance competitive with painstakingly hand-optimized CUDA. We show that, for a set of widely used stencil kernels, Mint realized 80% of the performance obtained from aggressively optimized CUDA on the 200 series NVIDIA GPUs. Our optimizations target three dimensional kernels, which present a daunting array of optimizations.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2020 hgpu.org

All rights belong to the respective authors

Contact us: