Who can I use GPU to speed up my Matlab code?

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.

Réponses (2)

Hiro Yoshino
Hiro Yoshino le 15 Déc 2020

0 votes

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.

Catégories

En savoir plus sur Get Started with GPU Coder dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by