Cellier <[email protected]> writes: > After searching for a while, I couldn't find some bignum implementation > for OpenCL in C. > But fortunately, I'm more experienced with python where the only limit > for the size of numbers is the whole RAM. > > How I may use PyOpenCL to get CPUs intensive computations done on the > GPU by OpenCL?
Arbitrary-size bignums are actually a difficult problem on massively parallel architectures, as they (by definition) require scalable (malloc-style) memory allocation. If all your numbers are bounded enough to only require a fixed size (say 128 or 256 bits), this is much more feasible, but again, there isn't a library available (to my knowledge) that does this. Andreas
pgpuGdXohGquK.pgp
Description: PGP signature
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
