Is "ismultithreaded" function exist?

1 回表示 (過去 30 日間)
Pierre Harouimi
Pierre Harouimi 2018 年 12 月 3 日
回答済み: Walter Roberson 2018 年 12 月 3 日
Is there a function to check if a MATLAB function is calculating in multithreaded computation approach? (Like "ismultithread(myfunction)")

採用された回答

Walter Roberson
Walter Roberson 2018 年 12 月 3 日
Decision about using threading is left up to the execution engine . Some patterns of calculation can be converted into calls to BLAS or LAPACK but the execution engine only does so if the array are large enough with the boundary size depending on the particular pattern . Therefore whether particular code uses threading or not depends on the size of input and might not be possible to analyse statically .

その他の回答 (1 件)

Bruno Luong
Bruno Luong 2018 年 12 月 3 日
編集済み: Bruno Luong 2018 年 12 月 3 日
Not that I'm aware of, in any case they will give out such information since they (TMW) have a habit to consider speed optimization is their buisiness.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by