User`s guide
6-3
toolboxes, see their respective release notes. Parallel Computing Toolbox is required to
access this functionality.
Performance improvements to GPU-enabled MATLAB functions and
random number generation
The performance of some MATLAB functions and random number generation on GPU
devices is improved in this release.
You now have a choice of three random generators on the GPU: the combined
multiplicative recursive MRG32K3A, the Philox4x32-10, and the Threefry4x64-20. For
information on these generators and how to select them, see Control the Random Stream
for gpuArray. For information about generating random numbers on a GPU, and a
comparison between GPU and CPU generation, see Control Random Number Streams.
Automatic detection and selection of specific GPUs on a cluster node
when multiple GPUs are available on the node
When multiple workers run on a single compute node with multiple GPU devices, the
devices are automatically divided up among the workers. If there are more workers than
GPU devices on the node, multiple workers share the same GPU device. If you put a GPU
device in 'exclusive' mode, only one worker uses that device. As in previous releases,
you can change the device used by any particular worker with the gpuDevice function.
More MATLAB functions enabled for distributed arrays, including sparse
constructor, bsxfun, and repmat
The following functions now support distributed arrays with all forms of codistributor (1-
D and 2DBC), or are enhanced in their support for this release:
atan2d
bsxfun
cell2struct
mrdivide
repmat
sparse
struct2cell
typecast
Note the following enhancements for some of these functions:
• cell2struct, struct2cell, and typecast now support 2DBC in addition to 1-D
distribution.