MATLAB Answers

Parallel computing - hyperthreading

21 ビュー (過去 30 日間)
David Vidal
David Vidal 2020 年 5 月 31 日
コメント済み: David Vidal 2020 年 6 月 1 日
Hi guys,
I am looking for a new computer, and i would like to know if matlab already allows for hyperthreading and the use of logical cores.
In the past I always read that it was not possible. But in recent "answers" (see https://es.mathworks.com/matlabcentral/answers/125161-hyperthreading-number-of-cores-parallel-computing-toolbox) it seems that new versions of matlab also allow the use of the logical cores. Could anyone give any information in this regard?
Thank you very much

  0 件のコメント

サインインしてコメントする。

採用された回答

Kojiro Saito
Kojiro Saito 2020 年 6 月 1 日
編集済み: Kojiro Saito 2020 年 6 月 1 日
From R2016b, you can use multi threads on each Parallel Computing Toolbox's worker by configuring NumThreads.
Also, from R2020a, you can use thread-based parallel pool by the following.
parpool('threads')
It depends on your calculation whether these options would speed it up.
Parallel Computing Toolbox release notes:

  1 件のコメント

David Vidal
David Vidal 2020 年 6 月 1 日
Thank you :)

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by