MATLAB DualCPU Hyper-Threading support
Ältere Kommentare anzeigen
Hello everyone.
I'm going to buy a dual CPU workstation and would like to know if a vectorized MATLAB code uses
all the cores of both CPUs without the need to
use the Parallel Computing Toolbox.
Thanks!
4 Kommentare
Guillaume
am 30 Jun. 2019
Some functions of matlab rely on libraries that are optimised to use parallelisation when it makes sense, even if you don't have the parallel toolbox.
It's not documented though and subject to change from version to version. Your m script/function itself will always use just one thread.
Emiliano Rosso
am 30 Jun. 2019
Bearbeitet: Emiliano Rosso
am 30 Jun. 2019
Jan
am 30 Jun. 2019
I do not understand what
use of " : " instead of " for " loop
means. Of course it depends on the specific code, how it is executed. Calling the colon operator "." a "vectorization function" is strange.
If your code exhausts 12 threads, you can expect that it let 8 threads work efficiently also. So what exactly is your question?
Emiliano Rosso
am 30 Jun. 2019
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Performance and Memory finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!