Integrating ODES on GPU?
显示 更早的评论
Hi there: I am having a tough time integrating odes on my GPU in MATLAB. I have tried MATLAB ode solvers which, of course, didn't work. I tried a simple Euler solver to execute through 'arrayfun' which didn't worked either. It looks like a lot of functionality is not yet supported for computation on GPUs. Please help me out if I am not aware of something or if there is an easy way out. I am running MATLAB R2011b on Windows 8. Thanks, Shiv
5 个评论
Shiv Tewari
2012-12-30
Matt J
2012-12-30
If you only have "several" ODEs, it sounds like a parallel CPU implementation, e.g., using parfor, may be more suitable than a gpu driven approach.
Carlos Ricagno
2015-10-29
I have the same problem, parfor is a good option, but i need more power, If somebody knows how to implement ode in gpu would be great,
Tuan Pham
2017-3-8
I am also in need of an ode in gpu and was wondering if any resources are available in MATLAB?
采纳的回答
更多回答(1 个)
majid
2019-1-6
2 个投票
Have you made any progress Shiv?! I could not find any material regarding CUDA and ODE for Matlab! Any help is appreciated.
3 个评论
Vipul Singhal
2020-5-18
Just want to echo this question. Would love to see if someone has made progress in this direction. I think doing things like parameter estimation / sensitivity analysis would be greatly accelerated if we could figure out how to run an ODE on a GPU.
Hamid Osooli
2020-7-26
Try this one
https://github.com/astroHaoPeng/ode45gpu
Gonzalo Villegas Curulla
2024-1-26
Dear Hamid,
Please inspect the error message below when running Test_02_RTBP.m in your github repo:
"
Error using gpuArray/arrayfun
Unable to resolve the function handle.
Error in Test_02_RTBP (line 36)
[TGPU,YGPU1,YGPU2,YGPU3,YGPU4,YGPU5,YGPU6,FLAG] =
arrayfun(@ode45GPU_simple,tspan(1),tspan(end),y0GPU(:,1),y0GPU(:,2),y0GPU(:,3),y0GPU(:,4),y0GPU(:,5),y0GPU(:,6),AbsTol,RelTol,0.001,mu,e);
"
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!