Chapter 6

Multiple GPUs

Abstract

This chapter covers a hot topic about utilizing multiple GPUs. In this chapter, we present the use of multiple GPUs both on a multicore machine and on different machines. Multiple GPUs are used to improve the performance on task- or data-parallel codes and when working with data that cannot fit in the memory of a single GPU. This chapter includes a variety of examples, both didactical and real-world examples. After reading this chapter, you should be able to:

 understand MATLAB’s GPU programming features for utilizing multiple GPUs.

 execute the same code on different GPUs.

 use multiple GPUs to execute codes when working with data that cannot fit in the memory of a single GPU.

 utilize multiple GPUs ...

Get GPU Programming in MATLAB 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.