Skip to main content
U.S. flag

An official website of the United States government

Publication Date
18 April 2015

A Case Study of CUDA FORTRAN and OpenACC for an Atmospheric Climate Kernel

Authors

Author

The porting of a key kernel in the tracer advection routines of the Community Atmosphere Model – Spectral Element (CAM-SE) to use Graphics Processing Units (GPUs) using OpenACC is considered in comparison to an existing CUDA FORTRAN port. The development of the OpenACC kernel for GPUs was substantially simpler than that of the CUDA port. Also, OpenACC performance was about 1.5× slower than the optimized CUDA version. Particular focus is given to compiler maturity regarding OpenACC implementation for modern FORTRAN, and it is found that the Cray implementation is currently more mature than the PGI implementation. Still, for the case that ran successfully on PGI, the PGI OpenACC runtime was slightly faster than Cray. The results show encouraging performance for OpenACC implementation compared to CUDA while also exposing some issues that may be necessary before the implementations are suitable for porting all of CAM-SE. Most notable are that GPU shared memory should be used by future OpenACC implementations and that derived type support should be expanded.

“A Case Study Of Cuda Fortran And Openacc For An Atmospheric Climate Kernel”. 2015. A Case Study Of Cuda Fortran And Openacc For An Atmospheric Climate Kernel 9: 1-6. doi:10.1016/j.jocs.2015.04.022.
Funding Program Area(s)