I'd like ask about the status of Cuda/OpenCL and MPIR. Googling a bit it seems the last discussion was some time ago. I am trying to improve the speed of some code by moving it to the GPU but the problem is that it currently uses the mpz functions in GMP which are compiled for standard processors. I am trying to figure out the easiest way to get large-integer support for some simple computations I need to do on a GPU. I guess this is not yet supported by MPIR but I was wondering how difficult it would be to just extract the relevant functions (mpz_*) and compile them using the GPU compiler (i.e. just include them in my code by hand with some modifications so that e.g. nvcc picks them up). Or is there a more clever way to do this?
To be clear I don't really need the mpz functions themselves to be parallelized on multiple GPU threads...I just want the existing functions to be compiled by the GPU compiler. This would seem like a much more constrained task so I'm wondering if anyone has already done this. I might try it for the functions I want but I'm worried that extracting all the dependencies will be a fair amount of work. thanks! btw I tried posting a similar question on the GMP list but it awaits moderation. -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.
