Introduction to GPU programming in MATLAB
Abstract
This chapter covers one of the most important topics of this book, the inherent GPU programming features that MATLAB provides. More specifically, this chapter introduces the GPU arrays, which are arrays that are stored on GPUs. These arrays can be used in computations by built-in MATLAB functions for GPUs, and element-wise MATLAB operations. This chapter includes a variety of examples, including both didactical and real-world examples. After reading this chapter, you should be able to:
• understand MATLAB’s GPU programming features.
• transfer arrays between the MATLAB workspace and the GPU.
• execute code on GPU using GPU-enabled built-in MATLAB functions.
• execute code on GPU ...
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.