O'Reilly logo

Parallel Programming with OpenACC by Rob Farber

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5

Advanced data management

Mathew Colgrove     The Portland Group (PGI), Beaverton, OR, United States

Abstract

The purpose of this chapter is to teach the reader how to manage aggregate data structures, utilize global variables, and create device only data.

At the end of this chapter the reader will have a basic understanding of:

 Unstructured data regions

 Working with aggregate types with dynamic data members

 C++ class data management

 Using global static and Fortran module variables in device routines

 How to create device only data

 Sharing device memory between Message Passing Interface (MPI) processes

Keywords

Enter; Exit; Unstructured data; Class; Declare; Create; acc_map_data; acc_malloc; MPI ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required