fmincon running on GPU
Show older comments
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
Accepted Answer
More Answers (1)
Shivam Singh
on 2 Feb 2022
0 votes
2 Comments
CSCh
on 22 Jul 2024
Walter Roberson
on 22 Jul 2024
I doubt it. My logic at https://www.mathworks.com/matlabcentral/answers/1605350-fmincon-running-on-gpu#comment_1967900 still holds
Categories
Find more on Parallel Computing Fundamentals in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!