is there any cuda library for doing arbitrary-precision arithmetic?

Hi,
Is there any cuda library for doing arbitrary-precision arithmetic, like for example
multiplication of 2 million-digit numbers?

Thanks much,
mani

There is an old thread on StackOverflow that may come useful if you are trying to roll your own: https://stackoverflow.com/questions/6162140/128-bit-integer-on-cuda/6220499#6220499 .

This may be of interest:

https://github.com/NVlabs/xmp

I don’t happen to know if it handles million-digit numbers. There is a corresponding paper:

http://www.acsel-lab.com/arithmetic/arith23/data/1616a047.pdf

One of the areas of focus is on efficient use of the XMAD instruction (e.g. in Maxwell). Newer architectures (volta and beyond) may have more performant integer instruction paths (compared to XMAD) so the library may not be as well optimized for these newer architectures. But that is based on a casual review, not a careful analysis.