Parallel computing - hyperthreading

11 views (last 30 days)
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

Accepted Answer

Kojiro Saito
Kojiro Saito on 1 Jun 2020
Edited: Kojiro Saito on 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:

More Answers (0)

Categories

Find more on Cluster Configuration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!