Tutorial: Parallel and GPU Computing with MATLAB (7 of 9): spmd: Parallel Code beyond parfor

Tutorial on Parallel and GPU Computing with MATLAB (7 of 9)
929 Downloads
Updated 1 Sep 2016

View License

This submission contains code examples used in part 7 of the tutorial series on Parallel and GPU Computing with MATLAB. This part covers the following topics: executing code simultaneously on workers, accessing data on worker workspaces, and exchanging data between workers using Parallel Computing Toolbox™ and MATLAB Distributed Computing Server™.
Complete tutorial series is available here:
http://www.mathworks.com/products/parallel-computing/tutorials.html

Cite As

MathWorks Parallel Computing Toolbox Team (2026). Tutorial: Parallel and GPU Computing with MATLAB (7 of 9): spmd: Parallel Code beyond parfor (https://in.mathworks.com/matlabcentral/fileexchange/46708-tutorial-parallel-and-gpu-computing-with-matlab-7-of-9-spmd-parallel-code-beyond-parfor), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on GPU Computing in Help Center and MATLAB Answers
Tags Add Tags

7_ExampleCode_SPMD_ParallelCodeBeyondparfor/

Version Published Release Notes
1.3.0.1

Updated license

1.3.0.0

Updated comments

1.2.0.0

Updated code to match the latest tutorials

1.1.0.0

updated description