title: Bigint in OpenCL and Python
body: <p>I am trying to implement RSA in Python but I want to run the intensive calculations on the GPU. I have successfully implemented my own modulo expoentiation running in PyOpenCL, but I max out on six digit integers for both the base and exponent. Larger numbers than that and the GPU crashes.</p>
  
  <p>I need to create an array of very large integer values in numpy and send them along to the PyOpenCL code, and do both multiplication and modulo operations with the large integers on the GPU.</p>
  
  <p>Has anyone done anything similar before? Googling cuda and bigint doesn't give any good results. :(</p>