Use multiple Cuda Stream in a GPU compute with Matlab ?
1 次查看(过去 30 天)
显示 更早的评论
Hello, In my code Matlab, i have a for loop with inside a arrayfun to compute on the GPU device. I want to buy a new GPU card with the hyper-Q and cuda stream capability. So I have to know if it's possible to apply the multiple Cuda Stream to my code instead of the for loop to accelerate it.
0 个评论
回答(2 个)
Matt J
2014-2-24
I'm pretty confident you could do it using a dedicated MEX file, which then calls a .cu file.
I don't think the Parallel Computing Toolbox let's you do it, however. Not as of R2013, anyway.
Dimitris Floros
2015-12-28
Just replying to see if you have you found a solution from within MATLAB environment. I am searching for something similar and I don't want to use .MEX because I will have to implement the functions outside MATLAB.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!