paralleling sequence of matrix multiplication
6 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Edric Ellis
on 20 Jun 2016
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.
0 Comments
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!