Call CUDA kernel without parallel computing toolbox?

5 次查看(过去 30 天)
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.

回答(1 个)

Matt J
Matt J 2014-11-21
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.

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by