Eigendecomposition not fully utilizing all cores on M1 pro, matlab 2025b
Show older comments
Is there any way to speed up the computation of a spectral decomposition on a apple silicon mac m1 pro in matlab 2025b when the matrix is large? The following observation were made on Mac OS Sequoia I notice that not all my cores are fully utilized in the activity monitor. The Cholesky decomposition is more than 10x faster and utilizes all cores in the activity manges
Evaluating the following code takes about 10s with n=40,h =60, and about 6s with n=30,h=60.
Edited: Update to Mac Os Tahoe improved performance and performance core were fully utilized in activity manager.
n= 40;
h = 60;
Adraw = randn(n*h,n*h);
Sigma = Adraw*Adraw';
tic
for iter = 1 : 10
[V,D] = eig(Sigma);
end
toc
Accepted Answer
More Answers (1)
Categories
Find more on Linear Algebra 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!