Parallel computing - hyperthreading

12 visualizzazioni (ultimi 30 giorni)
David Vidal
David Vidal il 31 Mag 2020
Commentato: David Vidal il 1 Giu 2020
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

Risposta accettata

Kojiro Saito
Kojiro Saito il 1 Giu 2020
Modificato: Kojiro Saito il 1 Giu 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:

Più risposte (0)

Categorie

Scopri di più su Cluster Configuration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by