Difference between revisions of "Poolsize.m"
(Created page with "{{DISPLAYTITLE:poolsize.m}} __NOTOC__ Returns the current parallel pool size. ==Syntax== n=poolsize() ==Outputs== n - number of workers in the current...") |
(→See also) |
||
| Line 15: | Line 15: | ||
==See also== | ==See also== | ||
| − | [[ | + | [[Kernel_utilities#Parallelisation_and_GPUs|Parallelisation and GPUs]] |
''Version 2.3, authors: [[Ilya Kuprov]]'' | ''Version 2.3, authors: [[Ilya Kuprov]]'' | ||
Revision as of 14:08, 17 May 2025
Returns the current parallel pool size.
Syntax
n=poolsize()
Outputs
n - number of workers in the current
parallel pool
Notes
When this function is invoked from inside parfor, spmd, or asynchronous parallel job, it returns zero.
See also
Version 2.3, authors: Ilya Kuprov