Borrar filtros
Borrar filtros

Can I use gpuArrays inside spmd blocks

2 visualizaciones (últimos 30 días)
Renu Dhadwal
Renu Dhadwal el 17 de Ag. de 2016
Respondida: Joss Knight el 20 de Ag. de 2016
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?

Respuestas (1)

Joss Knight
Joss Knight el 20 de Ag. de 2016
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.

Categorías

Más información sobre GPU Computing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by