Is "ismultithreaded" function exist?
1 次查看(过去 30 天)
显示 更早的评论
Is there a function to check if a MATLAB function is calculating in multithreaded computation approach? (Like "ismultithread(myfunction)")
0 个评论
采纳的回答
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 .
0 个评论
更多回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!