MATLAB Answers

Parallel computing - hyperthreading

조회 수: 23(최근 30일)
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 1 Jun 2020
편집: Kojiro Saito 1 Jun 2020
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 1 Jun 2020
Thank you :)

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by