What functions need GPU support
19 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Recently there are few posts about function that are not fully support gpuArray and could benefit from more intensive GPU support by TMW.
I open this thread so that users can submit their wishes and explain a typical user-case and why it is important for him/her to have this gpu feature.
I put here a list by category, but if one have a specific function that is not falling in any category, you are welcome to add it.
Basic array arithmetics and linear algebra seems pretty much well covered (?) but I do not know if something is missing in this huge library.
But these still need to be investigated.
- Optimization functions, especially the gradient method where the gradient calculation can be performed in parallel on GPU
- ODE functions where the Jacobian can be estimated in parallel
- Interpolation functions where the preparation step and inquiring step can be both parallelized
8 Commenti
Risposte (3)
Matt J
il 26 Ago 2023
Modificato: Matt J
il 26 Ago 2023
Sparse array indexing would be one example, e.g
>> A=gpuArray.speye(5)
A =
(1,1) 1
(2,2) 1
(3,3) 1
(4,4) 1
(5,5) 1
>> A(1,:)
Error using indexing
Sparse gpuArrays do not support indexing.
The lack of this might be the reason why some of what you've listed in the OP are not supported. A number of the Optimization Toolbox functions need to support indexing, I'm sure.
2 Commenti
Vedere anche
Categorie
Scopri di più su GPU Computing in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!