On 5/22/2011 1:10 PM, Daniel Carrera wrote:
On 22 May 2011 17:11, chm<[email protected]>  wrote:
Check the indicated POD from the announcement or you
can follow the link from Recent News on our web site
to get the announcement to perldl by John.

Ok, I found the announcement. Synopsis:

----------------%<----------------
use PDL;

set_autopthread_targ(4);  # Make 4 threads.
set_autopthread_size(5); # Split elements above 5 Mb.

I think this is actually 5 MB (not Mb, bytes not bits).

$a = zeroes(5000,5000);  # Create 25Meg element array

$b = $a + 5; # Processing is split up into threads
  $c = maximum($a);
----------------%<----------------


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.

Daniel.


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

Reply via email to