How to enable multi-core CPU processing during MATLAB code running?
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MATLAB is used in my academic projects, but after buying a new laptop with a powerful processor, I found that only 1 core is being used when the software is under load or processing codes.
But,Now the question is, is there any way to distribute the processing load of the operations on all CPU cores of the system by making appropriate settings, so that both processing power and speed increase?
0 Commenti
Risposte (1)
Jan
il 22 Nov 2022
It depends on the code. Many functions are multithreaded and use more cores for large inputs. This applies e.g. to sum(), filter(), and functions, which calls BLAS libraries internally as matrix multiplications.
Codes can be run in parallel also using parfor or spmd, which require the Parallel Processing Toolbox. Then you can run calculations on the GPU also.
0 Commenti
Vedere anche
Categorie
Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!