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 ...

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.