fmincon running on GPU
이전 댓글 표시
Hi
I implemented a modified copy of this example.
I tried to run it on GPU
but if I try to convert the inputs (dlR,..) from alarrays to gpuarray's, I got the error
objFun = @(parameters) objectiveFunction(parameters,dlR,dlTheta,dlT,dlR0,dlTheta0,dlT0,dlUr0,parameterNames,parameterSizes);
"FMINCON requires all values returned by functions to be of data type double."
So how can I run this example with GPU power?
Best regards,
Chris
채택된 답변
추가 답변 (1개)
Shivam Singh
2022년 2월 2일
0 개 추천
댓글 수: 2
CSCh
2024년 7월 22일
Walter Roberson
2024년 7월 22일
I doubt it. My logic at https://www.mathworks.com/matlabcentral/answers/1605350-fmincon-running-on-gpu#comment_1967900 still holds
카테고리
도움말 센터 및 File Exchange에서 Parallel and Cloud에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!