MATLAB DualCPU Hyper-Threading support
Show older comments
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 Comments
Guillaume
on 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
on 30 Jun 2019
Edited: Emiliano Rosso
on 30 Jun 2019
Jan
on 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
on 30 Jun 2019
Accepted Answer
More Answers (0)
Categories
Find more on Performance and Memory in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!