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

1 visualización (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre MATLAB Compiler en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by