Does MATLAB auto parallelize
显示 更早的评论
I recently started becoming familiar with pfor and the parallel programming toolbox. In discussing this with a colleague it was mentioned that MATLAB may do some parallelizing under the hood.
Is this true?
The reason its important is that we are evaluating performance of prototype algorithms in matlab that are to be converted to C++. Past experience has show that expertly written matlab may come out 2 times faster in C/C++ but matlab written by mortals (not fully vectorized) can gain a factor of 10 or more in speed when rewritten in C/C++.
Thanks for the information.
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!