GMP-Chudnovsky, multipthread version

Pavel Boldin boldin.pavel at gmail.com
Sun Aug 8 18:11:27 CEST 2010


2010/8/8 Torbjorn Granlund <tg at gmplib.org>:
> Pavel Boldin <boldin.pavel at gmail.com> writes:
>
>  Attached you will find patched (old) version of gmp-chudnovsky, which
>  allows you to use any number of threads. Basic idea is to interfere in
>  stack of calls and put here parallization.
>
> Nice!  What sort of speedups do you get?
If I understand question correctly: speedups up to <cpu count> times.

I just broke recursive calling of bs into parts and run them in
separated threads.

>
> --
> Torbjörn
>


More information about the gmp-discuss mailing list