필터 지우기
필터 지우기

Running a Large Number of Small-Scale Optimization on GPU

조회 수: 6 (최근 30일)
JIAN XING
JIAN XING 2016년 4월 1일
댓글: Yashvardhan Agarwal 2023년 5월 10일
I'm running a simple optimization process(using Matlab quadprog command) many times (~40K and more). When run on CPU, a single optimization takes about 20s, which means the whole thing takes days. I am thinking about using GPU to perform the computation, however, it seems that quadprog does not support the gpuArray input. Right now, after some research, I believe my only option is to write the CUDA kernel myself. Am I missing something here? Is there another way to run many optimizations processes on GPU?
  댓글 수: 1
Yashvardhan Agarwal
Yashvardhan Agarwal 2023년 5월 10일
Hi Jian,
I am facing this same problem and was curious if you did find any solution for it. If not, then did you try to make a CUDA implementation for it and what were the results?
Your help is greatly appreciated.
Thank you.

댓글을 달려면 로그인하십시오.

채택된 답변

Ryan Povall
Ryan Povall 2016년 4월 4일
편집: Ryan Povall 2016년 4월 4일
Hi Jian,
I do not think you are missing anything. You are correct in that "quadprog" is not currently supported for gpuArray as seen in the following documentation page:
I can also see that the Optimization Toolbox is not currently supported for GPU computing as it's not listed in this following page:
There looks to be different options for running other optimization processes in parallel as seen in the below documentation page. However, "quadprog" is not listed and does not seem to be supported:
I hope this helps.
Ryan

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by