Do Optimization Toolbox functions use GPU?

6 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2020 年 2 月 7 日
回答済み: MathWorks Support Team 2020 年 3 月 30 日
I want to use "lsqnonlin" with a GPU in order to speed up the calculations. Is it possible to use a GPU?

採用された回答

MathWorks Support Team
MathWorks Support Team 2020 年 2 月 7 日
Optimization Toolbox functions currently do not support GPU arrays. Note that no Optimization Toolbox functions are listed in the functions with GPU array extended capability list in documentation page in <https://www.mathworks.com/help/matlab/referencelist.html?type=function&capability=gpuarrays>.
However, there is a flag 'UseParallel' in the optimization options which can be set to allow gradient computations to be parallelized with the use of the Parallel Computing Toolbox. More information can be found in the documentation page in <https://www.mathworks.com/help/optim/ug/lsqnonlin.html?searchHighlight=lsqnonlin&s_tid=doc_srchtitle#buuhch7-options>.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeNonlinear Optimization についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by