How to use all CPU cores
58 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ng Yong Jie
am 24 Jan. 2022
Beantwortet: Aashita Dutta
am 27 Jan. 2022
I have 16 cores and 32 logical processors but only 16 out of the 32 processors are being used for my Matlab which takes very long run time. How can I make my computer to utilize all of the CPU and processors?
0 Kommentare
Akzeptierte Antwort
Aashita Dutta
am 27 Jan. 2022
As per my understanding, you are trying to fully utilize all CPU logical processors for faster execution of the program.
To resolve this issue, you can leverage ‘Parallel Computing Toolbox’ that accelerates workflow using multicore processors where ‘Parallel for-Loops’ (Section 2) can help execute loops parallelly. Also ‘Profiling’ is helpful to investigate parts of code where the most time is spent.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!