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

조회 수: 1 (최근 30일)
Rahim Rahim
Rahim Rahim 2020년 12월 15일
답변: Rahim Rahim 2020년 12월 16일
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.

답변 (2개)

Hiro Yoshino
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.

Rahim Rahim
Rahim Rahim 2020년 12월 16일
yup

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by