> >> Interesting. __Does this work for all operations like matrix
> >> multiplication? I wonder if John had to change the implementation
> >> of each individual function to make this work.

The new functionality in PDL is able to distribute operations created
by PDL threading into separate processor threads. This takes effect
if, for example, you use PDL to multiply a 5000x5000x5 piddle by a
5000x5000 piddle. PDL threading treats this as 5 separate
multiplications of 5000x5000 matrices, and the new code will
parallelize this. However, if you're simply multiplying two 5000x5000
matrices together, there is no PDL threading involved, so the new patch
will do nothing.

It COULD do something if we define matrix multiplication as a bunch of
matrix-vector multiplications threaded together. Then the
parallelization will 'just work', but we don't define matrix
multiplication this way. (Sorta off-topic: should we change the
multiplication definition to this?)

So to answer your original question, no, the new code will not do
anything for you in the single matrix-matrix multiplication case

dima

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to