Call CUDA kernel without parallel computing toolbox?

5 ビュー (過去 30 日間)
matt dash
matt dash 2014 年 11 月 21 日
回答済み: Matt J 2014 年 11 月 21 日
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 Center および File ExchangeGPU Computing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by