GPU computing for Optimization & Global Optimization TB

답변 (1개)

Matt J
Matt J 2014년 11월 19일
편집: Matt J 2014년 11월 19일

1 개 추천

You can use any MATLAB code to implement and accelerate your objective function and constraint functions, including any code like gpuArray that invokes the GPU.
Other than the part supplied by you, however, I'm not aware of anything in the Optimization Toolboxes that would use the GPU. There is the 'UseParallel' option parameter that you can use to make behind-the-scenes operations in the optimization algorithms take advantage of the Parallel Computing Toolbox, if you have that toolbox as well. However, as far as I'm aware, that will only take advantage of multi-core CPUs and not the GPU.
I wonder to myself whether there is even any behind-the-scenes functionality that is sufficiently parallel to benefit from the GPU. Some of the the linear equation solving done to calculate search directions might, I suppose. On the other hand, that calculation would need to transfer data to/from the GPU and could incur significant communication overhead, except maybe on very recent graphics cards.

카테고리

도움말 센터File Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

태그

질문:

2014년 11월 19일

편집:

2014년 11월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by