Chapter 1. OpenACC in a Nutshell

James Beyer, NVIDIA Sunita Chandrasekaran, University of Delaware Guido Juckeland, Helmholtz-Zentrum Dresden-Rossendorf

OpenACC1 is a high-level, directive-based programming model for C/C++ and Fortran. It is designed to require significantly less programming effort than using a low-level model to program heterogeneous high-performance computing (HPC) hardware architectures.

The OpenACC programming model is based on programmers inserting hints into their C/C++ or Fortran programs on how the code can be parallelized. The compiler runs the code on the hardware platform that is specified at the time of compilation. In this way, the compiler handles most of the complex details of the translations without burdening ...

Get OpenACC for Programmers: Concepts and Strategies, First Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.