paralleling sequence of matrix multiplication
Afficher commentaires plus anciens
Hello
in my function, there are a lot of element wise matrix multiplication which are independent. is there a way to calculate them in parallel ?
all of theme are very simple operations, but 70% of my run time is for these part of code because this function invoked million times
Thank you
function [r1,r2,r3]=backward(A,B,C,D,E,F,r1,r2,r3)
r1=A.*B;
r2=C.*D;
r3=E*F;
end
Réponses (1)
Edric Ellis
le 20 Juin 2016
0 votes
There's a page in the Parallel Computing Toolbox doc that is specifically geared towards helping you choose how to speed up your algorithm using parallelism.
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!