Call CUDA kernel without parallel computing toolbox?
5 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Matt J
on 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.
0 Comments
See Also
Categories
Find more on GPU Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!