What Parallel Computing Toolbox functionality can be used without breaking the code for users without PCT?
显示 更早的评论
I am working with a codebase where a simulation is run on a large parameter grid. Usually the total number of independent simulations is anywhere between a couple hundered and a couple thousand with one simulation taking something of the order of 1s to execute. Since the individual simulations are independent, this seems like a perfect candidate for parallelization. However, since not all collaborators have access to the Parallel Computing Toolbox (PCT), I'd like to make the changes in a way that doesn't break the code for people without PCT.
I am aware that parfor runs just a regular for-loop for users who don't have the PCT. Is there other PCT-funcionality that can be used safely without breaking the code for other people? And if so, is there a comprehensive list of said functionality somewhere? What should be considered to keep the performance penalty for users without PCT to a minimum?
采纳的回答
更多回答(0 个)
类别
显示更多
在 帮助中心 和 File Exchange 中查找有关 Parallel for-Loops (parfor) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!