Parallel computing - hyperthreading

13 次查看(过去 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

采纳的回答

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:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Cluster Configuration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by