Multithreading Caffe aplication with Matlab engine

5 ビュー (過去 30 日間)
Parual Datta
Parual Datta 2017 年 1 月 16 日
コメント済み: Guillermo Soriano 2023 年 12 月 14 日
I am using parallel computing tool box to run two threads out of which one is calling Caffe and other is utilizing outputs of previous Caffe call.
Any one have any idea whether both the threads share the same Matlab workspace or not?

採用された回答

Walter Roberson
Walter Roberson 2017 年 1 月 16 日
No. At most futures that happened to get dispatched to the same worker might have access to the same workspace.
I do not know the extent to which two futures on the same worker might be able to share objects; plausibly they might be able to use assignin('base') or per-worker "global" to access the same memory.
If you have two futures that might have been assigned to different workers, then you have to pull the values from the first future into the main thread before dispatching to the other future.
  1 件のコメント
Guillermo Soriano
Guillermo Soriano 2023 年 12 月 14 日
Good morning. That future you menthioned before... have arrived today december 2023?
I need to run two GUI`s at the same time. I tryed with parpool but without success

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeParallel Computing Fundamentals についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by