MATLAB Answers

Is "ismultithreaded" function exist?

1 view (last 30 days)
Is there a function to check if a MATLAB function is calculating in multithreaded computation approach? (Like "ismultithread(myfunction)")

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Dec 2018
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 .

  0 Comments

Sign in to comment.

More Answers (1)

Bruno Luong
Bruno Luong on 3 Dec 2018
Edited: Bruno Luong on 3 Dec 2018
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.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Products


Release

R2018b