|
In article <g1hmt3$bvb$1@fred.mathworks.com>,
David Doria <daviddoria@gmail.com> wrote:
>Oh, I thought this would act like openMP does in c++, just
>starting threads to "parallelize" a simple loop. Is there
>no way to do this?
No, Matlab does not do that at present. It is my understanding,
reading between the lines, that Mathworks is working on improving
Matlab's ability to detect parallizable code.
One of the toolboxes supports a 'parfor' instruction which can
be used to specifically parallize sections.
Other than that -- only to the extent that Matlab manages to figure
out that your expression matches something in BLAS. I -have- seen
Matlab convert some expressions into BLAS calls (I could tell by
the timing)... I was a bit surprised at the sophistication that it
already has in doing that, as the code I had written was not obviously
BLAS-able.
--
"History is a pile of debris" -- Laurie Anderson
|