Who can I use GPU to speed up my Matlab code?
1 次查看(过去 30 天)
显示 更早的评论
I have a lot of a lot of loops inside each other, I want to use my GPU or a way to speed up the running of my code.
0 个评论
回答(2 个)
Hiro Yoshino
2020-12-15
Please take a look at this page.
You should try to avoid using loops if possible and try to convert them to matrix-based calculations.
If it is inevitable, you can check the bottole necks and compile them as .mex files.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!