How to parallelize many small SVD's on a GPU

13 visualizzazioni (ultimi 30 giorni)
I'm computing SVD's of millions of small (e.g. 5 x 10) matrices. It is surprisingly fast as a for-loop on the CPU, however I need the computation to be even faster and would like to know if parallelization can be leveraged on a GPU. SVD doesn't currently appear to be a function supported by pagefun for gpuArray objects. I'm using R2020a and the Parallel Computing toolbox. Thanks

Risposta accettata

Christine Tobler
Christine Tobler il 9 Dic 2021
As of R2021b, there is a function pagesvd which is supported on both CPU and distributed arrays. It's not supported for gpuArray as of now.
  7 Commenti
Joss Knight
Joss Knight il 18 Dic 2021
gpuArray/pagesvd coming next year, watch this space...
Tim
Tim il 18 Dic 2021
Great news, thank you Joss

Accedi per commentare.

Più risposte (1)

Matt J
Matt J il 9 Dic 2021
Modificato: Matt J il 9 Dic 2021
SVD doesn't currently appear to be a function supported by pagefun for gpuArray objects
Perhaps not for gpuArrays, but it is supported for distributed arrays:

Categorie

Scopri di più su Linear Algebra in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by