Chapter 9

Accelerating 3D wave equations using OpenACC

Ty McKercher     NVIDIA Corporation, Houston, TX, United States

Abstract

The purpose of this chapter is to learn how to express parallelism for a 3D finite difference code using OpenACC directives. It is common for scientific and engineering communities to use finite difference methods to solve partial differential equations.

After completing this chapter, you will have a basic understanding of:

 A finite difference code

 How to convert OpenMP code to OpenACC

 Practical techniques to profile and analyze performance behavior of finite difference codes

 How to use Unified Memory with OpenACC

 Testing portability targets including multicore systems

Keywords

OpenACC; ...

Get Parallel Programming with OpenACC 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.