Thread Subject: Matlab 2008b supports multithreading?

Subject: Matlab 2008b supports multithreading?

From: Luna Moon

Date: 28 Feb, 2009 15:20:27

Message: 1 of 2

If I have Quad Core, with 4 cores,

how much portion of Matlab 2008b now supports multi-threading?

Without changing my previously coded Matlab programs, will I see a
significant improvement?

Subject: Matlab 2008b supports multithreading?

From: Steven Lord

Date: 1 Mar, 2009 17:53:08

Message: 2 of 2


"Luna Moon" <lunamoonmoon@gmail.com> wrote in message
news:dd951397-0927-4532-ae53-076291dfa083@40g2000prx.googlegroups.com...
> If I have Quad Core, with 4 cores,
>
> how much portion of Matlab 2008b now supports multi-threading?

Most of the functions that invoke LAPACK or BLAS, assuming the problem is
large enough, and some of the elementwise functions. [We don't offer a list
of the functions. We don't want users to avoid certain functions because
they're not on the list -- they may support multithreading in a future
release.]

This assumes you mean implicitly multithreaded, where you the user don't
need to do anything special to enable the multithreading. If you want to
explicitly multithread your function, look at Parallel Computing Toolbox and
MATLAB Distributed Computing Server.

> Without changing my previously coded Matlab programs, will I see a
> significant improvement?

This question is impossible to answer as stated.

If your previously coded MATLAB program is the following, it will not see
ANY improvement.

function z = addup(x, y)
z = x+y;

If it tries to compute and work with the LU or QR factorization of large
matrices, then you may see some improvement.

--
Steve Lord
slord@mathworks.com

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com