[Numpy-discussion] Sorting refactor

Daπid davidmenhur at gmail.com
Fri Jan 16 07:28:56 EST 2015


On 16 January 2015 at 13:15, Eelco Hoogendoorn
<hoogendoorn.eelco at gmail.com> wrote:
> Perhaps an algorithm can be made faster, but often these multicore
> algorithms are also less efficient, and a less data-dependent way of putting
> my cores to good use would have been preferable. Potentially, other code
> could slow down due to cache trashing if too many parallel tasks run in
> parallel. Id rather be in charge of such matters myself; but I imagine
> adding a keyword arg for these matters would not be much trouble?

As I understand it, that is where the strength of Cilk+ lies. It does
not force parallelisation, just suggests it. The decision to actually
spawn parallel is decided at runtime depending on the load of the
other cores.


/David.



More information about the NumPy-Discussion mailing list