Damian Conway wrote:
> You can't, in serial implementation. But on a parallel architecture
> or, better still, on a quantum device, you can run all the computations
> in parallel.
I see that. PDL has that as an experimental feature on any ufunc (in
fact on any function that has a signature). It is not yet happening
under the hood though. You need to explicitly ask PDL to do it by
specifying the number of threads:
$a->add_threading_magic(0,10);
$a++; # in ten (possibly concurrent) threads
Just a POP at this stage.
Christian