GMP and CUMP

Emmanuel Thomé emmanuel.thome at gmail.com
Mon Mar 11 22:07:41 CET 2013


Hi,

On Mon, Mar 11, 2013 at 9:53 PM, Torbjorn Granlund <tg at gmplib.org> wrote:
> I have 'mpz_vec_t', 'mpf_vec_t" in mind, which have some number of mpz_t
> elements, each probably (padded to) the same size counted in limbs.
> Then mpz_vec_add(a,b,c), etc would operate on such vectors a, b, c, each
> having the same number of elements...
>
> I don't think this will give good performance.  Only of one builds
> sequences of expressions trees, hangs vectors on the leaves, then
> executes these, one could expect to come close to the GPU's peak
> performance.

Then how do you arrive to the estimate that ``2x speedup is about the
limit'' ? It's highly application-dependent.

Best,
E.


More information about the gmp-devel mailing list