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 CenterFile Exchange에서 Get 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