Effacer les filtres
Effacer les filtres

Is there any other option except MEX to run a CUDA-written code in Matlab?

1 vue (au cours des 30 derniers jours)
Moein Mozaffarzadeh
Moein Mozaffarzadeh le 27 Juil 2021
Hi,
I have written a CUDA function and made a MEX gateway to use it in Matlab. While it works fine in a for loop when i do not push the MEX function hard (inputs are large and i give it enough time with pause command between each iteration), it does not work fine if i push hard with small imput variables (which makes the processing faster).
My first question is that why this is happening. In the web, i have seen that other people had this issue, but i found no answer.
Second question: Is there any other way that I could use my CUDA-written code in Matlab?
Thanks in advance,
Moein.

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by