Call CUDA kernel without parallel computing toolbox?

5 vues (au cours des 30 derniers jours)
matt dash
matt dash le 21 Nov 2014
Réponse apportée : Matt J le 21 Nov 2014
Can anyone confirm whether or not it is possible to call a cuda kernel (ptx file) in Matlab without having the parallel computing toolbox (ie without using parallel.gpu.CUDAKernel) ?
I've seen "rumors" that it's possible to write a mex file that calls a kernel, and that this would not require the parallel computing toolbox... is this true?
I'm not looking for a detailed description of how to do it, just confirmation that it's possible.

Réponses (1)

Matt J
Matt J le 21 Nov 2014
Oliver Woodford insists here
that he has done it. It seems like a very painful thing to do, however, if you want data to persist on the graphics card between MEX calls, which I imagine to be very common. But, the thread talks about how to do that, too.

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by