Differences createCommunicatingJob( ..., 'Type','pool') and ...'Type', 'SPMD')
显示 更早的评论
I'm just introducing myself into Parallel Computing Toolbox and trying to organize all its functionality - for better understanding purposes.
Now, I'm wondering:
- createJob(...) creates an Independent Job (check!)
- createCommunicatingJob(..., 'Type', 'SPMD') creates a communcating Job which runs simulatneously on all workers, due to synchronized interprocess communication purposes, bla, bla... (check!)
BUT:
- createCommunicatingJob(..., 'Type', 'Pool') creates a communicating Job which: A 'pool' job runs the specified task function with a MATLAB pool available to run the body of parfor loops or spmd blocks.
WHAT?!?:
- the inside of a parfor loop? parfor is independent so, why classifying as CommunicatingJob? (hmm#1)
- spmd tasky must be run simultaneously .. otherwise communication might be quite tricky ... (hmm#2)
So, where's my understanding problem ...? I'm a little ... confused ...
Enlightenment whished-for ... :)
Cheers, Tobi
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Job and Task Creation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!