poolsize.m
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
distrib_dim.m, end_disallow_gpu.m, isworkernode.m, parallel_profiler_report.m, parallel_profiler_start.m, save_anyway.m, smack.m, start_disallow_gpu.m, swizzle.m, Kernel_utilities
Version 2.3, authors: Ilya Kuprov