May 2022
Intermediate to advanced
580 pages
18h 32m
English
With special contributions from Isaac Gelado and Javier Cabezas
This chapter introduces joint Message Passing Interface (MPI)/CUDA programming using the stencil pattern. It presents a sufficient number of basic MPI concepts for the reader to understand a simple MPI/CUDA program. It then focuses on the practical use of pinned memory and asynchronous data transfers to enable overlapping computation with communication. The chapter ends with an overview of how CUDA-aware MPI systems help to simplify the code and improve efficiency.
MPI; message passing; communication; overlapping communication with computation; asynchronous; domain partition; ...
Read now
Unlock full access