sequential block of code inside parallel section
13 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am trying to do some operations inside a parallel section sequentially.
In every parallel framework that I have worked with, there is something like mutexes, semaphores, critical etc which allow you to do this.
Matlab lacks this features and a relevant submission that I found in the file exchange, which was also suggested by a mathworks engineer in another question, was full of persistent variables which could possibly lead to bugs.
Any ideas?
thanks
1 件のコメント
Sarah Wait Zaranek
2012 年 12 月 27 日
Anastasios - Which parallel construct are you using? Parfor, spmd?
回答 (1 件)
Walter Roberson
2012 年 12 月 27 日
Unfortunately mutexes over networks are difficult. See e.g., the discussion http://www.mathworks.com/matlabcentral/newsreader/view_thread/279510
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!