フィルターのクリア

Can I use gpuArrays inside spmd blocks

2 ビュー (過去 30 日間)
Renu Dhadwal
Renu Dhadwal 2016 年 8 月 17 日
回答済み: Joss Knight 2016 年 8 月 20 日
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?

回答 (1 件)

Joss Knight
Joss Knight 2016 年 8 月 20 日
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.

カテゴリ

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