Parallel and GPU Computing Tutorials
Parallel Computing Toolbox™ helps you take advantage of multicore computers and GPUs. The videos and code examples included below are intended to familiarize you with the basics of the toolbox. They can help show how to scale up to large computing resources such as clusters and the cloud. (Scaling up requires access to MATLAB Parallel Server™.)
Part 1: Product Landscape Get an overview of parallel computing products used in this tutorial series.
Part 2: Prerequisites and Setting Up Review hardware and product requirements for running the parallel programs demonstrated in Parallel Computing Toolbox tutorials.
Part 3: Quick Success with parfor
Review an introductory parfor
example using Parallel Computing Toolbox.
Part 4: Deeper Insights into Using parfor
Convert for
-loops to parfor
-loops, and learn about factors governing the speedup of parfor
-loops using Parallel Computing Toolbox.
Part 5: Batch Processing
Offload serial and parallel programs using batch
command, and use the Job Monitor.
Part 6: Scaling to Clusters and Cloud Learn about considerations for using a cluster, creating cluster profiles, and running code on a cluster with MATLAB Parallel Server.
Part 7: spmd - Parallel Code Beyond parfor Execute code simultaneously on workers, access data on worker workspaces, and exchange data between workers using Parallel Computing Toolbox and MATLAB Parallel Server.
Part 8: Distributed Arrays Perform matrix math on very large matrices using distributed arrays in Parallel Computing Toolbox.
Part 9: GPU Computing with MATLAB Learn about using GPU-enabled MATLAB functions, executing NVIDIA CUDA code from MATLAB, and performance considerations.