フィルターのクリア

How to use all CPU cores

58 ビュー (過去 30 日間)
Ng Yong Jie
Ng Yong Jie 2022 年 1 月 24 日
回答済み: Aashita Dutta 2022 年 1 月 27 日
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?

採用された回答

Aashita Dutta
Aashita Dutta 2022 年 1 月 27 日
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.
For more information, please refer to the Parallel Computing document.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by