Have you tried? ;-) Yes, you can and it is advised. But if you only have one GPU and it's doing all the computation, you may not see much benefit from the additional parallelisation on the CPU.
Can I use gpuArrays inside spmd blocks
2 次查看(过去 30 天)
显示 更早的评论
I am using spmd to run the same program on 4 sets of data. In one of the functions I need to do matrix operations on very huge matrices. Is it possible/advisable to use gpuArray here?
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!