Do Optimization Toolbox functions use GPU?
조회 수: 6 (최근 30일)
이전 댓글 표시
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
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!